class_docstr: Intended parent class for plotting
  modes. Provides base functionality
  in conjunction with its parent,
  PlotMode.
class_docstr_tok: ["Intended","parent","class","for","plotting","modes",".","Provides","base","functionality","in","conjunction","with","its","parent",",","PlotMode","."]
docstr: Push a function which performs gl commands
  used to build a display list. (The list is
  built outside of the function)
docstr_tok: ["Push","a","function","which","performs","gl","commands","used","to","build","a","display","list",".","(","The","list","is","built","outside","of","the","function",")"]
code: def push_wireframe(self, function):
      """
      Push a function which performs gl commands
      used to build a display list. (The list is
      built outside of the function)
      """
      assert callable(function)
      self._draw_wireframe.append(function)
      if len(self._draw_wireframe) > self._max_render_stack_size:
          del self._draw_wireframe[1]
  
imports: import pyglet.gl
  from sympy.core import S
  from sympy.plotting.pygletplot.color_scheme import ColorScheme
  from sympy.plotting.pygletplot.plot_mode import PlotMode
  from sympy.utilities.iterables import is_sequence
  from time import sleep
  from threading import Thread, Event, RLock
  import warnings
label_desc: Use image node_id 8 for calling the PlotModeBase obj's underlying member method code with example usage: obj.push_wireframe(function) without return types