-
-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plot_dot #2031
Comments
The overlapping stacks appears to be an issue with >>> values = stats.beta(2,2).rvs(100)
>>> values.sort()
>>> binwidth = 0.07
>>> stack_locs, stack_count = az.plots.dotplot.wilkinson_algorithm(values, binwidth)
>>> np.diff(stack_locs) > binwidth # should all be True
array([ True, True, True, True, False, True, True, True, True,
True, True, False]) |
Ah, okay, overlapping stacks is actually not a bug. This is possible and intended behavior. e.g. suppose we have the data This is how > x <- c(1, 1.9, 2.1, 2.1, 3.2)
> df <- data.frame(x)
> ggplot(df, aes(x=x)) + geom_dotplot(binwidth=1) |
Good to know this. Then PR should only fix aspect |
Wow what an indepth analysis. Thanks @sethaxen |
Describe the bug
plotdot fig size doesn't behave the way I expect, in that when I set
figsize
in an axes that triple a previous one its not triple the size. There also are some minor bugs where the dots seem to be overlapping someTo Reproduce
Then try this, but see that figure is not three times the width
Expected behavior
Figsize from
plt.subplots
is respectedAdditional context
Arviz '0.12.0'
The text was updated successfully, but these errors were encountered: