File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
src/ansys/tools/visualization_interface/backends/pyvista Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ fix: Remove Jupyter warning
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
44
55[project ]
66name = " ansys-tools-visualization-interface"
7- version = " 0.4.0 "
7+ version = " 0.4.1 "
88description = " A Python visualization interface for PyAnsys libraries"
99readme = " README.rst"
1010requires-python = " >=3.9,<4"
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ def plot_iter(
289289 def show (
290290 self ,
291291 show_plane : bool = False ,
292- jupyter_backend : Optional [str ] = "trame" , # Use the PyVista default backend
292+ jupyter_backend : Optional [str ] = None , # Use the PyVista default backend
293293 ** kwargs : Optional [Dict ],
294294 ) -> None :
295295 """Show the rendered scene on the screen.
@@ -332,7 +332,10 @@ def show(
332332 # If screenshot is requested, set off_screen to True for the plotter
333333 if kwargs .get ("screenshot" ) is not None :
334334 self .scene .off_screen = True
335- self .scene .show (jupyter_backend = jupyter_backend , ** kwargs )
335+ if jupyter_backend :
336+ self .scene .show (jupyter_backend = jupyter_backend , ** kwargs )
337+ else :
338+ self .scene .show (** kwargs )
336339
337340 def set_add_mesh_defaults (self , plotting_options : Optional [Dict ]) -> None :
338341 """Set the default values for the plotting options.
You can’t perform that action at this time.
0 commit comments