|
20 | 20 | switches with a --. |
21 | 21 | """ |
22 | 22 |
|
23 | | -import os, time, sys, glob, string |
| 23 | +import os |
| 24 | +import time |
| 25 | +import sys |
| 26 | +import glob |
24 | 27 | from optparse import OptionParser |
| 28 | + |
25 | 29 | import matplotlib.rcsetup as rcsetup |
26 | 30 | from matplotlib.cbook import Bunch, dedent |
27 | 31 |
|
| 32 | + |
28 | 33 | all_backends = list(rcsetup.all_backends) # to leave the original list alone |
29 | 34 |
|
30 | 35 | # actual physical directory for each dir |
31 | | -dirs = dict(pylab = os.path.join('..', 'pylab_examples'), |
| 36 | +dirs = dict(files=os.path.join('..', 'lines_bars_and_markers'), |
| 37 | + shapes=os.path.join('..', 'shapes_and_collections'), |
| 38 | + images=os.path.join('..', 'images_contours_and_fields'), |
| 39 | + pie=os.path.join('..', 'pie_and_polar_charts'), |
| 40 | + text=os.path.join('..', 'text_labels_and_annotations'), |
| 41 | + ticks=os.path.join('..', 'ticks_and_spines'), |
| 42 | + subplots=os.path.join('..', 'subplots_axes_and_figures'), |
| 43 | + specialty=os.path.join('..', 'specialty_plots'), |
| 44 | + showcase=os.path.join('..', 'showcase'), |
| 45 | + reference=os.path.join('..', 'reference'), |
| 46 | + pylab = os.path.join('..', 'pylab_examples'), |
32 | 47 | api = os.path.join('..', 'api'), |
33 | 48 | units = os.path.join('..', 'units'), |
34 | 49 | mplot3d = os.path.join('..', 'mplot3d')) |
35 | 50 |
|
| 51 | + |
36 | 52 | # files in each dir |
37 | 53 | files = dict() |
| 54 | + |
| 55 | +files['lines'] = [ |
| 56 | + 'fill_demo.py', |
| 57 | + 'fill_demo_features.py', |
| 58 | + ] |
| 59 | + |
| 60 | +files['shapes'] = [ |
| 61 | + 'scatter_demo.py', |
| 62 | + ] |
| 63 | + |
| 64 | +files['images'] = [ |
| 65 | + 'imshow_demo.py', |
| 66 | + ] |
| 67 | + |
| 68 | + |
| 69 | +files['statistics'] = [ |
| 70 | + 'errorbar_demo.py', |
| 71 | + 'errorbar_demo_features.py', |
| 72 | + 'histogram_demo_features.py', |
| 73 | + ] |
| 74 | + |
| 75 | +files['pie'] = [ |
| 76 | + 'pie_demo.py', |
| 77 | + ] |
| 78 | + |
38 | 79 | files['pylab'] = [ |
DB7C
39 | 80 | 'accented_text.py', |
40 | 81 | 'alignment_test.py', |
|
86 | 127 | 'ellipse_demo.py', |
87 | 128 | 'ellipse_rotated.py', |
88 | 129 | 'equal_aspect_ratio.py', |
89 | | - 'errorbar_demo.py', |
90 | 130 | 'errorbar_limits.py', |
91 | 131 | 'fancyarrow_demo.py', |
92 | 132 | 'fancybox_demo.py', |
|
96 | 136 | 'figlegend_demo.py', |
97 | 137 | 'figure_title.py', |
98 | 138 | 'fill_between_demo.py', |
99 | | - 'fill_demo.py', |
100 | | - 'fill_demo2.py', |
101 | 139 | 'fill_spiral.py', |
102 | 140 | 'finance_demo.py', |
103 | 141 | 'findobj_demo.py', |
|
111 | 149 | 'hexbin_demo.py', |
112 | 150 | 'hexbin_demo2.py', |
113 | 151 | 'hist_colormapped.py', |
114 | | - 'histogram_demo.py', |
115 | 152 | 'histogram_demo_extended.py', |
116 | 153 | 'hline_demo.py', |
117 | 154 |
|
118 | 155 | 'image_clip_path.py', |
119 | 156 | 'image_demo.py', |
120 | 157 | 'image_demo2.py', |
121 | | - 'image_demo3.py', |
122 | 158 | 'image_interp.py', |
123 | 159 | 'image_masked.py', |
124 | 160 | 'image_nonuniform.py', |
|
158 | 194 | 'pcolor_demo2.py', |
159 | 195 | 'pcolor_log.py', |
160 | 196 | 'pcolor_small.py', |
161 | | - 'pie_demo.py', |
162 | 197 | 'pie_demo2.py', |
163 | 198 | 'plotfile_demo.py', |
164 | 199 | 'polar_bar.py', |
|
172 | 207 | 'quadmesh_demo.py', |
173 | 208 | 'quiver_demo.py', |
174 | 209 | 'scatter_custom_symbol.py', |
175 | | - 'scatter_demo.py', |
176 | 210 | 'scatter_demo2.py', |
177 | 211 | 'scatter_masked.py', |
178 | 212 | 'scatter_profile.py', |
|
0 commit comments