Skip to content

Commit 938b8eb

Browse files
Fix readme
1 parent 4207803 commit 938b8eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ func main() {
4040
fig := &grob.Fig{
4141
Data: []types.Trace{
4242
&grob.Bar{
43-
X: []float64{1, 2, 3},
44-
Y: []float64{1, 2, 3},
43+
X: types.DataArray([]float64{1, 2, 3}),
44+
Y: types.DataArray([]float64{1, 2, 3}),
4545
},
4646
},
4747
Layout: &grob.Layout{

0 commit comments

Comments
 (0)