TianchengY / hammock_plot

MIT License
0 stars 0 forks source link

space=0 gives error message #2

Closed schonlau closed 2 days ago

schonlau commented 1 week ago

space=0 gives error message but didn't use to.

ax = hammock.plot(var=var, bar_width=1, default_color="lightblue", space=0 , shape="parallelogram") ZeroDivisionError: float division by zero

schonlau commented 1 week ago

However, space=0 works for the shakespeare data :

hammock = hammock_plot.Hammock(data_df = data_df) ax = hammock.plot(var=var,shape="rectangle",label=False, bar_width=2,default_color="lightblue", space=0)

TianchengY commented 1 week ago

maybe to check space and label together