From 0d1b7741853264c05244553d6245e84913e1a6cf Mon Sep 17 00:00:00 2001 From: Milan Simonovic Date: Wed, 20 Feb 2019 15:37:10 +0100 Subject: [PATCH] fix warning --- lib/histo.js | 2 +- lib/scatter.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/histo.js b/lib/histo.js index a79761a..b126f51 100644 --- a/lib/histo.js +++ b/lib/histo.js @@ -19,7 +19,7 @@ const styles = ` shape-rendering: crispEdges; } `; -const options = { svgStyles: styles, d3Module: d3 }; +const options = { styles, d3Module: d3 }; const margin = { top: 10, right: 30, bottom: 30, left: 50 diff --git a/lib/scatter.js b/lib/scatter.js index a263919..8568966 100644 --- a/lib/scatter.js +++ b/lib/scatter.js @@ -18,7 +18,8 @@ label { font-size: 0.9em; } `; -const options = { svgStyles: styles, d3Module: d3 }; + +const options = { styles, d3Module: d3 }; const margin = { top: 10, right: 10, bottom: 60, left: 80 };