Skip to content

Commit

Permalink
Import get_cmap from pyplot
Browse files Browse the repository at this point in the history
Fixes compatibility with matplotlib 3.9.
  • Loading branch information
olemke committed Jun 3, 2024
1 parent 3bf5bcf commit 1ea21ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typhon/plots/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
from matplotlib.ticker import FuncFormatter
from matplotlib.cm import get_cmap
from matplotlib.pyplot import get_cmap
import scipy.stats as stats

from typhon.plots import formatter
Expand Down

0 comments on commit 1ea21ef

Please sign in to comment.