我正在研究一个半透明的'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 )
Run Code Online (Sandbox Code Playgroud)