T-TROUCHKINE / plotter

Matplotlib based plotting library with descriptive approach.
MIT License
3 stars 2 forks source link

Warning about Matplotlib API update #3

Open Stroumph opened 3 years ago

Stroumph commented 3 years ago

Hi,

with python 3.9.2, I've this warning when running plotter:

~/.local/lib/python3.9/site-packages/plotter/plotter.py:737: MatplotlibDeprecationWarning: Passing parameters norm and vmin/vmax simultaneously is deprecated since 3.3 and will become an error two minor releases later. Please pass vmin/vmax directly to the norm when creating it.
  scat = axe.scatter(x_data, y_data, c=c_array, vmax=maxi,

In few updates, the Matplotlib will change.

Stroumph commented 2 years ago

Since last Matplotlib version, an exception is thrown:

ValueError: Passing parameters norm and vmin/vmax simultaneously is not supported. Please pass vmin/vmax directly to the norm when creating it.
Stroumph commented 2 years ago

It seems the git version correct this issue. However, the version on pip is out to date. Can you push an update ?