code: def testCalibrationPlotWithSchema(
      self,
      eval_config,
      schema,
      model_names,
      output_names,
      expected_left,
      expected_range,
  ):
      computations = calibration_plot.CalibrationPlot(
          num_buckets=10
      ).computations(
          eval_config=eval_config,
          schema=schema,
          model_names=model_names,
          output_names=output_names,
      )
      histogram = computations[0]
      self.assertEqual(expected_left, histogram.combiner._left)
      self.assertEqual(expected_range, histogram.combiner._range)
  
file_path: model-analysis/tensorflow_model_analysis/metrics/calibration_plot_test.py
imports: from absl.testing import parameterized
  import apache_beam
  from apache_beam.testing import util
  import numpy
  import tensorflow
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.metrics import calibration_plot
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.proto import config_pb2
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 2 for calling the CalibrationPlotTest obj's underlying member method code with example usage: obj.testCalibrationPlotWithSchema(eval_config, schema, model_names, output_names, expected_left, expected_range) without return types