Skip to content

Commit d8700f6

Browse files
committed
Fix adding subplot
1 parent 272ae95 commit d8700f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/napari_matplotlib/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def add_single_axes(self) -> None:
9797
# Sets axes.* style.
9898
# Does not set any text styling set by axes.* keys
9999
with mplstyle.context(self.mpl_style_sheet_path):
100-
self.axes = self.figure.subplots()
100+
self.axes = self.figure.add_subplot()
101101

102102
def _on_napari_theme_changed(self) -> None:
103103
"""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy