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 <albertdorf...@gmail.com> 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:
> <http://matplotlib.1069221.n5.nabble.com/file/n45995/Scatter_Good.png>
>
> 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
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to