Closed xavArtley closed 4 years ago
Sorry to reopen but I don't think the issue is solved:
import panel as pn
pn.extension('vtk')
dragon = pn.pane.VTK('https://raw.githubusercontent.com/Kitware/vtk-js/master/Data/StanfordDragon.vtkjs',
sizing_mode='stretch_both', height=400, enable_keybindings=True, orientation_widget=True,
serialize_on_instantiation=True)
dragon
result:
Expected result: samed as panel 0.7.0:
I can't reproduce:
Hmm, I see, you're using 'stretch_both', missed that sorry.
As an example we can notice vtkvolume panels are not well displayed in the developer documentation https://pyviz-dev.github.io/panel/reference/panes/VTKVolume.html#panes-gallery-vtkvolume I suppose it is due to the way the PanelHTMLBoxView compute the size of the panel content. As the vtk panels are filled after the computation of the layout they do not behave like other panes.