class_docstr: Object representing a complex data producer.
class_docstr_tok: ["Object","representing","a","complex","data","producer","."]
code: def stop_data(self):
      print("Data source is quitting...")
      self._should_end = True
  
imports: import time
  from math import sin, pi
  import numpy
  from PyQt5 import QtWidgets, QtCore
  from vispy.scene import SceneCanvas, visuals
  from vispy.app import use_app
label_desc: Use image node_id 5 for calling the DataSource obj's underlying member method code with example usage: obj.stop_data() without return types