Skip to content

Commit 0550b0c

Browse files
committed
dev
1 parent f51044e commit 0550b0c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/aind_dynamic_foraging_basic_analysis/plot/plot_session_scroller.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,9 @@ def plot_fip(fip_df, channel, ax):
518518
if sub_channel not in fip_df['event'].unique():
519519
raise Exception("Cannot plot {}, no data".format(sub_channel))
520520

521-
color = get_fip_color(channel)
522-
C = fip_df.query("event == @channel")
523-
ax.plot(C.timestamps.values, C.data.values, color,label=channel)
521+
color = get_fip_color(sub_channel)
522+
C = fip_df.query("event == @sub_channel")
523+
ax.plot(C.timestamps.values, C.data.values, color,label=sub_channel)
524524
ax.set_ylabel('multiple', fontsize=12)
525525
ax.legend()
526526
else:

0 commit comments

Comments
 (0)