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

Commitc0f6c8c

Browse files
committed
class-style property access
1 parentff64f59 commitc0f6c8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎notebooks/creating-updating-figures.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ As an alternative to working with Python dictionaries, plotly.py provides a hier
6060

6161
1. Graph objects provide precise data validation. So if you provide an invalid property name or an invalid property value, an exception will be raised with a helpful error message describing the problem.
6262
2. Graph objects contain descriptions of each property as Python docstrings. You can use these docstrings to learn about the available properties as an alternative to consulting the*Full Reference*.
63-
3. Graph objects support higher-level convenience functions for making updates to already constructed figures, as described below.
63+
3. Properties of graph objects can be accessed using dictionary-style key lookup (e.g.`fig["layout"]`) or class-style property access (e.g.`fig.layout`).
64+
4. Graph objects support higher-level convenience functions for making updates to already constructed figures, as described below.
6465

6566
Graph objects are stored in a hierarchy of modules under the`plotly.graph_objects` package. Here is an example of one way that the figure above could be constructed using graph objects.
6667

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp