Problem statement:
Currently visualzing data points as lines on the Z-axis for a theory.
I am trying to make each line of this given 3D graphic have varying colors based on a model's decision (Binary Classification so two varying colors) and NOT on the values that exists inside the lines. (-4 to 4)
import plotly.graph_objects as go
import random
import pandas as pd
fig = go.Figure(data=[go.Surface(z=scaled[indexes])])
fig.update_traces(contours_z=dict(show=True, usecolormap=False,
project_z=True,))
fig.update_layout(title='3D', autosize=False,
scene_camera_eye=dict(x=1.87, y=0.88, z=-0.64),
width=1000, height=1000,
margin=dict(l=65, r=50, b=65, t=90),)
fig.show()