https://plot.ly/python/plotly-express/
Python 可视化神器:Plotly Express 入门之路
import plotly_express as px
from plotly.offline import plot
gapminder = px.data.gapminder()
fig = px.scatter(gapminder.query("year==2007"), x="gdpPercap", y="lifeExp", size="pop", color="continent",
hover_name="country", log_x=True, size_max=60)
plot(fig)
网友评论