Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 768ad8d

Browse files
committedMay 30, 2023
Fix widget naming
1 parent 6dcb154 commit 768ad8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎docs/guide/third_party.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Here's a short example:
3030
3131
The following properties and methods are useful for working with the figure and any axes within the widget:
3232

33-
- `~.MPLWidget.figure` provides access to the figure
34-
- :meth:`~.MPLWidget.add_single_axes` adds a single axes to the figure, which can be accessed using the ``.axes`` attribute.
35-
- :meth:`~.MPLWidget.apply_napari_colorscheme` can be used to apply the napari colorscheme to any Axes you setup manually on the figure.
33+
- `~.BaseNapariMPLWidget.figure` provides access to the figure
34+
- :meth:`~.BaseNapariMPLWidget.add_single_axes` adds a single axes to the figure, which can be accessed using the ``.axes`` attribute.
35+
- :meth:`~.BaseNapariMPLWidget.apply_napari_colorscheme` can be used to apply the napari colorscheme to any Axes you setup manually on the figure.
3636

3737
Working with napari layers
3838
--------------------------

‎src/napari_matplotlib/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class NapariMPLWidget(BaseNapariMPLWidget):
129129
130130
See Also
131131
--------
132-
MPLWidget : The parent class of this widget. Contains helpful methods
132+
BaseNapariMPLWidget : The parent class of this widget. Contains helpful methods
133133
for creating and working with the Matplotlib figure and any axes.
134134
"""
135135

0 commit comments

Comments
 (0)
Please sign in to comment.