plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

Some points have not been included in Range of axes of 3D Axes in Python

Open weiwenying opened this issue 4 years ago • 0 comments

Plotly version:

# ubuntu20.04LTS
plotly==5.5.0

when run:

import numpy as np
import plotly.graph_objects as go

x = np.array([2, 0, 2, 4], dtype=np.float64)
y = np.array([2, 0, 2, 0], dtype=np.float64)
z = np.array([4, 0, 0, 0], dtype=np.float64)
fig = go.Figure(data=[go.Mesh3d(x=x, y=y, z=z, opacity=0.5)])

fig.show()

Why not contain (2, 2, 0) in the graph?

image

weiwenying avatar Jan 04 '22 07:01 weiwenying