diff --git a/src/spikeanalysis/spike_plotter.py b/src/spikeanalysis/spike_plotter.py index dd8398d..7bee189 100644 --- a/src/spikeanalysis/spike_plotter.py +++ b/src/spikeanalysis/spike_plotter.py @@ -458,7 +458,7 @@ def plot_sm_fr( from .analysis_utils import histogram_functions as hf if self.cmap is not None: - cmap = mpl.colormap[self.cmap] + cmap = mpl.colormaps[self.cmap] else: cmap = mpl.colormaps["rainbow"]