Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
schiebel committed Jan 25, 2024
1 parent 318083a commit 0ef8fd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions casaguijs/src/bokeh/sources/image_data_source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ export class ImageDataSource extends ColumnDataSource {

initialize(): void {
super.initialize();
// when an initial mask is supplied by the user, it is included
// in the data object. In case there is a non-zero mask, we must
// search for a contour upon initialization...
if ( this._mask_contour_source != null &&
'msk' in this.data &&
this.data.msk.length > 0 &&
Expand Down

0 comments on commit 0ef8fd6

Please sign in to comment.