Dmytro-Shulha / obsidian-plotly

Obsidian plugin to embed Plotly charts into markdown notes.
MIT License
70 stars 4 forks source link

Plotly: New Plotly Chart doesn't work #12

Closed Antoshidza closed 11 months ago

Antoshidza commented 1 year ago

ctrl + P -> Plotly: New Plotly Chart generates and it doesn't render anything

data:
    - x: [0,1,2]
      y: [0,1,0]

Instead it prints Couldn't render plot:YAMLParseError: Tabs are not allowed as indentation at line 2, column 1: data: - x: [0,1,2] ^

Installed from win obsidian Plotly version 0.0.6

Instead it should be

data:
- x: [0,1,2]
  y: [0,1,0]