code: def test_glm_plot():
      training_data = h2o.import_file(
          pyunit_utils.locate("smalldata/logreg/benign.csv")
      )
      Y = 3
      X = [0, 1, 2, 4, 5, 6, 7, 8, 9, 10]
  
      model = H2OGeneralizedLinearEstimator(
          family="binomial", alpha=0, Lambda=1e-5
      )
      model.train(x=X, y=Y, training_frame=training_data)
      model.plot(
          metric="objective", server=True
      )  # make sure graph will not show.
  
      try:
          model.plot(metric="auc")
          sys.exit(1)  # should have invoked an error
      except:
          sys.exit(0)
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.glm import H2OGeneralizedLinearEstimator
label_desc: Use image node_id 1 for calling a global function with example usage: test_glm_plot() without return types