Re: [Matplotlib-users] Blurry Scatter Plot

2015-08-03 Thread ChaoYue
You may need to remove the alpha=0.05 or set it as 1 I think.

Chao

On Mon, Aug 3, 2015 at 12:51 AM, albad17 [via matplotlib] <
[email protected]> wrote:

> For some reason when I plot a scatter plot like this:
>
> plt.scatter(diamonds['carat'], diamonds['price'], color = 'black', alpha =
> 0.05)
> plt.xlabel('Carat')
> plt.ylabel('Price')
>
> I get a blurry scatter plot as shown in the image
>
>
> I want something more like this:
>
>
> Any help would be greatly appreciated.
>
> Thanks
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://matplotlib.1069221.n5.nabble.com/Blurry-Scatter-Plot-tp45995.html
> To start a new topic under matplotlib - users, email
> [email protected]
> To unsubscribe from matplotlib, click here
> 
> .
> NAML
> 
>



-- 
please visit:
http://www.globalcarbonatlas.org/
***
Chao YUE
postdoc at LGGE
LGGE, BP 96, 38402 St Martin d'Hères Cedex, France





--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Blurry-Scatter-Plot-tp45995p45997.html
Sent from the matplotlib - users mailing list archive at Nabble.com.--
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Blurry Scatter Plot

2015-08-02 Thread Thomas Caswell
Remove the `alpha=0.05` kwargs which is setting the alpha to be almost
transparent.

Tom

On Sun, Aug 2, 2015 at 6:53 PM albad17  wrote:

> For some reason when I plot a scatter plot like this:
>
> plt.scatter(diamonds['carat'], diamonds['price'], color = 'black', alpha =
> 0.05)
> plt.xlabel('Carat')
> plt.ylabel('Price')
>
> I get a blurry scatter plot as shown in the image
> <
> http://matplotlib.1069221.n5.nabble.com/file/n45995/matplotlib_scatter.png
> >
>
> I want something more like this:
> 
>
> Any help would be greatly appreciated.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/Blurry-Scatter-Plot-tp45995.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> --
> ___
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Blurry Scatter Plot

2015-08-02 Thread albad17
For some reason when I plot a scatter plot like this:

plt.scatter(diamonds['carat'], diamonds['price'], color = 'black', alpha =
0.05)
plt.xlabel('Carat')
plt.ylabel('Price')

I get a blurry scatter plot as shown in the image
 

I want something more like this:
 

Any help would be greatly appreciated.

Thanks



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Blurry-Scatter-Plot-tp45995.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users