This commit is contained in:
Armin Berres 2025-02-03 13:01:17 +00:00 committed by GitHub
commit 6a69d44960
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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);"
]

View File

@ -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);"
]