You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Legend fails for bar plot with numeric label #26824
It seems a bug was introduced in Matplotlib 3.8, in which numeric labels for bar charts are no longer getting converted to strings. When trying to add a legend, this causes an AttributeError: 'int' object has no attribute 'startswith'.
Activity
oscargus commentedon Sep 19, 2023
It is related to #26326
Apparently, we had no test for non-string labels...
Fixed in #26825
Thanks for reporting and sorry for breaking this.