Matplotlib Plot Color Code Example


Example 1: change plot line color in matplotlib

plot(x, y, color='green', linestyle='dashed', marker='o',      markerfacecolor='blue', markersize=12).

Example 2: change graph colors python matplotlib

plt.plot([values], color='color')

Example 3: matplotlib color

Alias	Color 'b'	    blue 'g'	    green 'r'	    red 'c'	    cyan 'm'	    magenta 'y'	    yellow 'k'	    black 'w'	    white

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools