|
104 | 104 |
|
105 | 105 | plot_formats = [('png', 80), ('hires.png', 200), ('pdf', 50)] |
106 | 106 |
|
107 | | -# Subdirectories in 'examples/' directory of package |
108 | | -mpl_example_sections = ('lines_bars_and_markers', |
109 | | - 'shapes_and_collections', |
110 | | - 'statistics', |
111 | | - 'images_contours_and_fields', |
112 | | - 'pie_and_polar_charts', |
113 | | - 'color', |
114 | | - 'text_labels_and_annotations', |
115 | | - 'ticks_and_spines', |
116 | | - 'subplots_axes_and_figures', |
117 | | - 'specialty_plots', |
118 | | - 'showcase', |
119 | | - 'api', 'pylab_examples', |
120 | | - 'mplot3d', 'axes_grid', |
121 | | - 'units', 'widgets') |
| 107 | +# Subdirectories in 'examples/' directory of package and titles for gallery |
| 108 | +# TODO: Change to OrderedDict when Matplotlib drops support for Python < 2.7 |
| 109 | +mpl_example_sections = ( |
| 110 | + ('lines_bars_and_markers', 'Lines, bars, and markers'), |
| 111 | + ('shapes_and_collections', 'Shapes and collections'), |
| 112 | + ('statistics', 'Statistical plots'), |
| 113 | + ('images_contours_and_fields', 'Images, contours, and fields'), |
| 114 | + ('pie_and_polar_charts', 'Pie and polar charts'), |
| 115 | + ('color', 'Color'), |
| 116 | + ('text_labels_and_annotations', 'Text, labels, and annotations'), |
| 117 | + ('ticks_and_spines', 'Ticks and spines'), |
| 118 | + ('subplots_axes_and_figures', 'Subplots, axes, and figures'), |
| 119 | + ('specialty_plots', 'Specialty plots'), |
| 120 | + ('showcase', 'Showcase'), |
| 121 | + ('api', 'API'), |
| 122 | + ('pylab_examples', 'pylab examples'), |
| 123 | + ('mplot3d', 'mplot3d toolkit'), |
| 124 | + ('axes_grid', 'axes_grid toolkit'), |
| 125 | + ('units', 'units'), |
| 126 | + ('widgets', 'widgets'), |
| 127 | + ) |
122 | 128 |
|
123 | 129 |
|
124 | 130 | # Github extension |
|
0 commit comments