class_docstr: Used for laying out GraphicsWidgets in a grid.
  This is usually created automatically as part of a :class:`GraphicsLayoutWidget <pyqtgraph.GraphicsLayoutWidget>`.
class_docstr_tok: ["Used","for","laying","out","GraphicsWidgets","in","a","grid",".","This","is","usually","created","automatically","as","part","of","a",":","class",":","`","GraphicsLayoutWidget","<","pyqtgraph.GraphicsLayoutWidget",">","`","."]
code: def setContentsMargins(self, *args):
      # Wrap calls to layout. This should happen automatically, but there
      # seems to be a Qt bug:
      # http://stackoverflow.com/questions/27092164/margins-in-pyqtgraphs-graphicslayout
      self.layout.setContentsMargins(*args)
  
imports: from ..None import functions
  from ..Qt import QtWidgets
  from .GraphicsWidget import GraphicsWidget
  from .LabelItem import LabelItem
  from .PlotItem import PlotItem
  from .ViewBox import ViewBox
label_desc: Use image node_id 16 for calling the GraphicsLayout obj's underlying member method code with example usage: obj.setContentsMargins() without return types