-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
FIX Fixes plot_tree from going out of bounds #21917
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
FIX Fixes plot_tree from going out of bounds #21917
Conversation
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.
I pushed a small refactoring of the example to use the notebook style and make the phrasing more explicit in the title of the 2D decision surface plots.
The rendering looks good locally. No cropping issue with the latest matplotlib (3.5.0).
The link of "ci/circleci: doc artifact" gives |
That's new. It worked recently on other PRs... |
The circle ci artifacts have been updated successfully in the doc circle ci build: https://158-135866406-gh.circle-artifacts.com/0/doc/_changed.html but the direct link to circle ci artifact in the github report is |
For some reason the artifact link points to the previous commit build artifact (the previous commit build had a failure so no artifact can be found). Maybe just a temporary glitch? 🤞 |
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 @thomasjpfan! |
Reference Issues/PRs
Fixes #21908
What does this implement/fix? Explain your changes.
Changes the coordination system to use
xycoords="axes fraction"
. This means all the xy coords are between (0.0, 1.0), which I think is easier to reason about.