diff --git a/docs/source/conf.py b/docs/source/conf.py index ef32e440b..162a4637e 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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): diff --git a/pyproject.toml b/pyproject.toml index a406a6a23..9403484fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] diff --git a/requirements/requirements_docs.txt b/requirements/requirements_docs.txt index 7ec838181..2a8f35f23 100644 --- a/requirements/requirements_docs.txt +++ b/requirements/requirements_docs.txt @@ -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 diff --git a/requirements/requirements_test.txt b/requirements/requirements_test.txt index ce24b1bc7..8cd721a1f 100644 --- a/requirements/requirements_test.txt +++ b/requirements/requirements_test.txt @@ -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