Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi authored Aug 1, 2023
1 parent 072fa07 commit 59b2b6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from ansys_sphinx_theme import ansys_favicon, get_version_match, pyansys_logo_black
import numpy as np
import pyvista
from pyvista.plotting.utilities.sphinx_gallery import DynamicScraper

from ansys.dpf.post import __version__
from ansys.dpf.post.examples import get_example_required_minimum_dpf_version
Expand Down Expand Up @@ -79,6 +80,7 @@
"sphinx.ext.todo",
"sphinx_copybutton",
"sphinx_gallery.gen_gallery",
"pyvista.ext.viewer_directive",
]

typehints_defaults = "comma"
Expand Down Expand Up @@ -194,7 +196,7 @@ def reset_servers(gallery_conf, fname, when):
"backreferences_dir": None,
# Modules for which function level galleries are created. In
"doc_module": "ansys-dpf-post",
"image_scrapers": ("pyvista", "matplotlib"),
"image_scrapers": (DynamicScraper(), "matplotlib"),
# 'first_notebook_cell': ("%matplotlib inline\n"
# "from pyvista import set_plot_theme\n"
# "set_plot_theme('document')"),
Expand Down

0 comments on commit 59b2b6c

Please sign in to comment.