Skip to content

Commit bc83c24

Browse files
committed
DOC add legend to plot_loss
1 parent 4a7c008 commit bc83c24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/en/tutorials/structured_data/imbalanced_data.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,8 @@
772772
" color=colors[n], label='Val ' + label,\n",
773773
" linestyle=\"--\")\n",
774774
" plt.xlabel('Epoch')\n",
775-
" plt.ylabel('Loss')"
775+
" plt.ylabel('Loss')\n",
776+
" plt.legend()"
776777
]
777778
},
778779
{

0 commit comments

Comments
 (0)