pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

Dotted chart doesn't work #288

Closed vagalvez closed 2 years ago

vagalvez commented 2 years ago

Hi there,

When I run the following code to import the dotted chart visualizer:

from pm4py.visualization.dotted_chart import visualizer as dotted_chart_visualizer

I get a ModuleNotFoundError:

ModuleNotFoundError: No module named 'pm4py.visualization.dotted_chart'

Tried to solve it finding possible new names for the visualization file in the repository (such as writing 'petri' instead of 'petri_net' in the code to create petri nets), but I couldn't.

Any help?

Thanks!

fit-alessandro-berti commented 2 years ago

Dear vagalvez,

Please update your PM4Py version with the command: pip install -U pm4py If you are working with Conda / Pycharm environments, please check if they are also updated to latest version of PM4Py.

Then it should be working

vagalvez commented 2 years ago

Dear Alessandro,

Now it works! thanks for the help 😁