When computing frequency statistics, pm4py returns 'None' for elements that are not visited during the alignment phase. Frequency statistics were added without a prior check for NaN frequency values which generated errors and resulted in an unexpected behavior in the frontend part (overlays with NaN labels, see figure below)
After the fix, no style or overlays are added to elements that have not been visited and therefore do not have a frequency:
When computing frequency statistics, pm4py returns 'None' for elements that are not visited during the alignment phase. Frequency statistics were added without a prior check for NaN frequency values which generated errors and resulted in an unexpected behavior in the frontend part (overlays with NaN labels, see figure below)
After the fix, no style or overlays are added to elements that have not been visited and therefore do not have a frequency: