Load plt before setting rcParams

This commit is contained in:
Aurélien Geron
2021-11-27 12:54:49 +13:00
parent 16e66a50fa
commit 3ec8eaa79e

View File

@@ -86,11 +86,13 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"import matplotlib as mpl\n", "import matplotlib.pyplot as plt\n",
"\n", "\n",
"mpl.rc('font', size=12)\n", "plt.rc('font', size=12)\n",
"mpl.rc('axes', labelsize=14, titlesize=14)\n", "plt.rc('axes', labelsize=14, titlesize=14)\n",
"mpl.rc('legend', fontsize=14)" "plt.rc('legend', fontsize=14)\n",
"plt.rc('xtick',labelsize=10)\n",
"plt.rc('ytick',labelsize=10)"
] ]
}, },
{ {