class_docstr: Color choosing push button
class_docstr_tok: ["Color","choosing","push","button"]
code: def set_color(self, color):
      if color != self._color:
          self._color = color
          self.colorChanged.emit(self._color)
          pixmap = QtGui.QPixmap(self.iconSize())
          pixmap.fill(color)
          self.setIcon(QtGui.QIcon(pixmap))
  
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 4 for calling the ColorButton obj's underlying member method code with example usage: obj.set_color(color) without return types