I'm trying to make a scatter plot of some PCA data. I do some pretty typical code:
plt.plot(pca[:,0], pca[:,1], '.',ms=3, markerfacecolor = self.colors[k],
markeredgecolor = 'none')
I want it to show just the marker face color with no outline. The problem is that the markers disappear completely when markeredgecolor = 'none'. When I set markerfacecolor='none' or to a color and remove markeredgecolor, it works like expected.
I just updated matplotlib, numpy, etc. to the newest versions, running on Python 2.7.
Thanks for your help.
markersizeto a larger value.markersizecan be a kwarg toplot(), or you can abbreviate asms. e.g.:..., markersize=20, ...- mechanical_meatmatplotlib.errorbarusing themarkeredgecolor=Nonerecommended below did not remove the black outlining the symbol. Insteadmarkeredgecolor='none'did work (the symbols were not invisible). Not surprisingly, it seems the bug that led to this question has been fixed in the past 3 years. - Steven C. Howell