-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Jitter plot #2750
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
Comments
I am very against adding a If people really want to do this, than they should do their data-modification explicitly, outside of Leaving this issue open just to make I am not way out in left field on this. |
I will say that there are some very limited situations where a "jitter" |
However, in those cases I assume that a) you have a decent model of what the noise should be, b) you run the jitter + fit routine a bunch of times to make sure you get consistent results, and c) are very forth coming about exactly what you did and why you did it. Plotting the jittered data gives a false sense of precision. |
Absolutely agree with those points. However, if you are going to use On Wed, Jan 22, 2014 at 9:57 AM, Thomas A Caswell
|
I agree with the arguments against including a jitter in mpl. The primary legitimate use would appear to be to provide a way of visualizing data sets with duplicate values. Maybe a better way would be to process the data such that the number of duplicates of a given x,y pair would be used to set a color or a symbol size in scatter. In any case, the processing, whether a duplicate count or a jitter addition, can be left as the responsibility of the user, not mpl. |
Thanks for the informative discussion! I didn't think about it that way and I agree with your comments. |
It would be great if we can have either a
jitter
command or ajitter
flag inscatter
.I'm refering to something like ggplot2's geom_jitter.
A basic solution:
Of course the definition of
stdev
needs to be better, this will only work for some cases.The idea is from this SoF post.
The text was updated successfully, but these errors were encountered: