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

pm4py.view_events_distribution_graph: plotting weeks has overlapping x-axis #403

Closed AndreasKarasenko closed 1 year ago

AndreasKarasenko commented 1 year ago

Plotting event distributions for week of the year in a jupyter notebook leads to overlapping values on the x-axis. Would it be possible to add a tight_layout() call somewhere in the graph generation? I was looking up the tmp file that is used for displaying the graph in jupyter, and it's the same.

fit-alessandro-berti commented 1 year ago

Dear @AndreasKarasenko

Thank you for signaling. We will evaluate some changes in the x-axis for the next release

fit-alessandro-berti commented 1 year ago

Dear @AndreasKarasenko

We changed the X axis of the view_events_distribution_graph in order to allow for a more compact representation of the values:

image