Hello! Itโs posssible to add space beetween the axis title and values?
Hello @yuricda96, I think the title_standoff
option is what youโre looking for, please see https://plot.ly/python/axes/#set-axis-title-position
layout = go.Layout(
xaxis=dict(
autorange=True,
showgrid=grid_x,
ticks='',
showticklabels=ticks,
gridcolor="lightgray",
tickformat='%m/%d/%y',
title=go.layout.xaxis.Title(
text=x_title,
standoff=50,
font=dict(
family='Pangram',
size=14,
color='#232323',
)
)
),
yaxis=dict(
autorange=True,
showgrid=grid_y,
ticks='',
showticklabels=ticks,
gridcolor="lightgray",
title=go.layout.yaxis.Title(
text=y_title,
standoff=50,
font=dict(
family='Pangram',
size=14,
color='#232323',
)
)
),
margin=margin,
height=height,
paper_bgcolor='rgba(0,0,0,0)',
plot_bgcolor='rgba(0,0,0,0)',
)
It didnt work to me, the text remained in the same place.