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 the margin for one cell.
  
  Parameters
  ----------
  todo : string (one of 'left', 'right', 'bottom', 'top')
      margin to alter.
  
  size : float
      Size of the margin.  If it is larger than the existing minimum it
      updates the margin size. Fraction of figure size.
  
  cell : int
      Cell column or row to edit.
docstr_tok: ["Change","the","size","of","the","margin","for","one","cell",".","Parameters","--","--","--","--","--","todo",":","string","(","one","of","'left","'",",","'right","'",",","'bottom","'",",","'top","'",")","margin","to","alter",".","size",":","float","Size","of","the","margin",".","If","it","is","larger","than","the","existing","minimum","it","updates","the","margin","size",".","Fraction","of","figure","size",".","cell",":","int","Cell","column","or","row","to","edit","."]
code: def edit_margin(self, todo, size, cell):
      """
      Change the size of the margin for one cell.
  
      Parameters
      ----------
      todo : string (one of 'left', 'right', 'bottom', 'top')
          margin to alter.
  
      size : float
          Size of the margin.  If it is larger than the existing minimum it
          updates the margin size. Fraction of figure size.
  
      cell : int
          Cell column or row to edit.
      """
      self.solver.suggestValue(self.margins[todo][cell], size)
      self.margin_vals[todo][cell] = size
  
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 9 for calling the LayoutGrid obj's underlying member method code with example usage: obj.edit_margin(todo, size, cell) without return types