I put 4 kinds of text in my plot.For example:
plt_text = plt.text(_x,_y,"o",color='r',fontsize = 15,label = "Buy")
plt_text = plt.text(_x,_y,"x",color='g',fontsize = 15,lable = "Sell")
But plt.legend() can't show the label of texts.How can I solve it?Thx.
I want to add labels for texts,not the figs that plt.plot maked.