Skip to content

Commit 40006f6

Browse files
authored
Merge pull request #265 from abostroem/fix_episode8
Use loop_df columns instead of left_loop and right_loop
2 parents e1800d4 + 27e0027 commit 40006f6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

episodes/08-plot.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,7 @@ what changes in the figure's appearance.
466466
plt.style.use('seaborn-bright')
467467

468468
plot_cmd(candidate_df)
469-
plt.plot(left_color, g, label='left color')
470-
plt.plot(right_color, g, label='right color')
469+
plt.plot(loop_df['color_loop'], loop_df['mag_loop'], g, label='GD1 Isochrone loop')
471470

472471
plt.legend();
473472
```
@@ -488,8 +487,7 @@ plt.style.use('./az-paper-twocol.mplstyle')
488487

489488
plot_cmd(candidate_df)
490489

491-
plt.plot(left_color, g, label='left color')
492-
plt.plot(right_color, g, label='right color')
490+
plt.plot(loop_df['color_loop'], loop_df['mag_loop'], g, label='GD1 Isochrone loop')
493491

494492
plt.legend();
495493
```

0 commit comments

Comments
 (0)