Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

Axis and label intreaction

please help me to solve this problem

df2=pd.read_excel(“area2.xlsx”)
fig_ = go.Figure(layout = go.Layout(paper_bgcolor=‘rgba(105,105,105)’,plot_bgcolor=‘rgba(0,0,50,0)’))

y1=df2[“Phone call Action”]
y2=df2[“Direction Action”]
y3=df2[“Web Site Action”]
y4=df2[“Total Action”]

fig_.add_trace(go.Scatter(
x=df2[“Date”],
y=df2[“Phone call Action”],
mode=“lines+markers+text”,
name=“Phone call action”,
text=y1,
textposition=“bottom center”,

line=dict(width=0.5, color='rgb(131, 90, 241)'),
stackgroup='one' 

))
fig_.add_trace(go.Scatter(
x=df2[‘Date’],
y=df2[“Direction Action”],
hoverinfo=‘x+y’,
mode=“lines+markers+text”,
text=y2,
name=“Direction Action”,
line=dict(width=0.5, color=‘rgb(111, 231, 219)’),
stackgroup=‘one’
))
fig_.add_trace(go.Scatter(
x=df2[“Date”],
y=df2[“Web Site Action”],
hoverinfo=‘x+y’,
text=y3,
mode=“lines+markers+text”,
name=“Web Site Action”,
line=dict(width=0.5, color=‘rgb(170, 247, 212)’),
stackgroup=‘one’

))

fig_.add_trace(go.Scatter(
x=df2[“Date”],
y=df2[“Total Action”],
hoverinfo=‘x+y’,
text=y4,

mode="lines+text",
name="Total Action",
line=dict(width=0.5, color='rgb(255, 203, 203)'),
stackgroup='one'

))
fig_.update_xaxes(tickangle=35, tickfont=dict(family=‘Rockwell’, color=‘black’, size=10),showline=True, linewidth=1, linecolor=‘black’)
fig_.update_yaxes(showline=True, linewidth=1, linecolor=‘black’)

fig_.update_layout(uniformtext_minsize=8, uniformtext_mode=‘hide’)

fig_.show()