From 01f10004e68136e8ae64708dbfc6e0b30f193cdc Mon Sep 17 00:00:00 2001
From: Flavio Tarsetti <flavio.tarsetti@idiap.ch>
Date: Tue, 11 Jun 2019 12:07:01 +0200
Subject: [PATCH] [plotters] fix default string values with floats for float
 types. Fixes #15

---
 system/plotters/plot_username/isoroc/1.json  | 14 ++++++--------
 system/plotters/plot_username/isoroc/2.json  | 14 ++++++--------
 system/plotters/plot_username/scatter/1.json |  4 ++--
 3 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/system/plotters/plot_username/isoroc/1.json b/system/plotters/plot_username/isoroc/1.json
index e404a23..62cebb6 100644
--- a/system/plotters/plot_username/isoroc/1.json
+++ b/system/plotters/plot_username/isoroc/1.json
@@ -17,22 +17,22 @@
       "description": "The label of the Y-axis (vertical)"
     },
      "xlim-left":{
-           "default": "0.0",
+           "default": 0.0,
            "type": "float64",
            "description": ""
      },
      "xlim-right":{
-           "default": "100.0",
+           "default": 100.0,
            "type": "float64",
            "description": ""
      },
      "ylim-bottom":{
-           "default": "0.0",
+           "default": 0.0,
            "type": "float64",
            "description": ""
      },
      "ylim-top":{
-           "default": "100.0",
+           "default": 100.0,
            "type": "float64",
            "description": ""
      },
@@ -47,22 +47,20 @@
       "description": "Controls the title font size"
     },
     "xaxis_multiplier": {
-      "default": "100.0",
+      "default": 100.0,
       "type": "float64",
       "description": "The multiplication factor for the X-axis (horizontal)"
     },
     "yaxis_multiplier": {
-      "default": "100.0",
+      "default": 100.0,
       "type": "float64",
       "description": "The multiplication factor for the Y-axis (vertical)"
     },
-      
     "axis-fontsize": {
       "default": 10,
       "type": "uint16",
       "description": "Controls the axis font size (labels and values)"
     },
-      
     "legend": {
       "default": "",
       "type": "string",
diff --git a/system/plotters/plot_username/isoroc/2.json b/system/plotters/plot_username/isoroc/2.json
index e404a23..62cebb6 100644
--- a/system/plotters/plot_username/isoroc/2.json
+++ b/system/plotters/plot_username/isoroc/2.json
@@ -17,22 +17,22 @@
       "description": "The label of the Y-axis (vertical)"
     },
      "xlim-left":{
-           "default": "0.0",
+           "default": 0.0,
            "type": "float64",
            "description": ""
      },
      "xlim-right":{
-           "default": "100.0",
+           "default": 100.0,
            "type": "float64",
            "description": ""
      },
      "ylim-bottom":{
-           "default": "0.0",
+           "default": 0.0,
            "type": "float64",
            "description": ""
      },
      "ylim-top":{
-           "default": "100.0",
+           "default": 100.0,
            "type": "float64",
            "description": ""
      },
@@ -47,22 +47,20 @@
       "description": "Controls the title font size"
     },
     "xaxis_multiplier": {
-      "default": "100.0",
+      "default": 100.0,
       "type": "float64",
       "description": "The multiplication factor for the X-axis (horizontal)"
     },
     "yaxis_multiplier": {
-      "default": "100.0",
+      "default": 100.0,
       "type": "float64",
       "description": "The multiplication factor for the Y-axis (vertical)"
     },
-      
     "axis-fontsize": {
       "default": 10,
       "type": "uint16",
       "description": "Controls the axis font size (labels and values)"
     },
-      
     "legend": {
       "default": "",
       "type": "string",
diff --git a/system/plotters/plot_username/scatter/1.json b/system/plotters/plot_username/scatter/1.json
index efde418..de01f88 100644
--- a/system/plotters/plot_username/scatter/1.json
+++ b/system/plotters/plot_username/scatter/1.json
@@ -22,12 +22,12 @@
       "description": "The title for this plot"
     },
     "xaxis_multiplier": {
-      "default": "1.0",
+      "default": 1.0,
       "type": "float64",
       "description": "The multiplication factor for the X-axis (horizontal)"
     },
     "yaxis_multiplier": {
-      "default": "1.0",
+      "default": 1.0,
       "type": "float64",
       "description": "The multiplication factor for the Y-axis (vertical)"
     },
-- 
GitLab