Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬 Register for the Oct 27 webinar.

Insert space between tick labels and axis

I am working on a python code for a 3D plot. On my X axis, I have two problems. The first one is the alignment, and the second one is overlapping the X labels with X titles. My code is as follows:
fig.update_layout(
scene = dict(
xaxis = dict(
tickmode = ‘array’,
tickvals = [0,1,2,3,4,5,6,7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
ticktext = [‘American Samoa’, ‘Argentina’, ‘Australia’, ‘Canada’,
‘Costa Rica’, ‘Dominican Republic’, ‘El Salvador’, ‘Guam’,
‘Guatemala’, ‘Honduras’, ‘India’, ‘Japan’,
‘New Zealand - Domestic’, ‘Nicaragua’, ‘Northern Mariana Islands’, ‘Peru’,
‘Puerto Rico’, ‘South Africa - Domestic’, ‘U.S. Virgin Islands’, ‘United States’],
tickangle=45,
showline=True, linewidth=2, linecolor=‘black’,
showgrid=True, gridwidth=2, gridcolor=‘rgb(0,0,0)’, mirror=True, zeroline = True)))
Any help would be much appreciated.
tempsnip