Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Doc]: Blitting minimal example missing draw_event callback #29928

Open
@the-yrr

Description

@the-yrr

Documentation Link

https://matplotlib.org/stable/users/explain/animations/blitting.html

Problem

the blitting minimal example with pause does not work (tested on Windows and Linux), the line (ln)/ ax.plot is shown for only one frame each animation step. calss based example or minimal without pasue works fine

Suggested improvement

Add the draw_event callback from the extended example, like this:

def on_draw(event):        """Callback to register with 'draw_event'."""        fig.canvas.figure.draw_artist(ln)fig.canvas.mpl_connect("draw_event", on_draw)

also add the necessity of this callback to the strategy part of the documentation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp