Skip to content

Commit 3406673

Browse files
committed
Set _matplotlib_fig and _matplotlib_axes to None at initializatioN
1 parent ce0ec07 commit 3406673

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/maxplotlib/canvas/canvas.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ def __init__(
6262
self._ratio = ratio
6363
self._gridspec_kw = gridspec_kw
6464
self._plotted = False
65+
self._matplotlib_fig = None
66+
self._matplotlib_axes = None
6567

6668
# Dictionary to store lines for each subplot
6769
# Key: (row, col), Value: list of lines with their data and kwargs

0 commit comments

Comments
 (0)