✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Adding space beetween axis title and values

Hello! It’s posssible to add space beetween the axis title and values?
image

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.

image