How can you reduce the spacing between the graph and the xaxis title position? I digged through the documentation to no avail.
Unfortunately I don’t think there are any options to set this spacing. The workaround is to use annotations in ‘paper’ coordinates. Here’s an example of doing just this for labeling axes (https://plot.ly/python/text-and-annotations/#adding-annotations-with-xref-and-yref-as-paper).
Hope that helps,