File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
extension : .md
7
7
format_name : markdown
8
8
format_version : ' 1.3'
9
- jupytext_version : 1.14.1
9
+ jupytext_version : 1.16.4
10
10
kernelspec :
11
- display_name : Python 3
11
+ display_name : Python 3 (ipykernel)
12
12
language : python
13
13
name : python3
14
14
language_info :
@@ -20,7 +20,7 @@ jupyter:
20
20
name : python
21
21
nbconvert_exporter : python
22
22
pygments_lexer : ipython3
23
- version : 3.8.8
23
+ version : 3.11.10
24
24
plotly :
25
25
description : How to make subplots in with Plotly's Python graphing library. Examples
26
26
of stacked, custom-sized, gridded, and annotated subplots.
@@ -80,17 +80,17 @@ import plotly.graph_objects as go
80
80
81
81
fig = make_subplots(rows = 3 , cols = 1 )
82
82
83
- fig.append_trace (go.Scatter(
83
+ fig.add_trace (go.Scatter(
84
84
x = [3 , 4 , 5 ],
85
85
y = [1000 , 1100 , 1200 ],
86
86
), row = 1 , col = 1 )
87
87
88
- fig.append_trace (go.Scatter(
88
+ fig.add_trace (go.Scatter(
89
89
x = [2 , 3 , 4 ],
90
90
y = [100 , 110 , 120 ],
91
91
), row = 2 , col = 1 )
92
92
93
- fig.append_trace (go.Scatter(
93
+ fig.add_trace (go.Scatter(
94
94
x = [0 , 1 , 2 ],
95
95
y = [10 , 11 , 12 ]
96
96
), row = 3 , col = 1 )
You can’t perform that action at this time.
0 commit comments