Skip to content

Commit 7edf420

Browse files
Update plot.py
Fix default behaviour of saving figs.
1 parent f14cef7 commit 7edf420

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

magritte/plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def image_mpl(
5959
x_unit = units.au,
6060
v_unit = units.km/units.s,
6161
method = 'nearest',
62-
save_fig = False
62+
save_fig = True
6363
):
6464
"""
6565
Create plots of the channel maps of a synthetic observation (image) with matplotlib.
@@ -247,7 +247,7 @@ def image_plotly(
247247
method = 'nearest',
248248
width = 620, # Yields approx square channel map
249249
height = 540, # Yields approx square channel map
250-
save_fig = False
250+
save_fig = True
251251
):
252252
"""
253253
Create plots of the channel maps of a synthetic observation (image) with plotly.

0 commit comments

Comments
 (0)