From e72b210d97801ceaf46abb2d7cb9ae4ef478b8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Sat, 27 Nov 2021 13:47:56 +1300 Subject: [PATCH] Load plt before setting rcParams --- 06_decision_trees.ipynb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/06_decision_trees.ipynb b/06_decision_trees.ipynb index 79b0f66..8e96ac4 100644 --- a/06_decision_trees.ipynb +++ b/06_decision_trees.ipynb @@ -86,11 +86,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)" ] }, {