【发布时间】:2012-10-11 21:30:17
【问题描述】:
我正在绘制带有半透明“x”标记(20% alpha)的绘图。如何使标记在图例中以 100% 的不透明度显示?
import matplotlib.pyplot as plt
plt.plot_date( x = xaxis, y = yaxis, marker = 'x', color=[1, 0, 0, .2], label='Data Series' )
plt.legend(loc=3, mode="expand", numpoints=1, scatterpoints=1 )
【问题讨论】:
标签: python matplotlib