In Jupyter notebook I have labelled plots with latex symbols using the code:
plt.xlabel(r'Probe Bias $(V_p)$')
This works to let me include latex symbols in my x label. However when I try to do the same thing in a print statement:
print(r'$T_c$ = %.3f' %(tc))
The output is simply "$T_c$ = 3.467" with no latex formatting. How can I get latex formatting similar to my xlabel in a string when I also want to print the value of a variable tc?