Skip to content

Document simple_white template #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Document simple_white template
  • Loading branch information
joelostblom authored Nov 5, 2019
commit 6ac3f3d77b2614f0baff153ba07fb00787448f48
4 changes: 2 additions & 2 deletions python/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import plotly.express as px
gapminder = px.data.gapminder()
gapminder_2007 = gapminder.query("year==2007")

for template in ["plotly", "plotly_white", "plotly_dark", "ggplot2", "seaborn", "none"]:
for template in ["plotly", "plotly_white", "plotly_dark", "ggplot2", "seaborn", "simple_white", "none"]:
fig = px.scatter(gapminder_2007,
x="gdpPercap", y="lifeExp", size="pop", color="continent",
log_x=True, size_max=60,
Expand All @@ -85,7 +85,7 @@ fig = go.Figure(
height=500,
))

for template in ["plotly", "plotly_white", "plotly_dark", "ggplot2", "seaborn", "none"]:
for template in ["plotly", "plotly_white", "plotly_dark", "ggplot2", "seaborn", "simple_white", "none"]:
fig.update_layout(template=template, title="Mt Bruno Elevation: '%s' theme" % template)
fig.show()
```
Expand Down