Skip to content

matplotlib deprecation warning in plot() #562

Description

@bfirsh

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions