Skip to content

Commit

Permalink
Update ecg_segment.py
Browse files Browse the repository at this point in the history
modify plotting error
  • Loading branch information
hyunlimy authored Oct 28, 2023
1 parent ce33299 commit 4d4bd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurokit2/ecg/ecg_segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _ecg_segment_plot(heartbeats, heartrate=0, ytitle="ECG", color="#F44336", ax
# Plot average heartbeat
ax.plot(
mean_heartbeat.index,
mean_heartbeat,
mean_heartbeat[col].values,
color=color,
linewidth=7,
label="Average beat shape",
Expand Down

0 comments on commit 4d4bd7a

Please sign in to comment.