Skip to content

Commit 7cf9e08

Browse files
committed
consistent variable names
1 parent c11119d commit 7cf9e08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

episodes/05-creating-histograms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ with the
350350
function call,
351351
and then add a histogram line of the correct colour to the plot with the
352352

353-
`plt.plot(bin_edges[0:-1], histogram, color=c)`
353+
`plt.plot(bin_edges[0:-1], histogram, color=color)`
354354

355355
function call.
356-
Note the use of our loop variables, `channel_id` and `c`.
356+
Note the use of our loop variables, `channel_id` and `color`.
357357

358358
Finally we label our axes and display the histogram, shown here:
359359

0 commit comments

Comments
 (0)