code: def render_plot(data, config):
      """Renders the plot view in Jupyter.
  
      Args:
        data: A dictionary containing plot data.
        config: A dictionary of the configuration.
  
      Returns:
        A PlotViewer.
      """
      view = tfma_widget.PlotViewer()
      view.data = data
      view.config = config
  
      return view
  
imports: import tensorflow_model_analysis.notebook.jupyter.tfma_widget
label_desc: Use image node_id 3 for calling a global function with example usage: render_plot(data, config) and returns: view