You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notebooks/creating-updating-figures.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,8 @@ As an alternative to working with Python dictionaries, plotly.py provides a hier
60
60
61
61
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.
62
62
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.
64
65
65
66
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.