Skip to content

Commit

Permalink
colormap typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 authored Oct 6, 2023
1 parent 530a039 commit b0ea3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeanalysis/spike_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit b0ea3c3

Please sign in to comment.