Skip to content

Commit 11b4ea6

Browse files
committed
Remove unused fiddling of colormap
The modified colormap isn't used, and directly modifying a colormap provided by matplotlib is deprecated.
1 parent 40389e4 commit 11b4ea6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stagpy/plates.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ def plot_scalar_field(step, fieldname, ridges, trenches):
303303
conf.field.colorbar = False
304304
field.plot_scalar(step, 'c', continentsfld, axis,
305305
cmap='cool_r', vmin=0, vmax=0)
306-
cmap2 = plt.cm.ocean
307-
cmap2.set_over('m')
308306
conf.field.colorbar = cbar
309307

310308
# plotting velocity vectors

0 commit comments

Comments
 (0)