MCPcopy Index your code
hub / github.com/plotly/plotly.py / _legend_annotation

Function _legend_annotation

plotly/figure_factory/_facet_grid.py:52–65  ·  view source on GitHub ↗
(color_name)

Source from the content-addressed store, hash-verified

50
51
52def _legend_annotation(color_name):
53 legend_title = dict(
54 textangle=0,
55 xanchor="left",
56 yanchor="middle",
57 x=LEGEND_ANNOT_X,
58 y=1.03,
59 showarrow=False,
60 xref="paper",
61 yref="paper",
62 text="factor({})".format(color_name),
63 font=dict(size=13, color="#000000"),
64 )
65 return legend_title
66
67
68def _annotation_dict(

Callers 1

create_facet_gridFunction · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected