Python Forum

Full Version: Python3/PyQt5/gnuplot on linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Why gnuplot? If you use PyQt5 then you can use PyQtChart or PyQtCharts