Wie würde man die y-Achsenbeschriftung und die Hilfsstrichbeschriftungen rot färben?Matplotlib: Färbeachse/Hilfsstrichsbeschriftungen
Also zum Beispiel das "y-Label" und die Werte 0 bis 40, die in rot zu färben sind.
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(10)
fig = plt.figure()
ax = plt.subplot(111)
ax.set_ylabel("y-label")
for i in xrange(5):
ax.plot(x, i * x, label='$y = %ix$' % i)
ax.legend()
plt.show()
danke! sehr geschätzt. – dimka