Skip to content

Commit d72df41

Browse files
committed
making latex strings for axis labels raw strings
1 parent 776c78c commit d72df41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

episodes/07-photo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,8 @@ x = winner_df['phi1']
610610
y = winner_df['phi2']
611611
plt.plot(x, y, 'ko', markersize=0.7, alpha=0.9)
612612

613-
plt.xlabel('$\phi_1$ [deg]')
614-
plt.ylabel('$\phi_2$ [deg]')
613+
plt.xlabel(r'$\phi_1$ [deg]')
614+
plt.ylabel(r'$\phi_2$ [deg]')
615615
plt.title('Proper motion + photometry selection', fontsize='medium')
616616

617617
plt.axis('equal');
@@ -648,8 +648,8 @@ def plot_cmd_selection(df):
648648

649649
plt.plot(x, y, 'ko', markersize=0.7, alpha=0.9)
650650

651-
plt.xlabel('$\phi_1$ [deg]')
652-
plt.ylabel('$\phi_2$ [deg]')
651+
plt.xlabel(r'$\phi_1$ [deg]')
652+
plt.ylabel(r'$\phi_2$ [deg]')
653653
plt.title('Proper motion + photometry selection', fontsize='medium')
654654

655655
plt.axis('equal')

0 commit comments

Comments
 (0)