Load plt before setting rcParams

main
Aurélien Geron 2021-11-27 12:43:26 +13:00
parent 19e109c02c
commit 16e66a50fa
1 changed files with 6 additions and 4 deletions

View File

@ -84,11 +84,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)"
] ]
}, },
{ {