MCPcopy Index your code
hub / github.com/bqplot/bqplot / grids

Function grids

bqplot/pyplot.py:412–428  ·  view source on GitHub ↗

Sets the value of the grid_lines for the axis to the passed value. The default value is `solid`. Parameters ---------- fig: Figure or None(default: None) The figure for which the axes should be edited. If the value is None, the current figure is used. value: {'no

(fig=None, value='solid')

Source from the content-addressed store, hash-verified

410
411
412def grids(fig=None, value='solid'):
413 """Sets the value of the grid_lines for the axis to the passed value.
414 The default value is `solid`.
415
416 Parameters
417 ----------
418 fig: Figure or None(default: None)
419 The figure for which the axes should be edited. If the value is None,
420 the current figure is used.
421 value: {'none', 'solid', 'dashed'}
422 The display of the grid_lines
423 """
424
425 if fig is None:
426 fig = current_figure()
427 for a in fig.axes:
428 a.grid_lines = value
429
430
431def title(label, style=None):

Callers

nothing calls this directly

Calls 1

current_figureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…