Answer the question
In order to leave comments, you need to log in
How to output a plotted graph to a Django or Flask display?
There is a cycle, the values of the array change in the cycle. I want to display a chart on the web page after each iteration in the loop. With each iteration, the data will change, i.e. the result is a small animation of changing values in the array. After each step of the loop, there is a slight delay to make the animation smoother.
Can you please tell me how to display a graph built with matplotlib on a Django or Flask display?
How else can you implement the visualization of a graph with a high frequency of changes in the data on which this graph is built?
Answer the question
In order to leave comments, you need to log in
Do you want to open the page and see the changes or refresh the page to see the changes?
If the former, then ajax or websockets is needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question