File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/ansys/tools/visualization_interface/backends/pyvista Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ doc = [
4949 " jupytext==1.16.4" ,
5050 " nbsphinx==0.9.5" ,
5151 " numpydoc==1.8.0" ,
52- " pyside6==6.8.0 " ,
52+ " pyside6==6.7.3 " ,
5353 " pyvistaqt==0.11.1,<1" ,
5454 " sphinx==8.1.3" ,
5555 " sphinx-autoapi==3.3.3" ,
Original file line number Diff line number Diff line change 2929import pyvistaqt
3030
3131import ansys .tools .visualization_interface as viz_interface
32+ from ansys .tools .visualization_interface import DOCUMENTATION_BUILD
3233from ansys .tools .visualization_interface .types .edge_plot import EdgePlot
3334from ansys .tools .visualization_interface .types .mesh_object_plot import MeshObjectPlot
3435from ansys .tools .visualization_interface .utils .clip_plane import ClipPlane
@@ -109,8 +110,9 @@ def __init__(
109110
110111 # Show the XY plane
111112 self ._show_plane = show_plane
113+ if (not DOCUMENTATION_BUILD ) or (DOCUMENTATION_BUILD and not use_qt ):
114+ self .scene .add_axes (interactive = False )
112115
113- self .scene .add_axes (interactive = False )
114116 # objects to actors mapping
115117 self ._object_to_actors_map = {}
116118 self ._enable_widgets = enable_widgets
You can’t perform that action at this time.
0 commit comments