On Wed, Jan 2, 2013 at 4:46 PM, Joe Louderback <jgl...@gm...>wrote:
> import matplotlib.pyplot as plt
>
> fig = plt.figure()
> plot = fig.add_subplot(111)
>
> plot.scatter([1, 2, 3], [4, 5, 6], c = [0.2, 0.4, 0.6], label = 'one',
> cmap = 'jet', marker = 'o', edgecolor = 'face')
>
> plot.scatter([1, 2, 3], [7, 6, 5], c = [0.2, 0.4, 0.6], label = 'two',
> cmap = 'jet', marker = 'o', edgecolor = 'face',
> facecolor = 'none')
> plot.legend()
> plt.show()
>
I'm not quite sure what /should/ happen when you set the `facecolor` to
'none' and the `edgecolor` to 'face'. I'm surprised anything shows up at
the axes at all. But if you remove the `edgecolor` kwarg things look better:
import matplotlib.pyplot as plt
fig = plt.figure()
plot = fig.add_subplot(111)
plot.scatter([1, 2, 3], [4, 5, 6], c = [0.2, 0.4, 0.6], label = 'one',
cmap = 'jet', marker = 'o', edgecolor = 'face')
plot.scatter([1, 2, 3], [7, 6, 5], c = [0.2, 0.4, 0.6], label = 'two',
cmap = 'jet', marker = 'o', facecolor='none')
plot.legend()
plt.show()
|