Hello!
I’m having difficulty forcing my x axis to display the “first” value. I am also having trouble forcing my “last” value to display as “T-0”.
I have a plot with two y axes. Any help/suggestions would be appreciated!
fig = make_subplots(specs=[[{“secondary_y”: True}]])
fig.add_trace(go.Scatter(
x=time,
y=values
line=dict(shape='spline', color=red)
))
fig.add_trace(go.Scatter(
x=time2
y=values2
line=dict(shape='spline', dash='dot', color=red),
), secondary_y=True)
fig.layout.template = ‘plotly_dark’
fig.update_xaxes(title_text=‘Time T-Minutes’, tickprefix=‘T’, showgrid=False, zeroline=True)
fig.update_yaxes(title_text=‘Values 1’, showgrid=False, zeroline=True)
fig.update_yaxes(title_text=‘Values 2’, secondary_y=True, showgrid=False, zeroline=True)
Thanks for the time and help.