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

Bug using fig.savefig #1

Open
NicolasMICAUX opened this issue May 7, 2022 · 3 comments
Open

Bug using fig.savefig #1

NicolasMICAUX opened this issue May 7, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@NicolasMICAUX
Copy link

Hi,
First, thx a lot for your amazing lib.

There's a mismatch between the image that is displayed with plt.show() and the image generated with fig.savefig() (and also with the image that you get by clicking Save the figure in plt.show window :

I don't know if you understand why?

Regards,
N. M.

PLT SHOW SCREENSHOT :
image

PLT "SAVE THE FIGURE"
Figure_1
(see the top right texts for example)

PLT SAVEFIG
Importance des réformateurs (calculée par PageRank)

@chenyulue
Copy link
Owner

Thanks for this bug report. I guess this may be caused by the incorrect update when the draw event happens. When I'm free, I'll try to fix this bug.

@chenyulue chenyulue added the bug Something isn't working label May 8, 2022
chenyulue added a commit that referenced this issue May 10, 2022
@chenyulue
Copy link
Owner

Hi, @NicolasMICAUX , an update is uploaded, and the bug should be solved. Please check it. If any problems, please leave a comment.

@chenyulue
Copy link
Owner

BTW, treemap has a little change. The wrap parameter is renamed to reflow for not introducing confusion, since matplotlib.text.Text has the wrap parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants