bqplot / bqplot

Plotting library for IPython/Jupyter notebooks
https://bqplot.github.io/bqplot
Apache License 2.0
3.61k stars 463 forks source link

Embed plot into PyQt gui #894

Open LucaMarconato opened 5 years ago

LucaMarconato commented 5 years ago

I have not been able to find any reference in the documentation for embedding bqplot into PyQt gui. Being able to exploit both the power of bqplot and PyQt would be amazing.

Does the current release of bqplot allow for that? In the case of matplotlib this is easy done and in the official website one can even find example code for that.

martinRenou commented 5 years ago

I only know @astrofrog has done it in combination with Voila and the Qt WebEngine, see this example: https://github.com/astrofrog/voila-qt-app. I don't know if this fits in your use case though.

LucaMarconato commented 5 years ago

Thank you. Unfortunately this does not apply to my case since a different python subprocess is created. I would like that the Python process which I use to create the PyQt window would also be used to render the plot. That is, basically I would like that the library could use PyQt5 as a plotting backend (as matplotlib does), and not being limited to use a Jupyter Notebook.