From e3bb91a488b80a30724ce1f1045e3c6a0dda6f22 Mon Sep 17 00:00:00 2001 From: Henry Leung Date: Mon, 26 Aug 2024 10:40:30 -0400 Subject: [PATCH] revert back to default style in doctests --- docs/source/basics.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/basics.rst b/docs/source/basics.rst index bd3e3e6..d8d88e4 100644 --- a/docs/source/basics.rst +++ b/docs/source/basics.rst @@ -18,6 +18,9 @@ To use the style sheet for you own plot without importing ``mw-plot``, you can d >>> import matplotlib.pyplot as plt >>> plt.style.use("mw_plot.mplstyle") +.. + >>> plt.style.use("default") # to revert back to default style to avoid installing latex dependency in CI tests + Now you can plot anything and matplotlib will use the style sheet. Useful Constants