Animating a contour plot in matplotlib using FuncAnimation

后端 未结 1 718
我在风中等你
我在风中等你 2021-01-14 10:16

I am trying to create an animation in matplotlib that updates three artists, including imshow, contour and text. Using FuncAnimation I am able to update the text and the ima

1条回答
  •  -上瘾入骨i
    2021-01-14 11:11

    I didn´t full understand your code (also because it is not complete) and I would like rather to comment your question than answering it... (but I don't have enough reputation to be able to do it!)

    Anyway... I think the problem might be related with the contour itself, which returns not an Artist, but a QuadContourSet instance! Do you think this might be the problem? I had something similar with the ArtistAnimation...

    If this is the point, you have to "punch the QuadContourSet until it behaves like an Artist"... I could solve my problem with all the information in the link!

    Good luck!

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