Skip to content

Commit

Permalink
fixes disabled 3D button
Browse files Browse the repository at this point in the history
  • Loading branch information
domonik committed Aug 19, 2024
1 parent a716193 commit bc5ca47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RAPDOR/visualize/callbacks/plotCallbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,9 @@ def update_range_slider(cutoff_type, plot_type, rapdordata: RAPDORData):
def disable_lfc_and_3d(tdplot, plot_type):
if plot_type == "Bubble Plot":
if tdplot:
return False, True, dash.no_update
return False, True, False
else:
return dash.no_update, False, dash.no_update
return dash.no_update, False, False
else:
return dash.no_update, False, True

Expand Down

0 comments on commit bc5ca47

Please sign in to comment.