Skip to content

Commit

Permalink
Merge pull request #31 from welchyd/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
David-Desmaisons authored Aug 22, 2021
2 parents af853bf + f65e1a1 commit b311c21
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@ export default {
components: {
Plotly
},
data:{
data:[{
x: [1,2,3,4],
y: [10,15,13,17],
type:"scatter"
}],
layout:{
title: "My graph"
data() {
return {
data:[{
x: [1,2,3,4],
y: [10,15,13,17],
type:"scatter"
}],
layout:{
title: "My graph"
}
}
}
}
Expand Down

0 comments on commit b311c21

Please sign in to comment.