Skip to content

Commit 6412dae

Browse files
authored
DOC: Fix broken MPL URL
1 parent f51bf64 commit 6412dae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/astro_image_display_api/interface_definition.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def set_colormap(self, map_name: str, image_label: str | None = None) -> None:
158158
----------
159159
map_name
160160
The name of the colormap to set. This should be a
161-
valid colormap name from `Matplotlib`_;
161+
valid colormap name from `Matplotlib <https://matplotlib.org/stable/gallery/color/colormap_reference.html>`_;
162162
not all backends will support
163163
all colormaps, so the viewer should handle errors gracefully.
164164
image_label : optional
@@ -171,8 +171,6 @@ def set_colormap(self, map_name: str, image_label: str | None = None) -> None:
171171
ValueError
172172
If the ``map_name`` is not a valid colormap name or if the ``image_label``
173173
is not provided when there are multiple images loaded.
174-
175-
.. _Matplotlib: https://matplotlib.org/stable/gallery/color/colormap_reference.html
176174
"""
177175
raise NotImplementedError
178176

0 commit comments

Comments
 (0)