Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Issue 2899#2923
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Issue 2899#2923
Changes fromall commits
3b767f6
3ceade6
bd55ab2
7cb6066
06fd264
d618546
3523760
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -277,8 +277,16 @@ Writing a new pyplot function | ||
----------------------------- | ||
A large portion of the pyplot interface is automatically generated by the | ||
`boilerplate.py` script (in the root of the source tree). To add or remove | ||
a plotting method from pyplot, edit the appropriate list in `boilerplate.py` | ||
and then run the script which will update the content in | ||
`lib/matplotlib/pyplot.py`. Both the changes in `boilerplate.py` and | ||
`lib/matplotlib/pyplot.py` should be checked into the repository. | ||
Note: boilerplate.py looks for changes in the installed version of matplotlib | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Five years ago, ine91c5a1, I commented out the line that was making boilerplate look first in the local tree, without removing the comment that went with that line. I don't know why I did that. If the present behavior is what we want, then the first two lines in the excerpt from boilerplate, below, should be deleted. I suspect the present behavior makes sense because otherwise python code would be found in the source tree but compiled extensions would be from the installed version, so they could be out of sync. # import the local copy of matplotlib, not the installed one#sys.path.insert(0, './lib')frommatplotlib.axesimportAxes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. @efiring | ||
and not the source tree. If you expect the pyplot.py file to show your new | ||
changes, but they are missing, this might be the cause. | ||
Install your new files by running `python setup.py build` and `python setup.py | ||
install` followed by `python boilerplate.py`. The new pyplot.py file should now | ||
have the latest changes. |
Uh oh!
There was an error while loading.Please reload this page.