Kitware / trame-jupyter-extension

Jupyter extension for trame client/server communication
BSD 3-Clause "New" or "Revised" License
10 stars 0 forks source link

Question : MystJS Markdown - Can pyvista works in HTML export ? #5

Open MordicusEtCubitus opened 1 year ago

MordicusEtCubitus commented 1 year ago

Hi,

It would be nice if PyVista could work in a MystMB HTML file like Bokeh or Altair do.

Do you thing it is possible to build such export ? If yes I would be glad to help working on it

With kind regards,

Gaël

jourdain commented 1 year ago

We support a "no-server" export, which is currently leveraged in the PyVista doc (nightly). You might be able to create something similar for MystMB.

@ChristosT might be able to provide some pointers

ChristosT commented 1 year ago

Yes it can work via a custom iframe.

There is an upcoming PR to produce this custom iframe in pyvista https://github.com/pyvista/pyvista/pull/5168

MordicusEtCubitus commented 1 year ago

Thanks for this, I'm going to have a look !