Create dynamic updated graph with Python

前端 未结 5 1366
情歌与酒
情歌与酒 2021-02-04 19:25

I need your help to write a script in Python that will take dynamically changed data, the source of data is not matter here, and display graph on the screen.

I know how

5条回答
  •  生来不讨喜
    2021-02-04 19:44

    As an alternative to matplotlib, the Chaco library provides nice graphing capabilities and is in some ways better-suited for live plotting.

    See some screenshots here, and in particular, see these examples:

    • data_stream.py

    • spectrum.py

    Chaco has backends for qt and wx, so it handles the underlying details for you rather nicely most of the time.

提交回复
热议问题