-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
[MRG+1] EXA Fixing plots for Out-of-core classification of text documents example #12359
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
Conversation
@qinhanmin2014 I mentioned this in this issue: #12224 |
Thanks, why WIP? |
That's right, labels on the middle would probably look better. I'll try it out and compare both tomorrow. Once it's done, I'll change the title to MRG if there isn't anything else that should be updated. |
At least you'll have +1 from me if you center the labels :) |
Sounds good 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @xhlulu
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally I'm not convinced we should use tight_layout
everywhere, but the labels rotation is a clear improvement. LGTM, thanks @xhlulu !
Thank you all! |
…documents example (scikit-learn#12359)" This reverts commit c3e96a7.
…documents example (scikit-learn#12359)" This reverts commit c3e96a7.
Reference Issues/PRs
What does this implement/fix? Explain your changes.
The current Out-of-core classification of text documents generates figures with overlapping and cropped label names. This fixes the problem by adjusting the layout (using
plt.tight_layout
) for figure 3 and 4 and rotating the label for figure 3.Here are the current images:
Here are the new generated images:
Any other comments?