Hi all,
I haven’t been able to figure out why my graph has a huge white space on the left of the axis. When I go through with inspect element, it seems like all the margins are set to zero. Is there a way to make the graph fill out the entire container? I have included the layout of my graph and a screenshot.
{
'layout': go.Layout(
title='Overall System',
legend_orientation='h',
legend=dict(x=0.2, y=-0.1),
xaxis=dict(domain=[0.2, 0.90], title='Orbit Time (minutes)'),
yaxis=dict(
title='V', titlefont=dict(
color='rgb(255, 0, 0)'
),
tickfont=dict(
color='rgb(255, 0, 0)'
)
),
yaxis2=dict(
title='%',
titlefont=dict(
color='rgb(0, 255, 100)'
),
tickfont=dict(
color='rgb(0, 255, 100)'
),
overlaying='y',
side='right'
),
yaxis3=dict(title="Current (A)",
titlefont=dict(
color="rgb(0,0,255)"
),
tickfont=dict(
color="rgb(0,0,255)"
),
anchor="free",
overlaying="y",
side="left",
position=0.14),
yaxis4=dict(title="Power (W)", titlefont=dict(
color="rgb(255,0,255)"
),
tickfont=dict(
color="rgb(255,0,255)"
),
anchor="free",
overlaying="y",
side="right",
position=0.95)
)
}