-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
Hi there
I was wondering if there are templates in angular-plotly.js since there are in the python version.
import plotly.express as px
df = px.data.gapminder()
df_2007 = df.query("year==2007")
for template in ["plotly", "plotly_white", "plotly_dark", "ggplot2", "seaborn", "simple_white", "none"]:
fig = px.scatter(df_2007,
x="gdpPercap", y="lifeExp", size="pop", color="continent",
log_x=True, size_max=60,
template=template, title="Gapminder 2007: '%s' theme" % template)
fig.show()
JLO32523, kiranatious and ysk3a
Metadata
Metadata
Assignees
Labels
No labels