Skip to content

Creating and updating figures section #26

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 19 commits into from
Jun 27, 2019
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
Prev Previous commit
Next Next commit
Use magic underscore notation
  • Loading branch information
jonmmease committed Jun 21, 2019
commit cda3d672c61097370c2044e6022a849e066ddda7
4 changes: 2 additions & 2 deletions notebooks/creating-updating-figures.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ Graph object figures support an `update_layout` method that may be used to updat
```python
import plotly.graph_objects as go
fig = go.Figure(data=go.Bar(x=[1, 2, 3], y=[1, 3, 2]))
fig.update_layout(title={"text": "A Bar Chart",
"font": {"size": 30}})
fig.update_layout(title_text="A Bar Chart",
title_font_size=30)
fig.show()
```

Expand Down