I have a plot and want a legend placed in the upper right corner without any frame around with two lines:
a = 10
b = 3*pi
Those lines are some coefficients of my plotted function.
So far, I have
ax1.plot(x, y, label='a')
ax1.legend(["a = 10", "b = 3*pi"], loc="upper right", ncol=1, frameon=False)
But that keeps lines type or color next to my two strings. How to remove them? Put it in the title is not an option. There is a different text.
ax.text()? - Oliver W.ax1.text(.6, .06, r'Hello'). It doesn't work. Andax1.annotate('text', xytext=(.6, .06))also - Olga