카테고리 없음
코랩에서 interactive한 3차원 scatter plot 출력하기
아싸호랑나비
2023. 1. 10. 11:11
긴말안합니다
import plotly.express as px
df = px.data.iris()
fig = px.scatter_3d(df, x='sepal_length', y='sepal_width', z='petal_width',
color='species')
fig.show()
관련링크
https://plotly.com/python/3d-scatter-plots/
3d
Detailed examples of 3D Scatter Plots including changing color, size, log axes, and more in Python.
plotly.com
How to rotate the 3D scatter plots in google colaboratory?
I am generating a 3d scatter plot in google colab, but the problem is that the generated fig is static and is not rotatable. I also tried the command %matplotlib notebook to enable the 3D scatter
stackoverflow.com