Skip to content

Commit d0bc8c1

Browse files
committed
Fix bug in legend plot
1 parent da7935a commit d0bc8c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcpostprocess/subtraction_plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def do_subtraction_plot(fig, times, sweeps, before_currents, after_currents,
9494
before_axs[0].set_ylabel(r'Pre-drug trace', fontsize=16)
9595

9696
for i, (sweep, ax) in enumerate(zip(sweeps, after_axs)):
97-
b0, b1 = all_leak_params_before[i]
97+
b0, b1 = all_leak_params_after[i]
9898
gleak = b1
9999
Eleak = -b0/b1
100100

0 commit comments

Comments
 (0)