code: def grids(fig=None, value="solid"):
      """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
      """
  
      if fig is None:
          fig = current_figure()
      for a in fig.axes:
          a.grid_lines = value
  
imports: import sys
  from collections import OrderedDict
  from IPython.display import display
  from ipywidgets import Image
  from numpy import arange, issubdtype, array, column_stack, shape
  from .figure import Figure
  from bqscales import Scale, LinearScale, Mercator
  from .axes import Axis
  from .marks import Lines, Scatter, Hist, Bars, OHLC, Pie, Map, Image, Label, HeatMap, GridHeatMap, topo_load, Boxplot, Bins
  from .interacts import BrushIntervalSelector, FastIntervalSelector, BrushSelector, IndexSelector, MultiSelector, LassoSelector
  from traitlets.utils.sentinel import Sentinel
  import functools
label_desc: Use image node_id 14 for calling a global function with example usage: grids(fig, value) without return types