Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
fix: added max bin creates different shapes (#443)
Browse files Browse the repository at this point in the history
- [x] I have battle-tested on Overtaci (RMAPPS1279)
- [x] At least one of the commits is prefixed with either "fix:" or
"feat:"

## Notes for reviewers
If max of series was > than bins, and an additional bin with max value
was added, plots broke due to differences in shapes.
  • Loading branch information
MartinBernstorff authored Mar 21, 2023
2 parents 720226e + 7204c54 commit c73819c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def plot_time_from_first_positive_to_event(
.reset_index()
)

x_labels = list(bins)
x_labels = list(counts["time_from_first_positive_to_event_binned"])
y_values = counts[0].to_list()

plot = plot_basic_chart(
Expand Down

0 comments on commit c73819c

Please sign in to comment.