MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / boilerplate_gen

Function boilerplate_gen

tools/boilerplate.py:202–376  ·  view source on GitHub ↗

Generator of lines for the automated part of pyplot.

()

Source from the content-addressed store, hash-verified

200
201
202def 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',

Callers 1

build_pyplotFunction · 0.85

Calls 2

generate_functionFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…