Alinee las ecuaciones de TeX en matplotlib
Tengo las siguientes líneas para anotar TeX en mimatplotlib
trama
import matplotlib.pyplot as plt
from matplotlib import rc
rc('text', usetex=True)
rc('font', family='serif')
r = 1
v = 2
i = 3
notes = r"\noindent$R_L = {0}\\ V_2 = {1}\\ I_2 = {2}$".format(r, v, i)
plt.annotate(notes, xy=(5,5), xytext=(7,7))
plt.show()
¿Cómo hago que los signos iguales se alineen entre sí? Experimenté con varios métodos como\begin{align}
, &
ubicación, pero no lo entiendo bien.