Skip to content

Commit 102dc4c

Browse files
committed
Improve widget names
1 parent 3894346 commit 102dc4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/napari_matplotlib/base.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
# Icons modified from
1818
# https://github.com/matplotlib/matplotlib/tree/main/lib/matplotlib/mpl-data/images
1919
ICON_ROOT = Path(__file__).parent / "icons"
20-
__all__ = ["BaseNapariMPLWidget", "NapariMPLWidget"]
20+
__all__ = ["MPLWidget", "NapariMPLWidget"]
2121

2222

23-
class BaseNapariMPLWidget(QWidget):
23+
class MPLWidget(QWidget):
2424
"""
2525
Widget containing a Matplotlib canvas and toolbar.
2626
@@ -99,7 +99,7 @@ def _replace_toolbar_icons(self) -> None:
9999
action.setIcon(QIcon(icon_path))
100100

101101

102-
class NapariMPLWidget(BaseNapariMPLWidget):
102+
class NapariMPLWidget(MPLWidget):
103103
"""
104104
Widget containing a Matplotlib canvas and toolbar.
105105

0 commit comments

Comments
 (0)