Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

How to adjust the "near clipping" of camera for 3D plot?

Seem part of the 3D surface is cropped out by a clipping plane close to the camera when zoom into the 3D chart from certain view angle, as shown below.

May I ask how to avoid such clipping?

Code is the a minor revision of the example code here.

import plotly.graph_objects as go
import pandas as pd

# Read data from a csv
z_data = pd.read_csv('')

fig = go.Figure(data=go.Surface(z=z_data, showscale=False))
    title='Mt Bruno Elevation',
    width=400, height=400,
    margin=dict(t=40, r=0, l=20, b=20)

name = 'default'
# Default parameters which are used when `` is not provided
camera = dict(
    up=dict(x=0, y=0, z=1),
    center=dict(x=0, y=0, z=0),
    eye=dict(x=1.25, y=1.25, z=1.25)

fig.update_layout(scene_camera=camera, title=name)