How do I remove the border around a vega(-lite) plot?

Viewed 2319

Vega/Vega Lite plots have a faint gray border around them... is it possible to remove this via a configuration parameter, or do I need to render as SVG and use CSS to do so?

1 Answers

You can override the default cell style

"config": {
  "style": {
    "cell": {
      "stroke": "transparent"
    }
  }
}

Alternatively, you can set the view stroke

"config": {
  "view": {
     "stroke": "transparent"
  }
}

enter image description here

Related