mirror of
https://github.com/fastai/fastbook.git
synced 2025-04-04 01:40:44 +00:00
Merge 7a29ca42da
into e8baa81d89
This commit is contained in:
commit
6a69d44960
@ -8598,7 +8598,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"p = valid_xs_final['ProductSize'].value_counts(sort=False).plot.barh()\n",
|
||||
"p = valid_xs_final['ProductSize'].value_counts(sort=False).sort_index().plot.barh()\n",
|
||||
"c = to.classes['ProductSize']\n",
|
||||
"plt.yticks(range(len(c)), c);"
|
||||
]
|
||||
|
@ -868,7 +868,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"p = valid_xs_final['ProductSize'].value_counts(sort=False).plot.barh()\n",
|
||||
"p = valid_xs_final['ProductSize'].value_counts(sort=False).sort_index().plot.barh()\n",
|
||||
"c = to.classes['ProductSize']\n",
|
||||
"plt.yticks(range(len(c)), c);"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user