[Bug]: Animation was deleted without rendering anything #28258
Labels
Community support
Users in need of help.
status: needs clarification
Issues that need more information to resolve.
Bug summary
I dont know why I am getting this error. My objective is to do real time plotting in python from arduino. Please help :)
Code for reproduction
Actual outcome
runfile('C:/Users/user/Desktop/live_plot_arduino.py', wdir='C:/Users/user/Desktop')
C:\Users\user\anaconda3\lib\site-packages\matplotlib\animation.py:973: UserWarning: Animation was deleted without rendering anything. This is most likely unintended. To prevent deletion, assign the Animation to a variable that exists for as long as you need the Animation.
warnings.warn(
Expected outcome
I should be getting a live plotting of the data. I am just measuring distance with time and I want that to be plotted.
Additional information
No response
Operating system
windows
Matplotlib Version
3.4.3
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
None
The text was updated successfully, but these errors were encountered: