parameters: (mesh, data=None, **kwargs)
docstring: Make use of the actual 3D visualization tool kit
  
      Parameters
      ----------
      data: pg.Vector or np.ndarray
          Dictionary of cell values, sorted by key. The values need to be
          numpy arrays.
  
      Returns
      -------
      plotter: pyvista.Plotter
          The plotter from pyvista.
      gui: Show3D [None]
          The small gui based on pyvista. Note that this is returned as 'None'
          if gui is passed as 'False'.
  
      Note
      ----
      Not having PyQt5 installed results in displaying the first key
      (and values) from the dictionary.
docstring_summary: Make use of the actual 3D visualization tool kit
docstring_tokens: Make use of the actual 3D visualization tool kit
function: def showMesh3DVista(mesh, data=None, **kwargs):
      """
      Make use of the actual 3D visualization tool kit
  
      Parameters
      ----------
      data: pg.Vector or np.ndarray
          Dictionary of cell values, sorted by key. The values need to be
          numpy arrays.
  
      Returns
      -------
      plotter: pyvista.Plotter
          The plotter from pyvista.
      gui: Show3D [None]
          The small gui based on pyvista. Note that this is returned as 'None'
          if gui is passed as 'False'.
  
      Note
      ----
      Not having PyQt5 installed results in displaying the first key
      (and values) from the dictionary.
      """
      hold = kwargs.pop('hold', False)
      cmap = kwargs.pop('cmap', 'viridis')
      notebook = kwargs.pop('notebook', _inlineBackend_)
      gui = kwargs.pop('gui', False)
  
      # add given data from argument
      if gui:
          app = Qt.QApplication(sys.argv)
          s3d = Show3D(app)
          s3d.addMesh(mesh, data, cmap=cmap, **kwargs)
          if not hold:
              s3d.wait()
          return s3d.plotter, s3d  # plotter, gui
  
      else:
          if notebook:
              pyvista.set_plot_theme('document')
  
          try:
              plotter = drawModel(None, mesh, data, notebook=notebook, cmap=cmap,
                                  **kwargs)
          except Exception as e:
              print(e)
              pg.error("fix pyvista bindings")
  
          if not hold:
              plotter.show()
          return plotter, None
function_tokens: def showMesh3DVista ( mesh , data = None , * * kwargs ) : hold = kwargs . pop ( 'hold' , False ) cmap = kwargs . pop ( 'cmap' , 'viridis' ) notebook = kwargs . pop ( 'notebook' , _inlineBackend_ ) gui = kwargs . pop ( 'gui' , False ) # add given data from argument if gui : app = Qt . QApplication ( sys . argv ) s3d = Show3D ( app ) s3d . addMesh ( mesh , data , cmap = cmap , * * kwargs ) if not hold : s3d . wait ( ) return s3d . plotter , s3d # plotter, gui else : if notebook : pyvista . set_plot_theme ( 'document' ) try : plotter = drawModel ( None , mesh , data , notebook = notebook , cmap = cmap , * * kwargs ) except Exception as e : print ( e ) pg . error ( "fix pyvista bindings" ) if not hold : plotter . show ( ) return plotter , None