class_docstr: Widget to facilitate plotting
  
  Parameters
  ----------
  *args : arguments
      Arguments passed to the `ViewBox` super class.
  **kwargs : keywoard arguments
      Keyword arguments passed to the `ViewBox` super class.
  
  Notes
  -----
  This class is typically instantiated implicitly by a `Figure`
  instance, e.g., by doing ``fig[0, 0]``.
class_docstr_tok: ["Widget","to","facilitate","plotting","Parameters","--","--","--","--","--","*","args",":","arguments","Arguments","passed","to","the","`","ViewBox","`","super","class",".","*","*","kwargs",":","keywoard","arguments","Keyword","arguments","passed","to","the","`","ViewBox","`","super","class",".","Notes","--","--","-","This","class","is","typically","instantiated","implicitly","by","a","`","Figure","`","instance",",","e.g.",",","by","doing","``","fig","[","0",",","0","]","``","."]
docstr: Show a 3D surface plot.
  
  Extra keyword arguments are passed to `SurfacePlot()`.
  
  Parameters
  ----------
  zdata : array-like
      A 2D array of the surface Z values.
docstr_tok: ["Show","a","3D","surface","plot",".","Extra","keyword","arguments","are","passed","to","`","SurfacePlot","(",")","`",".","Parameters","--","--","--","--","--","zdata",":","array-like","A","2D","array","of","the","surface","Z","values","."]
code: def surface(self, zdata, **kwargs):
      """Show a 3D surface plot.
  
      Extra keyword arguments are passed to `SurfacePlot()`.
  
      Parameters
      ----------
      zdata : array-like
          A 2D array of the surface Z values.
  
      """
      self._configure_3d()
      surf = scene.SurfacePlot(z=zdata, **kwargs)
      self.view.add(surf)
      self.view.camera.set_range()
      return surf
  
file_path: vispy/vispy/plot/plotwidget.py
imports: from ..None import scene
  from ..io import read_mesh
  from ..geometry import MeshData
label_desc: Use image node_id 10 for calling the PlotWidget obj's underlying member method code with example usage: obj.surface(zdata) and returns: surf