Skip to content

Change all matplotlib generators to updating #11

Description

@faymanns

Generating a new figure for every frame is slow and seems to lead to non deterministic deadlocks.
Updating the data in a single figure and then plotting it with plt.draw() is much faster.
Some generators already use this approach. A good way to implement this might via 'Plotter' classes in utils.py that have a plot method that can be called to generate a frame.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions