Search code examples
pythonlivecharts

Good framework for live charting in Python?


I am working on a Python application that involves running regression analysis on live data, and charting both. That is, the application gets fed with live data, and the regression models re-calculates as the data updates. Please note that I want to plot both the input (the data) and output (the regression analysis) in the same one chart.

I have previously done some work with Matplotlib. Is that the best framework for this? It seems to be fairly static, I can't find any good examples similar to mine above. It also seems pretty bloated to me. Performance is key, so if there is any fast python charting framework out there with a small footprint, I'm all ears...


Solution

  • I've done quite a bit of animated graphing with matplotlib - it always took me some wrangling to get it to work.

    Here's a nice example though:

    http://matplotlib.sourceforge.net/examples/animation/simple_anim_gtk.html