Skip to content

Commit a84454e

Browse files
committed
Formatting
1 parent 92302a8 commit a84454e

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/maxplotlib/canvas/canvas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ def plot(self, backend="matplotlib", savefig=False, layers=None):
243243
return self.plot_matplotlib(savefig=savefig, layers=layers)
244244
elif backend == "plotly":
245245
return self.plot_plotly(savefig=savefig)
246-
+ else:
247-
+ raise ValueError(f"Invalid backend: {backend}")
246+
else:
247+
raise ValueError(f"Invalid backend: {backend}")
248248

249249
def show(self, backend="matplotlib"):
250250
if backend == "matplotlib":

tutorials/tutorial_05.ipynb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@
5252
"\n",
5353
"c.show()"
5454
]
55-
},
56-
{
57-
"cell_type": "code",
58-
"execution_count": null,
59-
"id": "3",
60-
"metadata": {},
61-
"outputs": [],
62-
"source": []
6355
}
6456
],
6557
"metadata": {

0 commit comments

Comments
 (0)