Skip to content

Commit

Permalink
Explicitly set inline backend when building docs from notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Dec 30, 2022
1 parent 5e565d2 commit bf9fcb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/_docstrings/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
rst_files := $(patsubst %.ipynb,../docstrings/%.rst,$(wildcard *.ipynb))
export MPLBACKEND := module://matplotlib_inline.backend_inline

docstrings: ${rst_files}

Expand Down
1 change: 1 addition & 0 deletions doc/_tutorial/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
rst_files := $(patsubst %.ipynb,../tutorial/%.rst,$(wildcard *.ipynb))
export MPLBACKEND := module://matplotlib_inline.backend_inline

tutorial: ${rst_files}

Expand Down

0 comments on commit bf9fcb3

Please sign in to comment.