Skip to content

Commit e32e363

Browse files
committed
Try to fix rtfd
1 parent 7ca1bc9 commit e32e363

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
# project root
2727
sys.path.insert(0, os.path.abspath('..'))
2828

29+
os.environ['MPLBACKEND'] = 'Agg' # avoid tkinter import errors on rtfd.io
30+
2931
# -- General configuration ---------------------------------------------------
3032

3133
# If your documentation needs a minimal Sphinx version, state it here.

0 commit comments

Comments
 (0)