i'm working with plotly.graph_objects
to generate a 3D plot.
import plotly.graph_objects as go
import numpy as np
t = np.linspace(0,1,10)
fig = go.Figure(layout=go.Layout(width=1000, height=400))
fig.add_trace(go.Scatter3d(x=np.sin(t), y=np.cos(t), z=t,
mode='markers', marker=dict(size=2, color='blue'), name='Base'))
and the result is reported in the following image:
I would like the actual plot to be resized to 1000x400, not just the image with a small plot in the middle of it. Does anybody know how I can achieve this? Thanks