code: def grids(fig=None, value='solid'):
      
  
      if fig is None:
          fig = current_figure()
      for a in fig.axes:
          a.grid_lines = value
docs: 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: {'none', 'solid', 'dashed'}
          The display of the grid_lines