Skip to content

Commit

Permalink
Bump pyvista from 0.43.10 to 0.44.1 in /requirements (#1659)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
dependabot[bot] and PProfizi authored Jul 22, 2024
1 parent c3bcfca commit 0c10e96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements/requirements_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ imageio-ffmpeg==0.4.7
nbsphinx==0.9.3
pypandoc==1.13
pytest-sphinx==0.6.3
pyvista==0.43.10
pyvista==0.44.1
sphinx==7.1.0
sphinx-autobuild==2024.2.4
sphinx-copybutton==0.5.2
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pytest==7.4.2
pytest-cov==5.0.0
pytest-order==1.2.1
pytest-rerunfailures==14.0
pyvista==0.43.10
pyvista==0.44.1
2 changes: 1 addition & 1 deletion src/ansys/dpf/core/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,6 @@ def _plot_contour_using_vtk_file(self, fields_container, notebook=None):
if field_name in n:
field_name = n # default: will plot the last time_step
val = grid.get_array(field_name)
plotter.add_mesh(grid, scalars=val, stitle=field_name, show_edges=True)
plotter.add_mesh(grid, scalars=val, scalar_bar_args={"title": field_name}, show_edges=True)
plotter.add_axes()
plotter.show()

0 comments on commit 0c10e96

Please sign in to comment.