pm4py.visualization.graphs package

Submodules

pm4py.visualization.graphs.parameters module

class pm4py.visualization.graphs.parameters.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

FORMAT = 'format'
TITLE = 'title'

pm4py.visualization.graphs.visualizer module

class pm4py.visualization.graphs.visualizer.Variants(value)[source]

Bases: enum.Enum

An enumeration.

ATTRIBUTES = <module 'pm4py.visualization.graphs.variants.attributes' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\graphs\\variants\\attributes.py'>
BARPLOT = <module 'pm4py.visualization.graphs.variants.barplot' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\graphs\\variants\\barplot.py'>
CASES = <module 'pm4py.visualization.graphs.variants.cases' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\graphs\\variants\\cases.py'>
DATES = <module 'pm4py.visualization.graphs.variants.dates' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\graphs\\variants\\dates.py'>
pm4py.visualization.graphs.visualizer.apply(x, y, parameters=None, variant=<Variants.CASES: <module 'pm4py.visualization.graphs.variants.cases' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\graphs\\variants\\cases.py'>>)[source]

Method to plot (non-logarithmic way) the graph with axis values contained in x and y

Parameters
  • x – Values for x-axis

  • y – Values for y-axis

  • parameters

    Parameters of the algorithm, including:

    Parameters.FORMAT -> Format of the target image Parameters.TITLE -> Title of the image

  • variant

    Variant of the algorithm to apply, including:
    • Variants.CASES

    • Variants.ATTRIBUTES

    • Variants.DATES

    • Variants.BARPLOT

Returns

Representation temporary file name

Return type

temp_file_name

pm4py.visualization.graphs.visualizer.apply_plot(x, y, parameters=None, variant=<Variants.CASES: <module 'pm4py.visualization.graphs.variants.cases' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\graphs\\variants\\cases.py'>>)[source]

Method to plot (non-logarithmic way) the graph with axis values contained in x and y

Parameters
  • x – Values for x-axis

  • y – Values for y-axis

  • parameters

    Parameters of the algorithm, including:

    Parameters.FORMAT -> Format of the target image Parameters.TITLE -> Title of the image

  • variant

    Variant of the algorithm to apply, including:
    • Variants.CASES

    • Variants.ATTRIBUTES

    • Variants.DATES

    • Variants.BARPLOT

Returns

Representation temporary file name

Return type

temp_file_name

pm4py.visualization.graphs.visualizer.apply_semilogx(x, y, parameters=None, variant=<Variants.CASES: <module 'pm4py.visualization.graphs.variants.cases' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\graphs\\variants\\cases.py'>>)[source]

Method to plot (semi-logarithmic way) the graph with axis values contained in x and y

Parameters
  • x – Values for x-axis

  • y – Values for y-axis

  • parameters

    Parameters of the algorithm, including:

    Parameters.FORMAT -> Format of the target image Parameters.TITLE -> Title of the image

  • variant

    Variant of the algorithm to apply, including:
    • Variants.CASES

    • Variants.ATTRIBUTES

    • Variants.DATES

    • Variants.BARPLOT

Returns

Representation temporary file name

Return type

temp_file_name

Module contents