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 deprecation warning in plot() #562

Open
bfirsh opened this issue Mar 10, 2021 · 3 comments
Open

matplotlib deprecation warning in plot() #562

bfirsh opened this issue Mar 10, 2021 · 3 comments
Labels
help wanted Extra attention is needed type/bug Something isn't working

Comments

@bfirsh
Copy link
Member

bfirsh commented Mar 10, 2021

Getting this warning in tests:

tests/test_plot.py::test_num_plots
  /Users/ben/p/keepsake/python/keepsake/experiment.py:446: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance.  In a future version, a new instance will always be created and returned.  Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance.
    plotted_label = plt.axes().yaxis.get_label().get_text() or metric

cc @enochkan :)

@bfirsh bfirsh added type/bug Something isn't working help wanted Extra attention is needed labels Mar 10, 2021
@enochkan
Copy link
Contributor

@bfirsh i'll investigate :)

@enochkan
Copy link
Contributor

Sorry busy week at work. Will work on this over the weekend 👍

enochkan added a commit to enochkan/keepsake that referenced this issue Mar 15, 2021
@enochkan
Copy link
Contributor

@bfirsh sorry for the delay. Issue is fixed in PR #570

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants