Single bar datum does not display with barmode='overlay'
See original GitHub issueThis was originally a plotly.py
issue I was told to reopen here. Forgive the lack of js
reproducible example
I’m creating a bar plot with multiple categories and I wanted to colour each category differently, even though the categories don’t overlap. Multiple rows display fine using barmode='overlay'
, but if there’s only one row in a category, it doesn’t display:
If I don’t split the data, it displays fine (different street, same issue):
If I change barmode='relative'
then it displays fine:
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Plotly: How to always show the lowest bar in front in overlay ...
Try this: fig. · @r-beginners That does not work since if you use barmode='stack' it will put the bars on top of each...
Read more >plotly.graph_objects.Bar — 5.11.0 documentation
If none or skip are set, no information is displayed upon hovering. ... In “group” barmode, traces that set “offset” will be excluded...
Read more >Clustered & Overlapped Bar Charts with Plotly Express
Overlapped (Overlapping) Bar Charts are used to make comparisons between different items or categories. They compare only two numerical ...
Read more >Leica Application Suite - LAS User Manual - STLCC.edu
Leica Microsystems (Switzerland) Ltd.accepts no responsibility for any errors that may appear in this document. No part of this publication may be ...
Read more >Bar Charts | Google Developers
Like all Google charts, bar charts display tooltips when the user hovers over ... We don't recommend that you mix styles too freely...
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 FreeTop 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
Top GitHub Comments
OK. Closing as this does seem covered by the other two issues I mentioned.
Ah, no I just used the
relative
mode instead, since it suits what we were trying to accomplish