Embed matplotlib in qml application
Solved
QML and Qt Quick
-
Hi,
You can actually use matplotlib in your qml application using this :
https://pypi.org/project/matplotlib-backend-qtquick/I 've had the same question some month ago and i 've successfully implemented this thanks to this library. All is well described in the documentation and on the first page.
-
@Attila91 I've found a work around which works for now. I used this python package: mpld3, which converts the matplotlib figure to HTML(D3 js library). Then I managed to show the result html file in the WebEngineView from QtWebEngine.
But your solution looks more elegant and promising. I'll test it today. Thank you very much, mate!