Embedd offline plots in PyQt WebView (python)
See original GitHub issueHi all,
It seems that there are some troubles when embedding an offline plot in a QWebView
.
Here the code http://pastebin.com/MSKnCExp
- if directly loading the plot in a
QWebView
then the plot is not visible at all:
- if the plot is opened in a default browser and then saved as
html
file from the browser, then the plot can be loaded and it is visible in theQWebView
but no interactions are possible:
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Can I embed plotly graphs (offline) in my PyQt4 application?
PyQtgraph or MatPlotLib may be an option for you if you really need to embedd graphs in PyQT. Here's sample code to export...
Read more >How can I embed plotly graphs (offline) in my PyQt application?
I want to embed plotly python graph in my PyQt application for working in desktop UI. Is there any way? Thanks in advance....
Read more >Open Plotly In Qwebview In Interactive Mode - ADocLib
I'm using plotly library in offline mode with python and what I'm trying to do is to create some plot save them as...
Read more >Matplotlib plots in PyQt5, embedding charts in ... - Python GUIs
In this tutorial we'll cover how to embed Matplotlib plots in your PyQt applications. Many other Python libraries — such as seaborn and ......
Read more >5 Python GUI Frameworks to Create Desktop, Web, and Even ...
With it, you can create Desktop applications for Windows, OS X, and Linux, build mobile apps for iOS and Android, and use it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case anyone here is still interested, here’s a quick proof-of-concept of how to display a plotly figure in a pyqt5 context. This uses
QWebEngineView
, which is a full chromium based browser and it seems to support everything plotly.js needs (including WebGL).Yeah, as I understand it
QWebEngineView
is a bear to package. I installedQt
/pyqt
using conda on OS X and it was included. I believe the same would be true when using conda on Linux. Not sure about windows though.