seismo-learn / seismology101

Tutorials for absolute beginners in Seismology
https://seismo-learn.org/seismology101/
69 stars 18 forks source link

Cache cartopy and matplotlib directories #570

Closed seisman closed 2 years ago

seisman commented 2 years ago

When running matplotlib for the first time, it will give the following warning:

Matplotlib is building the font cache using fc-list. This may take a moment.

When plotting maps using cartopy, it will download coastline data and save to the cache directory.

Both show the warnings in the Jupyter Notebook output, so it may confuse readers.

In this PR, we cache matplotlib and cartopy's cache directories, so that building the notebooks, we won't see these warnings.

github-actions[bot] commented 2 years ago

This comment was written by the Continuous Documentation bot!