Matplotlib widget in Qtdesigner

I use Qtdesigner3 to write a python gui that will read data files using some math, and then draw the results using matplotlib. I looked at matplotlib qt examples, but none of them use a constructor.

My question is: how to create a matplotlib widget in QTdesigner?

+2
source share
2 answers

It’s better to answer almost this exact question on the pythonxy mailling list

http://groups.google.com/group/pythonxy/browse_thread/thread/c52424bf11328181?pli=1

To quote the main point from the stream. This is from one of the leading developers of the project.

Matplotlib Qt Designer, Python (x, y). : "C:\Python26\Lib\site-packages\PyQt4\plugins \ \". linux , PYQTDESIGNERPATH, , 'Matplotlibplugin.py. !

+4

Python (x, y) matplotlib, Qt Designer. Python (x, y), , .

+2

Source: https://habr.com/ru/post/1677050/


All Articles