Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion djimaging/tables/core/preprocesstraces.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def gui_clip_trace(self, key):

@widgets.interact(left=w_left, right=w_right, save=w_save)
def plot_fit(left=0, right=trace.size - 1, save=False):
nonlocal title, key
nonlocal title

plot_left_right_clipping(trace, trace_t, left, right, title)

Expand Down
2 changes: 1 addition & 1 deletion djimaging/tables/core/traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def gui_clip_trace(self, key):

@widgets.interact(left=w_left, right=w_right, save=w_save)
def plot_fit(left=0, right=trace.size - 1, save=False):
nonlocal title, key
nonlocal title

plot_left_right_clipping(trace, trace_t, left, right, title)

Expand Down
2 changes: 1 addition & 1 deletion djimaging/tables/ipl/ipl.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def gui(self, key, figsize=(8, 5), left0=12, right0=12, thick0=30, q_clip0=2.0,

@widgets.interact(bot=w_bot, top=w_top, thick=w_thick, save=w_save)
def plot_fit(left=left0, right=right0, thick=thick0, save=False):
nonlocal title, key, add_or_update
nonlocal title

plot_field_and_fit(left, right, thick, ch0_avg, ch1_avg, figsize=figsize, extent=extent, title=title)

Expand Down