Skip to content

Commit 0c10e96

Browse files
Bump pyvista from 0.43.10 to 0.44.1 in /requirements (#1659)
* Bump pyvista from 0.43.10 to 0.44.1 in /requirements Bumps [pyvista](https://github.com/pyvista/pyvista) from 0.43.10 to 0.44.1. - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.43.10...v0.44.1) --- updated-dependencies: - dependency-name: pyvista dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix Plotter._plot_contour_using_vtk_file due to deprecation of stitle argument by PyVista. Signed-off-by: paul.profizi <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: paul.profizi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: paul.profizi <[email protected]>
1 parent c3bcfca commit 0c10e96

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

requirements/requirements_docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ imageio-ffmpeg==0.4.7
66
nbsphinx==0.9.3
77
pypandoc==1.13
88
pytest-sphinx==0.6.3
9-
pyvista==0.43.10
9+
pyvista==0.44.1
1010
sphinx==7.1.0
1111
sphinx-autobuild==2024.2.4
1212
sphinx-copybutton==0.5.2

requirements/requirements_test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ pytest==7.4.2
66
pytest-cov==5.0.0
77
pytest-order==1.2.1
88
pytest-rerunfailures==14.0
9-
pyvista==0.43.10
9+
pyvista==0.44.1

src/ansys/dpf/core/plotter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,6 @@ def _plot_contour_using_vtk_file(self, fields_container, notebook=None):
10171017
if field_name in n:
10181018
field_name = n # default: will plot the last time_step
10191019
val = grid.get_array(field_name)
1020-
plotter.add_mesh(grid, scalars=val, stitle=field_name, show_edges=True)
1020+
plotter.add_mesh(grid, scalars=val, scalar_bar_args={"title": field_name}, show_edges=True)
10211021
plotter.add_axes()
10221022
plotter.show()

0 commit comments

Comments
 (0)