code: def screeplot_test():
      kwargs = {}
      kwargs["server"] = True
      australia = h2o.upload_file(
          pyunit_utils.locate("smalldata/pca_test/AustraliaCoast.csv")
      )
      australia_pca = H2OPCA(k=4, transform="STANDARDIZE")
      australia_pca.train(x=list(range(8)), training_frame=australia)
      australia_pca.screeplot(type="barplot", **kwargs)
      australia_pca.screeplot(type="lines", **kwargs)
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.pca import H2OPrincipalComponentAnalysisEstimator
label_desc: Use image node_id 1 for calling a global function with example usage: screeplot_test() without return types