Skip to content

Commit 62fe885

Browse files
authored
Fix incompatibility with PyVista>=0.40.0 (#454)
1 parent 60da6a2 commit 62fe885

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
pyvista.OFF_SCREEN = True
1818
# Preferred plotting style for documentation
1919
# pyvista.set_plot_theme('document')
20-
pyvista.rcParams["window_size"] = np.array([1024, 768]) * 2
20+
pyvista.global_theme.window_size = np.array([1024, 768]) * 2
2121
# Save figures in specified directory
2222
pyvista.FIGURE_PATH = os.path.join(os.path.abspath("./images/"), "auto-generated/")
2323
if not os.path.exists(pyvista.FIGURE_PATH):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Source = "https://github.com/ansys/pydpf-post"
4242

4343
[project.optional-dependencies]
4444
plotting = [
45-
"pyvista>=0.24.0, <0.40.0",
45+
"pyvista>=0.24.0",
4646
]
4747

4848
[tool.pytest.ini_options]

requirements/requirements_docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ sphinx-copybutton==0.5.0
1212
sphinx-gallery==0.13.0
1313
ansys_sphinx_theme==0.10.0
1414
sphinx-autodoc-typehints==1.24.0
15-
pyvista==0.39.1
15+
pyvista==0.41.1

requirements/requirements_test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ coverage==7.2.7
22
pytest-cov==4.0.0
33
pytest-rerunfailures==12.0
44
pytest==7.4.0
5-
pyvista==0.38.5
5+
pyvista==0.41.1

0 commit comments

Comments
 (0)