mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-30 11:37:49 +01:00
Add a bit of space right oy y label
This commit is contained in:
@@ -913,7 +913,7 @@
|
|||||||
"plt.figure(figsize=(9, 3.5))\n",
|
"plt.figure(figsize=(9, 3.5))\n",
|
||||||
"plt.subplot(121)\n",
|
"plt.subplot(121)\n",
|
||||||
"plot_model(Lasso, polynomial=False, alphas=(0, 0.1, 1), random_state=42)\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",
|
"plt.subplot(122)\n",
|
||||||
"plot_model(Lasso, polynomial=True, alphas=(0, 1e-2, 1), random_state=42)\n",
|
"plot_model(Lasso, polynomial=True, alphas=(0, 1e-2, 1), random_state=42)\n",
|
||||||
"plt.gca().axes.yaxis.set_ticklabels([])\n",
|
"plt.gca().axes.yaxis.set_ticklabels([])\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user