我有一个matplotlib使用以下代码生成的图:
import matplotlib.pyplot as pyplot
Fig, ax = pyplot.subplots()
for i, (mark, color) in enumerate(zip(
['s', 'o', 'D', 'v'], ['r', 'g', 'b', 'purple'])):
ax.plot(i+1, i+1, color=color,
marker=mark,
markerfacecolor='None',
markeredgecolor=color,
label=i)
ax.set_xlim(0,5)
ax.set_ylim(0,5)
ax.legend()
Run Code Online (Sandbox Code Playgroud)
用这个作为生成的数字:

我不喜欢图例中标记的线条.我怎么能摆脱他们?