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.

scatterplot interpreting `color` parameter as a vector of values

See original GitHub issue
import seaborn as sns
sns.scatterplot([1, 2, 3, 4], [1, 2, 3, 4], color=(.2, .5, .8, 1), s=100)

image

This is related to a lot of old issues from when matplotlib changed handling of the c= parameter but interestingly it doesn’t reproduce in the most obvious straight matplotlib translation

plt.scatter([1, 2, 3, 4], [1, 2, 3, 4], color=(.2, .5, .8, 1), s=100)

image

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mwaskomcommented, May 16, 2020

Don’t debug before coffee, would be good advice.

0reactions
mwaskomcommented, May 23, 2020

Fixed upstream.

Read more comments on GitHub >

github_iconTop Results From Across the Web

5.4 Mapping a Continuous Variable to Color or Size
A basic scatter plot shows the relationship between two continuous variables: one mapped to the x-axis, and one to the y-axis. When there...
Read more >
Scatter plot - MATLAB scatter - MathWorks
Assign different colors to each point using a colormap. Specify a row or column vector of numbers. The numbers map into the current...
Read more >
Python Scatter Plot - How to visualize relationship between ...
Scatter plot is a graph in which the values of two variables are plotted ... specify the color each dot should take using...
Read more >
Matplotlib Scatter plot change color based on value on list
In order to produce a scatter plot, use scatter . This has an argument c , which allows numerous ways of setting the...
Read more >
A Complete Guide to Scatter Plots - Chartio
The dots in a scatter plot not only report the values of individual data ... size and color, a legend is important for...
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