code: def __init__(self, data, comment="", parent=None):
      QtWidgets.QWidget.__init__(self, parent)
      self.data = copy.deepcopy(data)
      self.widgets = []
      self.formlayout = QtWidgets.QFormLayout(self)
      if comment:
          self.formlayout.addRow(QtWidgets.QLabel(comment))
          self.formlayout.addRow(QtWidgets.QLabel(" "))
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import copy
  import datetime
  import warnings
  import six
  from matplotlib import colors
  from matplotlib.backends.qt_compat import QtGui, QtWidgets, QtCore
label_desc: Use image node_id 1 to create a new FormWidget object from inherited base classes: QtWidgets with example: obj = FormWidget(data, comment, parent)