Skip to content

Commit ac45f0d

Browse files
committed
Add line chart functionality
1 parent 247e1f4 commit ac45f0d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import plotly.graph_objects as go
2+
3+
4+
def create_line_scatter(x, y, name, colour = 'blue'):
5+
return go.Scatter(
6+
x=x,
7+
y=y,
8+
mode='lines',
9+
name=name,
10+
line=dict(color=colour)
11+
)

0 commit comments

Comments
 (0)