From 16e66a50fa07836e635fe02aa45aacf8df0baf75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Sat, 27 Nov 2021 12:43:26 +1300 Subject: [PATCH] Load plt before setting rcParams --- 03_classification.ipynb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/03_classification.ipynb b/03_classification.ipynb index d67dbf9..cd4f50c 100644 --- a/03_classification.ipynb +++ b/03_classification.ipynb @@ -84,11 +84,13 @@ "metadata": {}, "outputs": [], "source": [ - "import matplotlib as mpl\n", + "import matplotlib.pyplot as plt\n", "\n", - "mpl.rc('font', size=12)\n", - "mpl.rc('axes', labelsize=14, titlesize=14)\n", - "mpl.rc('legend', fontsize=14)" + "plt.rc('font', size=12)\n", + "plt.rc('axes', labelsize=14, titlesize=14)\n", + "plt.rc('legend', fontsize=14)\n", + "plt.rc('xtick',labelsize=10)\n", + "plt.rc('ytick',labelsize=10)" ] }, {