-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
I'm hoping there is a way to improve the default behavior of hist, which often generates gap artifacts between classes in histograms. For example, even using clean integer data that has natural breaks:
lsl_dr.degree_hl.dropna().value_counts()
6 10446
3 3127
4 3041
5 2705
2 1416
0 549
1 170
dtype: int64
I get a result like the following:
This plot is misleading because it suggests there are intervening classes with zero counts in between the bars. I assume this is a solved problem, since it does not occur in other packages (e.g. ggplot).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
