Skip to content

Commit 3dd757e

Browse files
committed
Fixed use of deprecated Matplotlib option.
1 parent e8234de commit 3dd757e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bbp/comps/plot_srf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def plot_multi_srf_files(plottitle, srffiles, outdir):
244244
extents) in zip(subfigs, srf_params, srf_dims,
245245
srf_slips, srf_tinits, srf_extents):
246246

247-
subfig.set_adjustable('box-forced')
247+
subfig.set_adjustable('box')
248248

249249
# Plot slips
250250
im = subfig.imshow(slips, cmap=cmap, norm=norm, extent=extents,
@@ -365,7 +365,7 @@ def plot_multi_plot(num_segments, srf_params, srf_dims,
365365
extents) in zip(subfigs, srf_params, srf_dims,
366366
srf_slips, srf_tinits, srf_extents):
367367

368-
subfig.set_adjustable('box-forced')
368+
subfig.set_adjustable('box')
369369

370370
# Plot slips
371371
im = subfig.imshow(slips, cmap=cmap, norm=norm, extent=extents,

0 commit comments

Comments
 (0)