diff --git a/tools_matplotlib.ipynb b/tools_matplotlib.ipynb index 949f5c2..0fd7513 100644 --- a/tools_matplotlib.ipynb +++ b/tools_matplotlib.ipynb @@ -706,7 +706,7 @@ "ax = plt.subplot(133)\n", "plt.plot(x, x**3)\n", "plt.minorticks_on()\n", - "ax.tick_params(axis='x', which='minor', bottom='off')\n", + "ax.tick_params(axis='x', which='minor', bottom=False)\n", "ax.xaxis.set_ticks([-2, 0, 1, 2])\n", "ax.yaxis.set_ticks(np.arange(-5, 5, 1))\n", "ax.yaxis.set_ticklabels([\"min\", -4, -3, -2, -1, 0, 1, 2, 3, \"max\"])\n",