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

Skip to content

Commit 2847a8a

Browse files
committed
add toolkits plot dirs to website
svn path=/trunk/matplotlib/; revision=7161
1 parent d9b12f4 commit 2847a8a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

doc/sphinxext/gen_gallery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def gen_gallery(app, doctree):
3838
print
3939
print "generating gallery: ",
4040
data = []
41-
for subdir in ('api', 'pylab_examples', 'widgets', 'mplot3d'):
41+
for subdir in ('api', 'pylab_examples', 'mplot3d', 'widgets', 'axes_grid' ):
4242
origdir = os.path.join('build', rootdir, subdir)
4343
thumbdir = os.path.join(outdir, rootdir, subdir, 'thumbnails')
4444
if not os.path.exists(thumbdir):

doc/sphinxext/gen_rst.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ def generate_example_rst(app):
128128

129129
do_plot = (subdir in ('api',
130130
'pylab_examples',
131-
'units') and
131+
'units',
132+
'mplot3d',
133+
'axes_grid',
134+
) and
132135
not noplot_regex.search(contents))
133136

134137
if do_plot:

0 commit comments

Comments
 (0)