Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matplotlib future error #1958

Closed
nikohansen opened this issue Apr 30, 2020 · 2 comments
Closed

Matplotlib future error #1958

nikohansen opened this issue Apr 30, 2020 · 2 comments
Assignees

Comments

@nikohansen
Copy link
Contributor

nikohansen commented Apr 30, 2020

This will fail to work with future versions of matplotlib, hence should be fixed, also because it floods the screen with tons of annoying warnings.

/anaconda3/lib/python3.7/site-packages/cocopp-2.3.3.18.11-py3.7.egg/cocopp/ppfig.py:574: MatplotlibDeprecationWarning: Saw kwargs ['ls', 'linestyle'] which are all aliases for 'linestyle'.  Kept value from 'linestyle'.  Passing multiple aliases for the same property will raise a TypeError in 3.3.
  res2 = plt.plot(x2, y2, **marker_args)

It's kind-of tricky to understand where this comes from though.

@nikohansen nikohansen self-assigned this Apr 30, 2020
@nikohansen
Copy link
Contributor Author

Fixed in the development branch.

@georgedeath
Copy link

Here is the commit that fixes it, in case people were struggling to find the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants