diff --git a/doc/source/conf.py b/doc/source/conf.py index 6059b1e9..f31a3515 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -20,7 +20,7 @@ pyvista.OFF_SCREEN = True # must be less than or equal to the XVFB window size -pyvista.rcParams["window_size"] = np.array([1024, 768]) +pyvista.global_theme.window_size = np.array([1024, 768]) # Save figures in specified directory pyvista.FIGURE_PATH = os.path.join(os.path.abspath("./images/"), "auto-generated/")