I am facing a problem with the Scatter3d from plotly: the figure is always truncated at the bottom:
I create the plot via plotly.express
this way:
fig = px.scatter_3d(BFM_pcaFull, x=0, y=1, z=2, color=3)
with BFM_pcaFull
being the pandas.DataFrame where the data are stored. I tried to create the plot via plotly.graph_object
instead of plotly.epxress
but the result is the same.
I tried to tweak the layout parameter via the update_layout()
method of fig
:
- Padding
- Auto margin
- Scaling
- scaleratio
- constrain
of course without any change to the graph (which does surprise me and make me think I am doing something wrong, even if apparently the 3D surface seems to follow different rules somewhat).
An issue for the same problem is open on the Github repo of the project but has not been solved so far (https://github.com/plotly/plotly.py/issues/3785).
Has anybody faced the same problem and found a solution by any chance?
Thanks for your help