class_docstr: Syntax highlighter for the Python language.
      
code: def styles(self):
      app = QtWidgets.QApplication.instance()
      return DARK_STYLES if app.property("darkMode") else LIGHT_STYLES
  
file_path: pyqtgraph/pyqtgraph/examples/syntax.py
imports: from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 2 for calling the PythonHighlighter obj's underlying member method code with example usage: obj.styles() and returns: unknown