File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed
Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 33import appdirs
44
55# Per contract with Sphinx-Gallery, this method must be available at top level
6- from pyvista .utilities .sphinx_gallery import _get_sg_image_scraper
6+ try :
7+ # for pyvista >= 0.40
8+ from pyvista .plotting .utilities import _get_sg_image_scraper
9+ except ImportError :
10+ from pyvista .utilities .sphinx_gallery import _get_sg_image_scraper
11+
712
813from ansys .mapdl .reader import examples
914from ansys .mapdl .reader ._version import __version__
Original file line number Diff line number Diff line change 66
77import numpy as np
88import pyvista
9- from pyvista .utilities .errors import GPUInfo
9+
10+ try :
11+ # for pyvista >= 0.40
12+ from pyvista .report import GPUInfo
13+ except ImportError :
14+ from pyvista .utilities .errors import GPUInfo
15+
1016import scooby
1117
1218
Original file line number Diff line number Diff line change 11Sphinx<8
22ansys-sphinx-theme==0.9.9
33imageio==2.31.1
4+ nest-asyncio==1.5.6
45notfound==1.0.2
56pypandoc==1.11
6- pyvista==0.39.1
7+ pyvista==0.40.0
78sphinx-copybutton==0.5.2
89sphinx-gallery==0.13.0
910sphinx-notfound-page==0.8.3
11+ trame==2.5.0
1012vtk==9.2.6
Original file line number Diff line number Diff line change 11ansys-mapdl-core>=0.60.4
22matplotlib>=3.5.3
3- pytest==7.3.2
3+ pytest==7.4.0
44pytest-cov==4.1.0
55scipy>=1.7.3
You can’t perform that action at this time.
0 commit comments