regression: bar plot with multi-column category doesn't work anymore
See original GitHub issueCode Sample, a copy-pastable example if possible
Doing a bar plot using a multi-column category used to work
df.plot.barh(x=['fruit', 'animal'], y='size')
In pandas 0.22.0:
since pandas 0.23.0:
Is it intended that this stopped working? I kind of liked the feature.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (9 by maintainers)
Top Results From Across the Web
R - Grouped Bar Plot with multi-column data - Stack Overflow
I tend to use facet_wrap() or facet_grid() to get multiple groups onto my bar plots. This should work to create similar output as...
Read more >Bar Chart / Bar Graph: Examples, Excel Steps & Stacked Graphs
A bar chart is a graph with rectangular bars. The graph usually compares different categories. Although the graphs can be plotted vertically (bars...
Read more >Visualization with Plotly.Express: Comprehensive guide
A detailed guide on how to create many visualizations with Plotly Express with layout styling, interactivity, animations, and many chart ...
Read more >Origin Help - Grouped Columns - Indexed Data - OriginLab
Highlight column B and select Plot > 2D: Bar: Grouped Columns - Indexed Data from top menu to open the plot_gindexed dialog. In...
Read more >Clustered and Stacked Column and Bar Charts - Peltier Tech
The first step is to make a stacked column or bar chart from the data in B6:E9. There are no categories selected (i.e.,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@daminisatya yes, as far as I know this is not yet resolved
Allowing multiple
x
might make sense for bar / barh.FWIW, I would personally do this with df.set_index([‘fruit’, ‘animal’])[‘size’].plot.bar()
On Wed, Jun 13, 2018 at 4:12 AM, Stefaan Lippens notifications@github.com wrote: