Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! ✅Check out the new docs.

curved lettering

Hi, I can not fade in the label for the curves. Please help me

import plotly.graph_objs as go
import plotly.offline as ply

trace1 = go.Scatter(x=(0.,1,2,3), y=(0,1,2,3), mode = ‘sdfg’, name = ‘sdfg’, line = dict(color = ‘red’))
layout = dict(title=‘gavno’)

data = [trace1]

fig = dict(data=data, layout=layout)

ply.plot(data, filename=‘opa’)