Animation from matplotlib not working in spyder

后端 未结 1 582
甜味超标
甜味超标 2021-01-01 16:35

I\'m new to both python and stackoverflow, and I\'m going over examples at matplotlib. I\'ve searched for the solution to this problem with no luck, although I was able to l

相关标签:
1条回答
  • 2021-01-01 17:02

    You have to change the backend to run an animation in the IPython console. You can do that by running %matplotlib qt command before the animation.

    If You don't want to use this command every time, You can go to: Tools > Preferences > IPython Console > Graphics > Backend and change it from "Inline" to "Automatic".

    Update: Feb 2018, this is now in python>Preferences In the window select IPython console in the LH pane of the window. Select the Graphics tab and backend is in there.

    For more details please read this.

    0 讨论(0)
提交回复
热议问题