Skip to content

Commit

Permalink
Change default colormap to emulate previous colormap.
Browse files Browse the repository at this point in the history
In an attempt to preserve previous behavior as much as possible,
use matplotlib's Spectral_r colormap, which resembles the Color
Brewer diverging spectral map we were previously using from
palettable.
  • Loading branch information
JS3xton committed May 6, 2020
1 parent 00f0a2a commit e44e9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FlowCal/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
from matplotlib.font_manager import FontProperties
import warnings

cmap_default = plt.get_cmap(matplotlib.rcParams['image.cmap'])
cmap_default = plt.get_cmap('Spectral_r')

savefig_dpi = 250

Expand Down

0 comments on commit e44e9c8

Please sign in to comment.