proplot-dev / proplot

🎨 A succinct matplotlib wrapper for making beautiful, publication-quality graphics
https://proplot.readthedocs.io
MIT License
1.07k stars 96 forks source link

Support matplotlib >= 3.6.0 #451

Open riley-brady opened 4 months ago

riley-brady commented 4 months ago

Currently the latest proplot version only supports matplotlib<=3.4.3. Given that matplotlib is up to 3.8.3 and the latest xarray versions require higher versions, we should push to support the latest matplotlib here.

It could be fruitful in the future to run a nightly test suite running the bleeding edge of this repo against the latest matplotlib version to detect this sooner.

The conda feedstock is also locked at matplotlib-base < 3.5.0 due to these issues. See PR here waiting for new proplot release: https://github.com/conda-forge/proplot-feedstock/pull/28.

riley-brady commented 4 months ago

FYI PR is here to fix these compatibility issues: https://github.com/proplot-dev/proplot/pull/450. Not sure if there are hidden breaks in the package since there isn't currently a test suite. But this currently doesn't break on import at least.

Yefee commented 3 months ago

Any progress or plans?

riley-brady commented 3 months ago

@Yefee , there's discussion on https://github.com/proplot-dev/proplot/pull/450 to hack it into working for now. You can pull the latest commit from there, but might also need to implement some other changes suggested in the thread.