Skip to content

Instantly share code, notes, and snippets.

@thomasnield
Created October 3, 2019 15:11
Show Gist options
  • Select an option

  • Save thomasnield/30897e932da35542c846bfc39fa7ee6a to your computer and use it in GitHub Desktop.

Select an option

Save thomasnield/30897e932da35542c846bfc39fa7ee6a to your computer and use it in GitHub Desktop.
Plotly 3D scatterplot
import plotly.express as px
iris = px.data.iris()
fig = px.scatter_3d(iris, x='sepal_length', y='sepal_width', z='petal_width',
color='petal_length', symbol='species')
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment