Closed
Description
Weird problem... I'm trying to plot grey scatter plot points using a string like '0.5' for the color. This is showing up as blue in my legend, and kind of purple in the figure. e.g.
plt.scatter(0.2, 0.2, s=2000, color='0.5', marker='.', label='Dot')
plt.scatter(0.2, 0.4, s=2000, color='0.5', marker='*', label='Star')
plt.scatter(0.3, 0.2, s=2000, color='0.5', marker='^', label='Triangle', alpha=0.6)
plt.axhline(0.3, color='0.5', lw=4.0, label='Line')
plt.legend()
That produces the attached figure for me.
I'm using matplotlib 1.5.1 from anaconda, on OS X 10.11.2.