code: def plotDocument(doc, fig, **kwargs):
      doc.normalize()
      locations = [s.location for s in doc.sources]
      names = [s.name for s in doc.sources]
      plotLocations(locations, fig, names, **kwargs)
  
file_path: catboost/contrib/python/fonttools/fontTools/varLib/plot.py
imports: from fontTools.varLib.models import VariationModel, supportScalar
  from fontTools.designspaceLib import DesignSpaceDocument
  from matplotlib import pyplot
  from mpl_toolkits.mplot3d import axes3d
  from itertools import cycle
  import math
  import logging
  import sys
label_desc: Use image node_id 6 for calling a global function with example usage: plotDocument(doc, fig) without return types