Skip to content

Commit

Permalink
DOC: avoid Matplotlib's font cache warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Oct 5, 2021
1 parent 1207f9d commit 708fec6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
'.md': ['jupytext.reads', {'fmt': 'Rmd'}],
}

# Import Matplotlib to avoid this message in notebooks:
# "Matplotlib is building the font cache; this may take a moment."
import matplotlib.pyplot

# -- The settings below this line are not specific to nbsphinx ------------

master_doc = 'index'
Expand Down

0 comments on commit 708fec6

Please sign in to comment.