class_docstr: Color choosing push button
class_docstr_tok: ["Color","choosing","push","button"]
code: def choose_color(self):
      color = QtWidgets.QColorDialog.getColor(
          self._color,
          self.parentWidget(),
          "",
          QtWidgets.QColorDialog.ShowAlphaChannel,
      )
      if color.isValid():
          self.set_color(color)
  
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 2 for calling the ColorButton obj's underlying member method code with example usage: obj.choose_color() without return types