Skip to content

Commit

Permalink
Fix incompatibility with PyVista>=0.40.0 (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi authored Aug 3, 2023
1 parent 60da6a2 commit 62fe885
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
pyvista.OFF_SCREEN = True
# Preferred plotting style for documentation
# pyvista.set_plot_theme('document')
pyvista.rcParams["window_size"] = np.array([1024, 768]) * 2
pyvista.global_theme.window_size = np.array([1024, 768]) * 2
# Save figures in specified directory
pyvista.FIGURE_PATH = os.path.join(os.path.abspath("./images/"), "auto-generated/")
if not os.path.exists(pyvista.FIGURE_PATH):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Source = "https://github.com/ansys/pydpf-post"

[project.optional-dependencies]
plotting = [
"pyvista>=0.24.0, <0.40.0",
"pyvista>=0.24.0",
]

[tool.pytest.ini_options]
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ sphinx-copybutton==0.5.0
sphinx-gallery==0.13.0
ansys_sphinx_theme==0.10.0
sphinx-autodoc-typehints==1.24.0
pyvista==0.39.1
pyvista==0.41.1
2 changes: 1 addition & 1 deletion requirements/requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ coverage==7.2.7
pytest-cov==4.0.0
pytest-rerunfailures==12.0
pytest==7.4.0
pyvista==0.38.5
pyvista==0.41.1

0 comments on commit 62fe885

Please sign in to comment.