(color_name)
| 50 | |
| 51 | |
| 52 | def _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 | |
| 68 | def _annotation_dict( |
no test coverage detected