Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ or clone the repository and run ``pip install -e .`` inside
the ``ultraplot`` folder.

ultraplot's only hard dependency is `matplotlib <https://matplotlib.org/>`__.
The *soft* dependencies are `cartopy <https://scitools.org.uk/cartopy/docs/latest/>`__,
The *soft* dependencies are `cartopy <https://cartopy.readthedocs.io/stable/>`__,
`basemap <https://matplotlib.org/basemap/index.html>`__,
`xarray <http://xarray.pydata.org>`__, and `pandas <https://pandas.pydata.org>`__.
See the documentation for details.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def __getattr__(self, name):
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
"xarray": ("https://docs.xarray.dev/en/stable/", None),
"cartopy": ("https://scitools.org.uk/cartopy/docs/latest/", None),
"cartopy": ("https://cartopy.readthedocs.io/stable/", None),
"basemap": ("https://matplotlib.org/basemap/stable/", None),
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
"pint": ("https://pint.readthedocs.io/en/stable/", None),
Expand Down
2 changes: 1 addition & 1 deletion docs/external-links.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies of UltraPlot, or are distributed with UltraPlot:
* `pint <https://github.com/hgrecco/pint>`__ - A package for tracking and
converting between physical units during mathematical operations and when
plotting in matplotlib axes.
* `cartopy <https://scitools.org.uk/cartopy/docs/latest/>`__ - A package for
* `cartopy <https://cartopy.readthedocs.io/stable/>`__ - A package for
plotting geographic and geophysical data in matplotlib. Includes a suite of
different map projections.
* `basemap <https://github.com/matplotlib/basemap>`__ - The original cartographic
Expand Down
6 changes: 3 additions & 3 deletions docs/projections.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#
# .. _polar: https://matplotlib.org/3.1.0/gallery/pie_and_polar_charts/polar_demo.html
#
# .. _cartopy: https://scitools.org.uk/cartopy/docs/latest/
# .. _cartopy: https://cartopy.readthedocs.io/stable/
#
# .. _basemap: https://matplotlib.org/basemap/index.html
#
Expand Down Expand Up @@ -205,7 +205,7 @@
# to :func:`~ultraplot.axes.GeoAxes.format`.
# * By default, UltraPlot gives circular boundaries to polar cartopy and basemap
# projections like :class:`~cartopy.crs.NorthPolarStereo` (see `this example
# <https://scitools.org.uk/cartopy/docs/latest/gallery/lines_and_polygons/always_circular_stereo.html>`__
# <https://cartopy.readthedocs.io/stable/gallery/lines_and_polygons/always_circular_stereo.html>`__
# from the cartopy website). To disable this feature, set :rcraw:`geo.round` to
# ``False`` or pass ``round=False` to :func:`~ultraplot.axes.GeoAxes.format`. Please note
# that older versions of cartopy cannot add gridlines to maps bounded by circles.
Expand Down Expand Up @@ -510,7 +510,7 @@
# Included projections
# --------------------
#
# The available `cartopy <https://scitools.org.uk/cartopy/docs/latest/>`__
# The available `cartopy <https://cartopy.readthedocs.io/stable/>`__
# and `basemap <https://matplotlib.org/basemap/index.html>`__ projections are
# plotted below. The full table of projection names with links to the relevant
# `PROJ <https://proj.org>`__ documentation is found :ref:`here <proj_table>`.
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _cartopy: https://scitools.org.uk/cartopy/docs/latest/
.. _cartopy: https://cartopy.readthedocs.io/stable/

.. _basemap: https://matplotlib.org/basemap/index.html

Expand Down
2 changes: 1 addition & 1 deletion docs/why.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _cartopy: https://scitools.org.uk/cartopy/docs/latest/
.. _cartopy: https://cartopy.readthedocs.io/stable/

.. _basemap: https://matplotlib.org/basemap/index.html

Expand Down
4 changes: 2 additions & 2 deletions ultraplot/axes/geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ def _add_gridline_labels(self, ax, gl, padding=8):
"""
This function is intended for the Basemap backend
and mirrors the label placement behavior of Cartopy.
See: https://scitools.org.uk/cartopy/docs/v0.16/_modules/cartopy/mpl/gridliner.html#Gridliner
See: https://cartopy.readthedocs.io/stable/reference/generated/cartopy.mpl.gridliner.Gridliner.html
"""
sides = dict()
for which, formatter in zip("xy", gl):
Expand Down Expand Up @@ -1341,7 +1341,7 @@ def _get_circle_path(N=100):
Return a circle `~matplotlib.path.Path` used as the outline for polar
stereographic, azimuthal equidistant, Lambert conformal, and gnomonic
projections. This was developed from `this cartopy example \
<https://scitools.org.uk/cartopy/docs/v0.15/examples/always_circular_stereo.html>`__.
<https://cartopy.readthedocs.io/v0.25.0.post2/gallery/lines_and_polygons/always_circular_stereo.html>`__.
"""
theta = np.linspace(0, 2 * np.pi, N)
center, radius = [0.5, 0.5], 0.5
Expand Down
Loading