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
Copy file name to clipboardExpand all lines: doc/python/horizontal-bar-charts.md
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -111,10 +111,7 @@ fig.show()
111
111
```
112
112
### Small multiple horizontal bar charts show each component's size more clearly than a stacked bar
113
113
114
-
Bar charts with multiple components pose a fundamental trade off between presenting the total clearly and presenting the component values clearly. This small multiples approach shows the component magnitudes clearly at the cost of slightly obscuring the totals. A stacked bar does the opposite. Small multiple bar charts often work better in a horizontal orientation; and are easy to create with the px.bar orientation and facet_col parameters.
115
-
116
-
.
117
-
114
+
Bar charts with multiple components pose a fundamental trade off between presenting the total clearly and presenting the component values clearly. This small multiples approach shows the component magnitudes clearly at the cost of slightly obscuring the totals. A stacked bar does the opposite. Small multiple bar charts often work better in a horizontal orientation; and are easy to create with the px.bar orientation and facet_col parameters.
118
115
```
119
116
import pandas as pd
120
117
import plotly.express as px
@@ -144,7 +141,7 @@ fig.update_layout(
144
141
showlegend=False, # the legend does not add anything
145
142
)
146
143
147
-
#remove up the default "facet_variable =" text from the title of each facet graph
144
+
# remove the default "facet_variable =" text from the title of each facet graph
0 commit comments