plotly.express.bar does not display properly when using pandas "uint32" dtype and passing a list for y
temp = pd.DataFrame({"my_category":list("ABCD"),"feature_1":[10, 20, 40, 30],"feature_2":[60, 40, 50, 20]})
for col in temp.columns:
if temp[col].dtype == "int64":
temp[col] = temp[col].astype("uint32")
px.bar(
data_frame = temp,
x = "my_category",
y = ["feature_1","feature_2"],
)
using the "int64" dtype or plotting a single y works correctly
This last image is the expected behavior
plotly.version = 5.16.1
pandas.version = 2.0.2
plotly.express.bar does not display properly when using pandas "uint32" dtype and passing a list for y
using the "int64" dtype or plotting a single y works correctly
This last image is the expected behavior
plotly.version = 5.16.1
pandas.version = 2.0.2