LinkedEarth / Pyleoclim_util

Python Package for the Analysis of Paleoclimate Data. Documentation at
https://pyleoclim-util.readthedocs.io
GNU General Public License v3.0
87 stars 33 forks source link

Invisible legend in `Series.plot()` with Matplotlib > 3.8.0 #577

Closed CommonClimate closed 2 months ago

CommonClimate commented 3 months ago

I'm not sure exactly with what MPL update this started, but Series.plot() no longer shows a legend like it used to. To reproduce:

ts = pyleo.utils.load_dataset('cenogrid_d18O')
ts.plot(invert_yaxis=True,linewidth=0.5)

Should yield but instead yields this on my machine (conda envt created from the current version of environment.yml: cenogrid_nolegend

CommonClimate commented 2 months ago

fixed by @jordanplanders in #588