Skip to content

Commit bd1cb87

Browse files
committed
Update
1 parent 23d7759 commit bd1cb87

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

conf.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,17 @@
4040
import re
4141
import shutil
4242
from pathlib import Path
43+
import plotly.io as pio
4344
pio.renderers.default = 'sphinx_gallery'
4445
from redirects import redirects
4546

4647
import pandocfilters
47-
import plotly.io as pio
4848
import pypandoc
4949
import torch
5050
from get_sphinx_filenames import SPHINX_SHOULD_RUN
5151

52-
pio.renderers.default = "sphinx_gallery"
53-
54-
import multiprocessing
55-
5652
import sphinx_gallery.gen_rst
57-
53+
import multiprocessing
5854

5955
# Monkey patch sphinx gallery to run each example in an isolated process so that
6056
# we don't need to worry about examples changing global state.

0 commit comments

Comments
 (0)