Skip to content

Commit

Permalink
update convergence plot w/ changes to stokes dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
schiebel committed Jan 9, 2024
1 parent 49278a4 commit 79ccd79
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions casagui/apps/_interactiveclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,8 +1069,11 @@ def convergence_handler( msg, self=self ):
### Stokes 'label' should be updated AFTER the channel update has happened
self._channel_ctrl[1].child.js_on_change( 'label',
CustomJS( args=dict( img_src=self._fig['image-source'],
flux_src=self._flux_data),
code=self._js['update-converge'] ) )
flux_src=self._flux_data,
residual_src=self._residual_data,
threshold_src=self._cyclethreshold_data,
stopdescmap=ImagingDict.get_summaryminor_stopdesc( ) ),
code=self._js['update-converge'] + '''update_convergence( )''' ) )
self._fig['layout'] = column(
row(
column( row( *self._channel_ctrl, self._cube.coord_ctrl( ),
Expand Down

0 comments on commit 79ccd79

Please sign in to comment.