pm4py.vis.view_events_per_time_graph#

pm4py.vis.view_events_per_time_graph(log: EventLog | DataFrame, format: str = 'png', activity_key='concept:name', timestamp_key='time:timestamp', case_id_key='case:concept:name')[source]#

Visualizes the events per time graph

Parameters:
  • log – Log object

  • format (str) – Format of the visualization (png, svg, …)

  • activity_key (str) – attribute to be used as activity

  • case_id_key (str) – attribute to be used as case identifier

  • timestamp_key (str) – attribute to be used as timestamp

import pm4py

pm4py.view_events_per_time_graph(dataframe, format='svg', activity_key='concept:name', case_id_key='case:concept:name', timestamp_key='time:timestamp')