Skip to content

Commit a4f3f96

Browse files
committed
bugfix
1 parent 62398a9 commit a4f3f96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxplotlib/canvas/canvas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def plot_tikzpics(
347347
savefig=None,
348348
verbose=False,
349349
) -> TikzFigure:
350-
if len(self.subplots) > 0:
350+
if len(self.subplots) > 1:
351351
raise NotImplementedError(
352352
"Only one subplot is supported for tikzpics backend."
353353
)

0 commit comments

Comments
 (0)