pm4py.visualization.dotted_chart.visualizer module#

class pm4py.visualization.dotted_chart.visualizer.Variants(*values)[source]#

Bases: Enum

CLASSIC = <module 'pm4py.visualization.dotted_chart.variants.classic' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/visualization/dotted_chart/variants/classic.py'>#
pm4py.visualization.dotted_chart.visualizer.apply(log_obj: DataFrame | EventLog, attributes: List[str], variant=Variants.CLASSIC, parameters: Dict[Any, Any] | None = None) str[source]#

Creates the dotted chart with the log objects and the provided attributes

Parameters:
  • log_obj – Log object

  • attributes – List of attributes that should be included in the dotted chart

  • parameters – Variant-specific parameters

Returns:

Path to the dotted chart visualization

Return type:

file_path

pm4py.visualization.dotted_chart.visualizer.view(figure: str)[source]#

Views the dotted chart on the screen

Parameters:

figure – Path to the dotted chart

pm4py.visualization.dotted_chart.visualizer.save(figure: str, output_file_path: str)[source]#

Saves the dotted chart to a specified path

Parameters:
  • figure – Current path to the dotted chart

  • output_file_path – Destination path

pm4py.visualization.dotted_chart.visualizer.serialize(figure: str)[source]#

Performs the serialization of the dotted chart visualization

Parameters:

figure – Current path to the dotted chart

pm4py.visualization.dotted_chart.visualizer.matplotlib_view(figure: str)[source]#

Views the dotted chart on the screen using Matplotlib

Parameters:

figure – Path to the dotted chart