Skip to content

Commit

Permalink
Delete pyvista
Browse files Browse the repository at this point in the history
  • Loading branch information
ansnfernand committed Jan 2, 2025
1 parent 8fa2acb commit fa05c77
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
watermark,
)
import numpy as np
import pyvista
from sphinx.builders.latex import LaTeXBuilder
from sphinx.util import logging
from sphinx_gallery.sorting import FileNameSortKey
Expand All @@ -41,28 +40,6 @@
# Convert notebooks into Python scripts and include them in the output files
logger = logging.getLogger(__name__)

pyvista.BUILDING_GALLERY = True
pyvista.OFF_SCREEN = True

# Manage errors
pyvista.set_error_output_file("errors.txt")

# Ensure that offscreen rendering is used for docs generation

# must be less than or equal to the XVFB window size
try:
pyvista.global_theme.window_size = np.array([1024, 768])
except AttributeError:
# for compatibility with pyvista < 0.40
pyvista.rcParams["window_size"] = np.array([1024, 768])

# 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):
os.makedirs(pyvista.FIGURE_PATH)

# necessary when building the sphinx gallery
pyvista.BUILDING_GALLERY = True
pysherlock.BUILDING_GALLERY = True

DEFAULT_EXAMPLE_EXTENSION = "py"
Expand Down Expand Up @@ -211,7 +188,6 @@
"backreferences_dir": None,
# Modules for which function level galleries are created. In
"doc_module": "ansys-sherlock-core",
"image_scrapers": ("pyvista"),
"ignore_pattern": "flycheck*",
"thumbnail_size": (350, 350),
"remove_config_comments": True,
Expand Down

0 comments on commit fa05c77

Please sign in to comment.