Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcda3d67

Browse files
committed
Use magic underscore notation
1 parent22d394f commitcda3d67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎notebooks/creating-updating-figures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ Graph object figures support an `update_layout` method that may be used to updat
252252
```python
253253
import plotly.graph_objectsas go
254254
fig= go.Figure(data=go.Bar(x=[1,2,3],y=[1,3,2]))
255-
fig.update_layout(title={"text":"A Bar Chart",
256-
"font": {"size":30}})
255+
fig.update_layout(title_text="A Bar Chart",
256+
title_font_size=30)
257257
fig.show()
258258
```
259259

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp