Demonstration of embedding pyqtgraph plots in a pyqt ui using qt designer. The main benefit to this is that pyqtgraph is configured independently of your application and thus you or your users are free to install newer versions of pyqtgraph without changing anything in your application. A windows applicationspecific vpn and network monitoring tool. All current operating major operating systems windows, macos. Pyqt is a python binding of the crossplatform gui toolkit qt, implemented as a python plugin. Portable scientific python 23 3264bit distribution for windows. Create python gui application using pyqt5 designer with. Pyqtgraph does not need to be built or compiled in any way. Below is a table of the configurations we test and have confidence pyqtgraph will work with. The example above would open a window displaying a line plot of the data. The following table represents the python environments we test in our ci system. An example on how to use a timestampbased axis with. Embedding pyqtgraph as a subpackage of a larger project when writing applications or python packages that make use of pyqtgraph, it is most common to install pyqtgraph systemwide or within a virtualenv and simply call import pyqtgraph from within your application.
To use with a specific project, simply copy the pyqtgraph subdirectory anywhere that is importable from your project. Pyqtgraph is a purepython graphics and gui library built on pyqt4pyside and. The source code of the program running in the video is here. The kit 2408b is of obvious quality, easy to setup and calibrate and the free to download software has a reasonable learning curve. Github is home to over 40 million developers working together. I have tab widget with me and i want to add pyqtgraph into tab widget, so that this graph will be displayed inside tab1 widget. Applications written with pyqtgraph may be packaged as windows exe files using py2exe or osx dmg files using py2app. Packages for pyqtgraph are also available in a few other forms. It helps app developers to use python to design their own application gui.
291 948 1048 1049 1533 65 660 271 995 1328 958 1076 891 1017 411 792 958 1571 272 824 817 999 979 784 943 817 254 1382 243 890 123 593 6 622 511 862 1248 600 781 1406