Skip to content

Commit 5632ffe

Browse files
committed
Fixed tutorial 1 and 2
1 parent 297a871 commit 5632ffe

File tree

5 files changed

+1996
-2234
lines changed

5 files changed

+1996
-2234
lines changed

src/maxplotlib/canvas/canvas.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def plot_matplotlib(self, show=True, savefig=False, layers=None, usetex=False):
205205

206206
for (row, col), subplot in self.subplots.items():
207207
ax = axes[row][col]
208+
print(f"{subplot = }")
208209
subplot.plot_matplotlib(ax, layers=layers)
209210
# ax.set_title(f"Subplot ({row}, {col})")
210211
ax.grid()

src/maxplotlib/subfigure/tikz_figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def compile_pdf(self, filename="output.pdf"):
359359
else:
360360
print("PDF compilation failed. Please check the LaTeX log for details.")
361361

362-
def plot_matplotlib(self, ax):
362+
def plot_matplotlib(self, ax, layers=None):
363363
"""
364364
Plot all nodes and paths on the provided axis using Matplotlib.
365365

tutorials/tutorial_01.ipynb

Lines changed: 1959 additions & 0 deletions
Large diffs are not rendered by default.

tutorials/tutorial_02.ipynb

Lines changed: 35 additions & 85 deletions
Large diffs are not rendered by default.

tutorials/tutorial_1.ipynb

Lines changed: 0 additions & 2148 deletions
This file was deleted.

0 commit comments

Comments
 (0)