Add a bit of space right oy y label

main
Aurélien Geron 2021-11-04 11:44:16 +13:00
parent 3b418d4c0b
commit 0a34d0bd9c
1 changed files with 1 additions and 1 deletions

View File

@ -913,7 +913,7 @@
"plt.figure(figsize=(9, 3.5))\n",
"plt.subplot(121)\n",
"plot_model(Lasso, polynomial=False, alphas=(0, 0.1, 1), random_state=42)\n",
"plt.ylabel(\"$y$\", rotation=0)\n",
"plt.ylabel(\"$y$ \", rotation=0)\n",
"plt.subplot(122)\n",
"plot_model(Lasso, polynomial=True, alphas=(0, 1e-2, 1), random_state=42)\n",
"plt.gca().axes.yaxis.set_ticklabels([])\n",