Make interactive matplotlib window not pop to front on each update (Windows 7)

前端 未结 4 1290
北恋
北恋 2020-12-11 01:28

Today I upgraded matplotlib to version 2.0.2, after not upgrading for possibly 3 years.

Now I have the problem that in interactive plots the window always comes to t

4条回答
  •  借酒劲吻你
    2020-12-11 02:01

    I rewrote the code to use matplotlib.animation with the help from this documentation page https://matplotlib.org/devdocs/api/animation_api.html#module-matplotlib.animation

    I got to that page through this one https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.pause.html

    which states the following about matplotlib.pyplot.pause

    This can be used for crude animation. For more complex animation, see matplotlib.animation.

    This function is experimental; its behavior may be changed or extended in a future release.

提交回复
热议问题