-
Notifications
You must be signed in to change notification settings - Fork 253
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
Geom.bar together with xmin, xmax #1443
Comments
I see what you mean. It looks like in plot
|
Thank you for the quick reply. Right now I am using your first workaround. |
For Dates, |
PR #1446 will fix the first problem above. The second issue ( |
I think the second issue here has been fixed by GiovineItalia/Compose.jl#409, which introduced new size units: using Dates, DataFrames, Compose, Gadfly
set_default_plot_size(4inch, 4inch)
D2 = DataFrame(A=["A","B","C","D","A","C","D","B"], B=repeat([Date(1990,1,1), Date(1990,2,1)], inner=4),
C=[12059, 57263, 79003, 13125, 25268, 13291, 17365, 30154])
p3 = plot(D2, x=:B, y=:C, color=:A, Geom.bar(position=:stack), Theme(bar_spacing=Day(6)*sx)) |
It seems that gadfly struggles to detect ymax automatically when using Geom.bar together with
xmin, xmax. To see this compare p and p2.
The text was updated successfully, but these errors were encountered: