From 95c13443438842dc0fc1ac216fd1c6f4602b55ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Wiik=20=C3=85nes?= Date: Wed, 1 Nov 2023 19:58:35 +0100 Subject: [PATCH] Re-introduce virtual frame buffer for PyVista on RTD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Håkon Wiik Ånes --- doc/conf.py | 2 +- doc/environment.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index d1baa907..74af3b19 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -266,7 +266,7 @@ def linkcode_resolve(domain, info): # Use static display until trame works with nbsphinx: # https://github.com/pyvista/pyvista/discussions/4809 pv.set_jupyter_backend("static") -# pv.start_xvfb() +pv.start_xvfb() # -- Copy button customization (taken from PyVista) # Exclude traditional Python prompts from the copied code diff --git a/doc/environment.yml b/doc/environment.yml index 239ce05a..f72b6022 100644 --- a/doc/environment.yml +++ b/doc/environment.yml @@ -1,5 +1,6 @@ channels: - conda-forge dependencies: + - pip - python=3.11 - pandoc>=2.14.2, <4.0.0 \ No newline at end of file