Closed rafmudaf closed 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
I suggest to specify the dependency version rather than support something on multiple versions of a library.
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