-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Wishlist for sns.scatterplot #315
Comments
To follow-up on your third bullet (though this is also a bit of separate issue), I've found that continuous point coloring with a |
Ah, yeah, currently I wouldn't even say that's something that's supposed to work – everything in |
What about some interactivity? Printing the |
One thing I often wish for is the ability to specify a label for each point, that would be shown as text next to the point. This is very useful for scatterplots with a relatively small number of points which you want to identify individually (e.g., countries, company names, specific products), and it's currently a pain with matplotlib because you can't pass a vector of strings to a single |
It would be possible for a seaborn function to accept a vector of strings and draw them, but it would be bound by the same limitations as when you are using matplotlib directly. So each point would have to be a separate object "behind the scenes" and I don't think it would be possilbe to do what you describe in terms of turning the labels on and off. |
In general, it'd be great to be able to change marker size/style depending on the data. E.g. sns.scatterplot(data, x='PC1', y='PC2', hue='Disease', marker='Sex', size='SampleQuality') It's currently a drag to do this with |
Open comment thread for functionality that would be good to have in a
sns.scatterplot
function. Some things that have been mentioned are:FacetGrid
context, this currently requires a bit of a hack as color is the fourth positional argument so you would need to pass in a dummy argument for size.What else?
The text was updated successfully, but these errors were encountered: