I checked the fig.layout.annotations
list and found it is sorted by the order of y value.
Is this correct? I feel the order should be ascending for x
and decending for y
.
(layout.Annotation({
'font': {},
'showarrow': False,
'text': 'variable=2',
'x': 0.5,
'xanchor': 'center',
'xref': 'paper',
'y': 0.2866666666666666,
'yanchor': 'bottom',
'yref': 'paper'
}), layout.Annotation({
'font': {},
'showarrow': False,
'text': 'variable=1',
'x': 0.5,
'xanchor': 'center',
'xref': 'paper',
'y': 0.6433333333333333,
'yanchor': 'bottom',
'yref': 'paper'
}), layout.Annotation({
'font': {},
'showarrow': False,
'text': 'variable=0',
'x': 0.5,
'xanchor': 'center',
'xref': 'paper',
'y': 0.9999999999999999,
'yanchor': 'bottom',
'yref': 'paper'
}))