Example section of the docstring. This should be as simple as
possible to demonstrate the method. More complex examples should go
in the examples section of the documentation.doc/users/whats_new.rst.doc/api/api_changes.rst.'[MRG+1]' and use
the github ‘approve review’
tool to mark it as such. If you are a subsequent reviewer and you
approve, either merge (and backport if needed) or select 'approve review' and
increment the number in the title to ask for further review.
If you do the merge, please remove the '[MRG+N'] prefix.tox support in Matplotlib may be useful for testing locally.When doing backports please include the branch you backported the commit to along with the SHA in a comment on the original PR.
We do a backport from master to v2.0.x assuming:
matplotlib is a read-only remote branch of the matplotlib/matplotlib repoDANGER is a read/write remote branch of the matplotlib/matplotlib repoThe TARGET_SHA is the hash of the merge commit you would like to
backport. This can be read off of the github PR page (in the UI with
the merge notification) or through the git CLI tools.:
git fetch matplotlib
git checkout v2.0.x
git merge --ff-only matplotlib/v2.0.x
git cherry-pick -m 1 TARGET_SHA
git log --graph --decorate # to look at it
# local tests? (use your judgment)
git push DANGER v2.0.x
# leave a comment on PR noting sha of the resulting commit
# from the cherry-pick + branch it was moved to
These commands work on git 2.7.1.