Skip to content

Commit f84faee

Browse files
committed
bugfix
1 parent 90f96ff commit f84faee

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
@@ -349,7 +349,7 @@ def plot_tikzpics(
349349
savefig=None,
350350
verbose=False,
351351
) -> TikzFigure:
352-
if len(self.subplots) > 0:
352+
if len(self.subplots) > 1:
353353
raise NotImplementedError(
354354
"Only one subplot is supported for tikzpics backend."
355355
)

0 commit comments

Comments
 (0)