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')
| 410 | |
| 411 | |
| 412 | def 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 | |
| 431 | def title(label, style=None): |
nothing calls this directly
no test coverage detected
searching dependent graphs…