multiple markers in legend
问题 My script for plotting creates two legends for each label. I do not know how to make legend() not duplicate. I checked on stackoverflow and found two methods. But I could not implement them here. Any ideas? Matplotlib: Don't show errorbars in legend Stop matplotlib repeating labels in legend symbols = [u'\u2193'] #Plotting our vsini values for i, symbol in enumerate(symbols): for x0,y0 in zip(vsini_slit_cl, vsini_slit): plt.text(x0,y0, symbol, fontname='STIXGeneral', size = 10, va='center',