code: def set_result_text(self, ax):
      max_rows = get_option("plotting.max_rows")
      assert hasattr(self, "partial")
  
      if self.partial:
          ax.text(
              1,
              1,
              "showing top {} elements only".format(max_rows),
              size=6,
              ha="right",
              va="bottom",
              transform=ax.transAxes,
          )
  
imports: import importlib
  import pandas
  import numpy
  from pandas.core.base import PandasObject
  from pandas.core.dtypes.inference import is_integer
  from pyspark.ml.feature import Bucketizer
  from pyspark.mllib.stat import KernelDensity
  from pyspark.sql import functions
  from pyspark.pandas.missing import unsupported_function
  from pyspark.pandas.config import get_option
  from pyspark.pandas.utils import name_like_string
label_desc: Use image node_id 2 for calling the TopNPlotBase obj's underlying member method code with example usage: obj.set_result_text(ax) without return types