Skip to content

Commit

Permalink
Merge pull request #28 from WilsonCWu/patch_ylim
Browse files Browse the repository at this point in the history
fix `Attempted to set non-positive bottom ylim` UserWarning in play.ipynb
  • Loading branch information
karpathy authored Jun 17, 2024
2 parents 41b7539 + 8dde293 commit 136b65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
"plt.xlabel(\"steps\")\n",
"plt.ylabel(\"loss\")\n",
"plt.yscale('log')\n",
"plt.ylim(0.0, 4.0)\n",
"plt.ylim(top=4.0)\n",
"plt.legend()\n",
"plt.title(\"Loss\")\n",
"print(\"Min Validation Loss:\", min(ys))\n",
Expand Down

0 comments on commit 136b65e

Please sign in to comment.