gyli / PyWaffle

🧇 Make Waffle Charts in Python.
MIT License
578 stars 105 forks source link

cant specify columns #14

Closed rtphokie closed 4 years ago

rtphokie commented 4 years ago

Each chart I create (python 3.7.4, PyWaffle 0.2.3) is coming out square regardless of what is passed in the columns parameter. Its as if the columns parameter is being overwritten by what is passed to rows

    plt.figure(
        FigureClass=Waffle,
        rows=5,
        columns=10,
        values=[150, 75, 25],
        figsize=(16, 9)
    );
    plt.savefig('example.png')

example

gyli commented 4 years ago

Interesting. Thanks for submitting the issue and I will take a look. For now, could you please rollback the version to 0.2.1

rtphokie commented 4 years ago

The problem is not present in 0.2.1: (same sample code as above) example

gyli commented 4 years ago

Fixed. Please upgrade to 0.2.4.