I tried the following example to draw a line with RGB color definition:
import matplotlib.pyplot as plt
ax = plt.axes()
ax.plot(0, 0, 0.5, 0.5, color='#FF0000')
plt.savefig('test.png')
but the resulting image was just blank! (Except the axes)
How to define a RGB color in a plot statement?