class_docstr: Analogous to a gridspec, and contained in another LayoutGrid.
class_docstr_tok: ["Analogous","to","a","gridspec",",","and","contained","in","another","LayoutGrid","."]
docstr: Change the size of all the margin of all the cells in the layout grid.
  
  Parameters
  ----------
  todo : string (one of 'left', 'right', 'bottom', 'top')
      margin to alter.
  
  size : float
      Size to set the margins.  Fraction of figure size.
docstr_tok: ["Change","the","size","of","all","the","margin","of","all","the","cells","in","the","layout","grid",".","Parameters","--","--","--","--","--","todo",":","string","(","one","of","'left","'",",","'right","'",",","'bottom","'",",","'top","'",")","margin","to","alter",".","size",":","float","Size","to","set","the","margins",".","Fraction","of","figure","size","."]
code: def edit_margins(self, todo, size):
      """
      Change the size of all the margin of all the cells in the layout grid.
  
      Parameters
      ----------
      todo : string (one of 'left', 'right', 'bottom', 'top')
          margin to alter.
  
      size : float
          Size to set the margins.  Fraction of figure size.
      """
  
      for i in range(len(self.margin_vals[todo])):
          self.edit_margin(todo, size, i)
  
imports: import itertools
  import kiwisolver
  import logging
  import numpy
  import matplotlib
  import matplotlib.patches
  from matplotlib.transforms import Bbox
label_desc: Use image node_id 11 for calling the LayoutGrid obj's underlying member method code with example usage: obj.edit_margins(todo, size) without return types