Skip to content

Commit 5edb105

Browse files
committed
Use matplotlib.pyplot.show not Figure.show() in transect.plot()
1 parent 494fa5c commit 5edb105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emsarray/transect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def plot(
6262
figure = pyplot.figure(layout="constrained", figsize=figsize)
6363
transect = Transect(dataset, line)
6464
transect.plot_on_figure(figure, data_array, **kwargs)
65-
figure.show()
65+
pyplot.show()
6666
return figure
6767

6868

0 commit comments

Comments
 (0)