Overview
Plotly 5.18, released on November 10, 2023, adds pattern shapes to enrich bar and area charts.
Main Features
Pattern shapes (pattern_shape) let you distinguish categories with hatching in addition to color, improving accessibility.
python
import plotly.express as px
df = px.data.tips()
fig = px.bar(
df, x='day', y='total_bill', color='smoker',
pattern_shape='smoker', barmode='group',
)
fig.show()
