ebranlard / pyDatView

A crossplatform GUI to plot tabulated data from files (e.g. CSV, Excel, OpenFAST, HAWC2, Flex...), or python pandas dataframes
MIT License
110 stars 43 forks source link

Support latest matplotlib data path API #88

Closed rafmudaf closed 3 years ago

rafmudaf commented 3 years ago

Or you could pin the Matplotlib version in requirements.txt.

The datapath key in rcParams is deprecated: https://matplotlib.org/3.3.0/api/prev_api_changes/api_changes_3.2.0/deprecations.html#the-datapath-rcparam

ebranlard commented 3 years ago

Thanks, I don't know how backward compatible it is, could you copy paste that into a try/catch?

try:
   latest_api
except:
   old_api
rafmudaf commented 3 years ago

I suggest to specify the dependency version rather than support something on multiple versions of a library.