code: def test_view_plot():
      dataset = foz.load_zoo_dataset("quickstart")
      dataset.compute_metadata()
  
      plot1 = fo.NumericalHistogram(
          F("metadata.size_bytes") / 1024,
          bins=50,
          xlabel="image size (KB)",
          init_view=dataset,
      )
      plot1.show()
  
      plot2 = fo.NumericalHistogram(
          "predictions.detections.confidence",
          bins=50,
          range=[0, 1],
          init_view=dataset,
      )
      plot2.show()
  
      plot3 = fo.CategoricalHistogram(
          "ground_truth.detections.label",
          order="frequency",
          init_view=dataset,
      )
      plot3.show()
  
      plot4 = fo.CategoricalHistogram(
          "predictions.detections.label",
          order="frequency",
          init_view=dataset,
      )
      plot4.show()
  
      input("Press enter to continue...")
  
      plot = fo.ViewGrid(
          [plot1, plot2, plot3, plot4], init_view=dataset
      )
      plot.show()
  
      input("Press enter to continue...")
  
      view = dataset.take(51)
      plot.update_view(view)
      plot.show()
  
      input("Press enter to continue...")
  
imports: import random
  import unittest
  import numpy
  import fiftyone
  import fiftyone.brain
  import fiftyone.zoo
  from fiftyone import ViewField
label_desc: Use image node_id 28 for calling a global function with example usage: test_view_plot() without return types