We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to color a scatter plot by a bool column datatype, the colors do not show:
bool
(see attached file for data)
grouped.dtypes mean_ape float64 measurement_type object note object parameters object n_estimators int64 max_depth int64 bootstrap bool max_features float64 fig = px.scatter( grouped, x="n_estimators", y="mean_ape", facet_row="measurement_type", color="bootstrap", title="Error vs Number of Estimators Colored by Bootstrap", height=1000, width=1600 )
However, if I convert the bool column to a str, then the colors correctly appear:
str
new_grouped = grouped.copy() new_grouped['bootstrap'] = new_grouped['bootstrap'].astype(str) fig = px.scatter( new_grouped, x="n_estimators", y="mean_ape", facet_row="measurement_type", color="bootstrap", title="Error vs Number of Estimators Colored by Bootstrap", height=1000, width=1600 )
grouped.csv.zip
The text was updated successfully, but these errors were encountered:
Definitely a bug, we'll fix it! thanks for the detailed report :)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When trying to color a scatter plot by a
bool
column datatype, the colors do not show:(see attached file for data)
However, if I convert the
bool
column to astr
, then the colors correctly appear:grouped.csv.zip
The text was updated successfully, but these errors were encountered: