code: def _get_docs_structure(self, docs_getter, metadata):
      if metadata is not None:
          return docs_getter.get_labels_and_texts_and_meta(
              np.array(metadata)
          )
      else:
          return docs_getter.get_labels_and_texts()
  
file_path: scattertext/scattertext/ScatterChartExplorer.py
imports: import logging
  import numpy
  import pandas
  from scattertext.ScatterChart import ScatterChart
  from scattertext.Scalers import percentile_alphabetical
  from scattertext.DocsAndLabelsFromCorpus import DocsAndLabelsFromCorpus, DocsAndLabelsFromCorpusSample
label_desc: Use image node_id 5 for calling the ScatterChartExplorer obj's underlying member method code with example usage: obj._get_docs_structure(docs_getter, metadata) and returns: docs_getter, docs_getter