1

Here's the result of scatter plot using Matplotlib enter image description here

And now here's the result of calling scatter plot using Pandas enter image description here

Is there bug in Pandas scatter function or is it supposed to work like this?

2
  • I had the same results, python 3.4.3, pandas 0.17.1, matplotlib 1.5.0. I used diamonds from ggplot package. Commented Dec 21, 2015 at 12:09
  • Were you enrolled in CS 109? If yes, how did you overcome the Attribution Error: Unknown property color_cyle in the notebook in Lab 2. Commented Dec 21, 2015 at 12:19

1 Answer 1

3

I think the grey area you see is the boundary of each point. Use the argument edgecolors='none' or edgecolors='black' to get the same result as you get with matplotlib (see also http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.scatter)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.