Hi @ULTRA,
Here’s a full example of what I was talking about:
import plotly.io as pio
import plotly.graph_objs as go
from plotly.offline import init_notebook_mode, iplot
init_notebook_mode()
fig = go.Figure(
data=[
go.Scatter(y=[2, 1, 3])
],
layout=go.Layout(
annotations=[
go.layout.Annotation(
text='Some<br>multi-line<br>text',
align='left',
showarrow=False,
xref='paper',
yref='paper',
x=1.1,
y=0.8,
bordercolor='black',
borderwidth=1
)
]
)
)
iplot(fig)
Hope that helps,
-Jon
