Python Forum
Python3/PyQt5/gnuplot on linux - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Python3/PyQt5/gnuplot on linux (/thread-16904.html)



Python3/PyQt5/gnuplot on linux - erg - Mar-19-2019

Hi all. I'm writing, as a learning project, a program in python3 with GUI in Qt5. My main window is a tabWidget and I would like to display in one of the tabs window with (interactive) plot generated in gnuplot. Now, I see there is createWindowContainer method but I can't figure out how to use it. I also found out there is QtGnuplotWidget, but the only examples I found were in C. More so, I can't load it in python3 interpreter.
I can't figure out how to embed gnuplot window within Qt5 GUI. Any advice on how to procede, or pointing in the right direction would be greatly appreciated.


RE: Python3/PyQt5/gnuplot on linux - Axel_Erfurt - Mar-20-2019

Why gnuplot? If you use PyQt5 then you can use PyQtChart or PyQtCharts