question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wishlist for sns.scatterplot

See original GitHub issue

Open comment thread for functionality that would be good to have in a sns.scatterplot function. Some things that have been mentioned are:

  • Scaling point size off a continuous variable that isn’t directly interpretable as a point size (cf. #310)
  • Better default colors (although #293 would also fix this)
  • A better interface for handling continuous point coloring in a 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.
  • Jittering x and y points (currently build into regplot)

What else?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dansondergaardcommented, Aug 31, 2017

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 sns.lmplot.

1reaction
BrenBarncommented, Sep 13, 2015

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 text call. Ideally the point labels could then be turned on and off with a quick command.

Read more comments on GitHub >

github_iconTop Results From Across the Web

seaborn.scatterplot — seaborn 0.12.1 documentation - PyData |
Draw a scatter plot with possibility of several semantic groupings. The relationship between x and y can be shown for different subsets of...
Read more >
Seaborn Scatter Plot using sns.scatterplot()
The seaborn scatter plot use to find the relationship between x and y variable. It may be both a numeric type or one...
Read more >
Airsoft Guns - Evike.com
Shop the biggest selection of airsoft guns online.
Read more >
How to Make a Seaborn Scatter Plot - Sharp Sight
This tutorial will show you how to make a Seaborn scatter plot. It will explain the syntax of the sns.scatterplot function, including some ......
Read more >
Scatterplot using Seaborn in Python - GeeksforGeeks
Scatter Plot · Syntax: seaborn. · Parameters: · x, y: Input data variables that should be numeric.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found