I have been using plotly for dataframe visualisation, but when the data type is array, what is the best way to create an interactive plot, apart from converting array into dataframe?
Code I previously used for dataframe:
import plotly.express as px
fig = px.scatter_3d(df, x='col1', y='col2', z='col3',)
fig.update_traces(marker=dict(size=2,
line=dict(width=0.01)
)
)
fig.update_layout(showlegend=True,
width=900,
height=900,
title = 'My Plot')
fig.show()