-
Notifications
You must be signed in to change notification settings - Fork 250
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
Default settings with white borders can hide points in dense plots #1262
Comments
In your plot above, the The |
making a change like this would be breaking and would require a major version number bump. not that that should stop us, but we do want to be careful about breaking people's plots. also, usually when the number of points plotted gets so high that this is a problem, it's an indication that one should be using a different geometry. like a density or contour plot for example. i've added the 2.0 milestone so we can think about this further as the time approaches. thanks for the feedback! |
AFAIK, we're one of the only plotting libraries that has the default white border approach.
This is my thought as well. |
Perhaps a community poll?
Probably better to do a poll via Julia discourse. We should agree here on the possible choices first! |
For context, in my case, it was in exploring some time-series data of length O(1000). Regarding the comment on using different geometries, I don't doubt that that in my case there may be better representations of the data [I've switched to using Gadfly pretty recently, and I'm still understanding the different semantics]. My issue in this case was down to some brief initial confusion on why this behaviour was occuring. Still, it seems that this could be encountered by others similarly new to the package, especially for time-series type data, so fwiw from me a change to the defaults would be welcome (at least, discussed out for a future milestone), potentially more in line with the other plotting libraries, so that behaviour is a bit more expected while starting off with the package. Thanks for your responses! :) |
Having just switched to experimenting with Gadfly, I was confused by the apparent behaviour in decreasing opacity of the plots as the number of points became more dense.
Essentially, this would produce something expected:
plot(y=sort(rand(100,)))
where this would produce a barely visible image:
plot(y=sort(rand(1000,)))
This appears to be a related issue: #618
After understanding the issue, something like the above can be plotted like this:
plot(y=sort(rand(1000,)), Geom.point, Theme(highlight_width=0.0mm))
however ideally this, or some equivalent,
would be the default behaviour to avoid confusion in cases such as this.
The text was updated successfully, but these errors were encountered: