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

width problems with a thousand blocks #2

Open
lincolnfrias opened this issue Nov 23, 2017 · 2 comments
Open

width problems with a thousand blocks #2

lincolnfrias opened this issue Nov 23, 2017 · 2 comments

Comments

@lincolnfrias
Copy link

When plotting a larger number of blocks, the width of the white space between them become unstable:

plt.figure(
    FigureClass=Waffle,
    rows=20,
    columns=80,
    values=[300, 700],
    figsize=(18, 10)
);
plt.savefig('example.png')

image

This is probably outside the original scope of the package and maybe should even be discouraged, but sometimes is useful to give the reader the impression of dealing with a large population. Feel free to close this issue.

@gyli
Copy link
Owner

gyli commented Aug 17, 2018

I have verified the output block from pywaffle and looks like those spacing are all the same. Therefore, I am afraid it's more like a matplotlib plotting issue.

@gyli
Copy link
Owner

gyli commented Oct 6, 2019

Sorry for the late follow up response. I doubt that this could be an issue of Matplotlib since I have the same issue when scaling figures with parameter dpi when saving the figure to a file.

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