The goal of this guide is to show you how to update a graph in real-time. This can be used for a variety of applications like visualizing live data from sensors or tracking stock prices.
本指南的目的是向您展示如何实时更新图形 。 这可用于多种应用程序,例如可视化传感器的实时数据或跟踪股票价格。
In this tutorial, the data will be static but can easily be used on live data. You’ll, of course, need to have MatPlotlib and Pandas installed on your local machine or virtual environment.
在本教程中,数据将是静态的,但可以轻松地用于实时数据。 当然,您需要在本地计算机或虚拟环境上安装MatPlotlib和Pandas 。