Skip to content
Branch: master
Find file History
Latest commit fd2f909 Aug 9, 2016
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
LICENSE.md
README.md
demo2.gif
go.bat
go.py added a demo for pyqtgraph PlotWidget Jul 31, 2016
ui_convert.py
ui_main.py
ui_main.ui

README.md

PyQtGraph GraphWidget demo

This was tested to be ~40x faster than a similar matplotlib graph

PROJECT PAGE: http://www.swharden.com/wp/2016-07-31-live-data-in-pyqt4-with-plotwidget/

This is a minimal-case example how to get a PyQt4 GUI (designed with QT Designer) to display a pyqtgraph PlotWidget and update it automatically. This was tested with the WinPython 3.x distribution, but should be cross platform. Read the parent readme for full project details.

  • edit the ui_main.ui with "Qt Designer"
  • run ui_convert.py to turn ui_main.ui into ui_main.py
  • run go.py to launch the program (pulling UI from ui_main.py)
  • if the "keep updating" box is checked and the add buttin is hit, it does more and more!

demo

You can’t perform that action at this time.