Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant specify columns #14

Closed
rtphokie opened this issue Sep 26, 2019 · 3 comments
Closed

cant specify columns #14

rtphokie opened this issue Sep 26, 2019 · 3 comments

Comments

@rtphokie
Copy link

rtphokie commented Sep 26, 2019

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
Copy link
Owner

gyli commented Sep 26, 2019

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
Copy link
Author

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

@gyli
Copy link
Owner

gyli commented Sep 26, 2019

Fixed. Please upgrade to 0.2.4.

@gyli gyli closed this as completed Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants