Skip to content

Commit

Permalink
Fix sankey threshold (#754)
Browse files Browse the repository at this point in the history
Co-authored-by: Leon Stadelmann <leon.stadelmann@helmholtz-munich.de>
  • Loading branch information
LeonStadelmann and Leon Stadelmann authored Oct 11, 2024
1 parent ba8d30f commit f91b455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moscot/problems/time/_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def sankey(
cell_transitions_updated = cell_transitions

if threshold is not None:
for ct in cell_transitions:
for ct in cell_transitions_updated:
ct[ct < threshold] = 0.0

if key_added is None:
Expand Down

0 comments on commit f91b455

Please sign in to comment.