You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if a pad-like argument could be added to the axis tick and axis title arguments. I dont know js, but the python code to generate the plot is:
x, y, z = np.random.rand(100, 3).T
x *= 5
y *= 2
data = [go.Scatter3d(
x=x, y=y, z=z,
mode='markers',
marker=dict(color="black", size=3))]
fontdict = dict(tickfont=dict(size=10))
layout = go.Layout(
width=500,
height=400,
showlegend=False,
margin=dict(l=0, r=0, t=0, b=0, pad=0),
scene=dict(aspectmode="data",
xaxis=fontdict, yaxis=fontdict, zaxis=fontdict)
)
fig = go.Figure(data=data, layout=layout)
iplot(fig)
and the goal is to get the ticklabels and axis titles closer to the axis:
like this (edited in paint.. hopefully the idea comes across..):
Thanks!
The text was updated successfully, but these errors were encountered:
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson
as seen here:
https://community.plot.ly/t/axes-tick-and-title-spacing-3d-scatter/10819
I was wondering if a pad-like argument could be added to the axis tick and axis title arguments. I dont know js, but the python code to generate the plot is:
and the goal is to get the ticklabels and axis titles closer to the axis:
like this (edited in paint.. hopefully the idea comes across..):
Thanks!
The text was updated successfully, but these errors were encountered: