New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plt.text object updating incorrectly with blit=False #6670
Comments
I think you need to treat the text element the same way that you treat the line: initialize and return it in your |
I agree with @efiring 's assessment--the blit is masking the fact that |
That was it! |
Hi snelltheta, I think that I have the same problem, but I can't to figure out the solution. Can you show me the final code? Thanks. |
Finally I made it work! :) I think that this example is perfect to understand this problem --> https://matplotlib.org/examples/animation/double_pendulum_animated.html |
I have a FuncAnimation that is using a plt.text object to display the i-th column of my time_data array.
It looks great when blit=true, but when I save the file as a movie or make blit=false, the text overwrites itself. Since my goal is making a movie, I wish there was a way to make blit=true for the save function.
blit=True
blit=False
Basically, the code is this
MPL version 1.5.2rc2
Installed from Debian apt repository
The text was updated successfully, but these errors were encountered: