Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a9f746

Browse files
committed
fixed np clip bug and some other cleanup
svn path=/trunk/matplotlib/; revision=6279
1 parent 465ac79 commit 0a9f746

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

doc/_templates/indexsidebar.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ <h3>Download</h3>
1111
and mapping toolkit
1212
<a href="http://matplotlib.sf.net/basemap/doc/html">basemap</a>.</p>
1313

14+
<p>Please <a href=https://sourceforge.net/my/donations.php>donate</a>
15+
to support matplotlib development</p>
16+
1417
<h3>Need help?</h3>
1518

1619
<p>Check the <a href="{{ pathto('users/index') }}">user</a> guide,

doc/examples/gen_rst.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ def out_of_date(original, derived):
1515
"""
1616
Returns True if derivative is out-of-date wrt original,
1717
both of which are full file paths.
18+
19+
TODO: this check isn't adequate in some cases. Eg, if we discover
20+
a bug when building the examples, the original and erivederived
21+
will be unchanged but we still want to fource a rebuild. We can
22+
manually remove from _static, but we may need another solution
1823
"""
1924
return (not os.path.exists(derived) or
2025
os.stat(derived).st_mtime < os.stat(original).st_mtime)
@@ -135,7 +140,7 @@ def out_of_date(original, derived):
135140
contents = '\n'.join([' %s'%row.rstrip() for row in contents.split('\n')])
136141
fh.write(contents)
137142

138-
fh.write('\n\nKeyword: codex (see :ref:`how-to-search-examples`)')
143+
fh.write('\n\nKeywords: codex (see :ref:`how-to-search-examples`), python, matplotlib, pylab')
139144
fh.close()
140145

141146
fhsubdirIndex.close()

0 commit comments

Comments
 (0)