We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
category_orders
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
This example from the docs, shows how to define the category orders:
import plotly.express as px df = px.data.tips() fig = px.bar(df, x="day", y="total_bill", color="smoker", barmode="group", facet_col="sex", category_orders={"day": ["Thur", "Fri", "Sat", "Sun"], "smoker": ["Yes", "No"], "sex": ["Male", "Female"]}) fig.show()
And renders like this:
The same example run with plotly built from master branch, only shows the bars for Sunday:
The text was updated successfully, but these errors were encountered:
thanks for spotting this, and sorry for having missed it - I think I see the issue, fix incoming
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This example from the docs, shows how to define the category orders:
And renders like this:
The same example run with plotly built from master branch, only shows the bars for Sunday:
The text was updated successfully, but these errors were encountered: