Skip to content

Matplotlib figures are not automatically closed #283

@stes

Description

@stes

e.g. in the doctest:

docs/source/usage.rst::usage.rst
  /home/runner/work/CEBRA/CEBRA/cebra/integrations/matplotlib.py:69: RuntimeWarning:
  
  More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions