Embed matplotlib in qml application
-
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.
-
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!
-
Hey everybody!
so I made a qml application and want to show matplotlib output "in" the app; not in a new window. How can I achieve this?
I'll be thankful.