diff --git a/doc/changelog.d/1063.miscellaneous.md b/doc/changelog.d/1063.miscellaneous.md new file mode 100644 index 0000000000..cc9bb074c5 --- /dev/null +++ b/doc/changelog.d/1063.miscellaneous.md @@ -0,0 +1 @@ +Maint: bump visualization tool version \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 02b9dc5c62..17bd2e9af9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ graphics = [ "ansys-tools-visualization-interface>=0.4.7,<1", ] tests = [ - "ansys-tools-visualization-interface==0.9.2", + "ansys-tools-visualization-interface==0.10.0", "pytest==8.4.1", "pytest-cov==6.2.1", "pytest-pyvista==0.1.9", @@ -43,7 +43,7 @@ tests = [ ] doc = [ "ansys-sphinx-theme[autoapi]==1.5.2", - "ansys-tools-visualization-interface==0.9.2", + "ansys-tools-visualization-interface==0.10.0", "jupyter-sphinx==0.5.3", "numpydoc==1.8.0", "sphinx==8.2.3", diff --git a/src/ansys/meshing/prime/graphics/plotter.py b/src/ansys/meshing/prime/graphics/plotter.py index f30cfd53f9..cb2f6fb171 100644 --- a/src/ansys/meshing/prime/graphics/plotter.py +++ b/src/ansys/meshing/prime/graphics/plotter.py @@ -314,7 +314,8 @@ def show( screenshot: str = None, name_filter: str = None, scope: prime.ScopeDefinition = None, - **plotting_options, + plotting_options: dict = {}, + **show_options: Dict[str, Any], ) -> None: """Show the plotted objects. @@ -334,10 +335,10 @@ def show( if plottable_object is not None: self.plot(plottable_object, name_filter=name_filter, scope=scope, **plotting_options) self._backend.show( - object=plottable_object, + plottable_object=plottable_object, screenshot=screenshot, name_filter=name_filter, - **plotting_options, + **show_options, )