ridge_trace_3D#

crispy.visualize.ridge_trace_3D(x, y, z, size=2.5, color='black', opacity=0.5, name='ridges')[source]#

Create a 3D scatter trace for visualizing ridge points.

Parameters:
  • x (array-like) – Coordinates of the ridge points in 3D space.

  • y (array-like) – Coordinates of the ridge points in 3D space.

  • z (array-like) – Coordinates of the ridge points in 3D space.

  • size (int, optional) – Marker size. Default is 2.

  • color (str, optional) – Marker color. Default is “black”.

  • opacity (float, optional) – Opacity of the markers. Default is 0.5.

  • name (str, optional) – Name for the trace. Default is “ridge”.

Returns:

A Plotly 3D scatter trace.

Return type:

plotly.graph_objects.Scatter3d