code: def _legend_annotation(color_name):
      legend_title = dict(
          textangle=0,
          xanchor="left",
          yanchor="middle",
          x=LEGEND_ANNOT_X,
          y=1.03,
          showarrow=False,
          xref="paper",
          yref="paper",
          text="factor({})".format(color_name),
          font=dict(size=13, color="#000000"),
      )
      return legend_title
  
file_path: catboost/contrib/python/plotly/py2/plotly/figure_factory/_facet_grid.py
imports: from __future__ import absolute_import
  from plotly import exceptions, optional_imports
  import plotly.colors
  from plotly.figure_factory import utils
  from plotly.subplots import make_subplots
  import math
  from numbers import Number
label_desc: Use image node_id 3 for calling a global function with example usage: _legend_annotation(color_name) and returns: legend_title