Generator of lines for the automated part of pyplot.
()
| 200 | |
| 201 | |
| 202 | def boilerplate_gen(): |
| 203 | """Generator of lines for the automated part of pyplot.""" |
| 204 | |
| 205 | _figure_commands = ( |
| 206 | 'figimage', |
| 207 | 'figtext:text', |
| 208 | 'gca', |
| 209 | 'gci:_gci', |
| 210 | 'ginput', |
| 211 | 'subplots_adjust', |
| 212 | 'suptitle', |
| 213 | 'tight_layout', |
| 214 | 'waitforbuttonpress', |
| 215 | ) |
| 216 | |
| 217 | # These methods are all simple wrappers of Axes methods by the same name. |
| 218 | _axes_commands = ( |
| 219 | 'acorr', |
| 220 | 'angle_spectrum', |
| 221 | 'annotate', |
| 222 | 'arrow', |
| 223 | 'autoscale', |
| 224 | 'axhline', |
| 225 | 'axhspan', |
| 226 | 'axis', |
| 227 | 'axline', |
| 228 | 'axvline', |
| 229 | 'axvspan', |
| 230 | 'bar', |
| 231 | 'barbs', |
| 232 | 'barh', |
| 233 | 'bar_label', |
| 234 | 'boxplot', |
| 235 | 'broken_barh', |
| 236 | 'clabel', |
| 237 | 'cohere', |
| 238 | 'contour', |
| 239 | 'contourf', |
| 240 | 'csd', |
| 241 | 'ecdf', |
| 242 | 'errorbar', |
| 243 | 'eventplot', |
| 244 | 'fill', |
| 245 | 'fill_between', |
| 246 | 'fill_betweenx', |
| 247 | 'grid', |
| 248 | 'grouped_bar', |
| 249 | 'hexbin', |
| 250 | 'hist', |
| 251 | 'stairs', |
| 252 | 'hist2d', |
| 253 | 'hlines', |
| 254 | 'imshow', |
| 255 | 'legend', |
| 256 | 'locator_params', |
| 257 | 'loglog', |
| 258 | 'magnitude_spectrum', |
| 259 | 'margins', |
no test coverage detected
searching dependent graphs…