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.

Plotly is a web based plotting library. So using web views immediately springs to mind, which would create a convoluted architecture of code.

I would suggest considering Dash further for your whole application, which can run locally.

Or you could use matplotlib with some drop down widgets to drive the visuals.

1 Like

hey @nasirfardoush ,
have you found a way? I want to implement a gauge in my pyqt application.
any help is appreciated.

Sorry, no way found with Plotly.
I have done my work using matplotlib instead of Plotly.js

1 Like