proplot icon indicating copy to clipboard operation
proplot copied to clipboard

Support matplotlib >= 3.6.0

Open riley-brady opened this issue 1 year ago • 5 comments

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 avatar Mar 05 '24 20:03 riley-brady

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.

riley-brady avatar Mar 05 '24 21:03 riley-brady

Any progress or plans?

Yefee avatar Apr 01 '24 20:04 Yefee

@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.

riley-brady avatar Apr 01 '24 20:04 riley-brady

See https://github.com/proplot-dev/proplot/pull/459#issuecomment-2291293343

cvanelteren avatar Aug 16 '24 09:08 cvanelteren

Please see https://github.com/proplot-dev/proplot/pull/459! Until this gets merged in and released as an official version, you can install proplot via the following command to have compatibility with modern python versions and modern versions of matplotlib, cartopy, etc.

pip install git+https://github.com/proplot-dev/proplot.git@refs/pull/459/head

riley-brady avatar Aug 18 '24 22:08 riley-brady