Skip to content

Commit 69377a6

Browse files
committed
MAINT: simplify get_heatmap_df()
* remove an extraneous step from `get_heatmap_df()`; there should never be a fractional bin occupancy greater than 1 achieved by multiplying fractions
1 parent 4c25555 commit 69377a6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

darshan-util/pydarshan/darshan/experimental/plots/heatmap_handling.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@ def get_heatmap_df(agg_df: pd.DataFrame, xbins: int, nprocs: int) -> pd.DataFram
350350
combo = start_fraction_bin_occupancy.mul(
351351
end_fraction_bin_occupancy, fill_value=1, axis=0
352352
)
353-
combo.mask(combo > 1, 1, inplace=True)
354353
# add the start/end dummy variable dataframes
355354
# and replace any zeros with NaN's
356355
cats = cats_start.add(cats_end, fill_value=0)

0 commit comments

Comments
 (0)