Repository navigation
Changed fill.py example to be less misleading - #11009
Merged
Merged
Conversation
Member
|
Thanks for the update. I don't find the polygon particularly instructive:
maybe simply Minor things:
|
Author
|
Sure, no problem. I've removed the grid and made the first example a square and outlined it in black with |
Member
|
Sorry, I didn't mean |
Author
|
No worries, just changed it! |
timhoffm
approved these changes
Apr 11, 2018
jklymak
added a commit
that referenced
this pull request
Apr 12, 2018
Backport PR #11009 on branch v2.2.2-doc
16 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
I've changed /examples/lines_bars_and_markers/fill.py to be less misleading, following issues #5827 and #7956.
These plots were over-simplified because fill was acting just like fill_between, since the final line of the region to be filled was completely along the x-axis. I've changed the first example to be a simple polygon (as suggested in #5827) and the second to not have the final point at y=0 anymore. I've also outlined the region being filled, to make what's going on more obvious.
PR Checklist