From 84bd7376678f79a5e25aa458c649c8d6f065e360 Mon Sep 17 00:00:00 2001 From: Lei Yan Date: Fri, 22 Nov 2013 22:39:41 +0000 Subject: Add color picker --- wqflask/wqflask/correlation/corr_scatter_plot.py | 4 +- wqflask/wqflask/templates/corr_scatter_plot.html | 84 ++++++++++++++++++------ 2 files changed, 66 insertions(+), 22 deletions(-) diff --git a/wqflask/wqflask/correlation/corr_scatter_plot.py b/wqflask/wqflask/correlation/corr_scatter_plot.py index dd98c7d5..f7fbffd2 100644 --- a/wqflask/wqflask/correlation/corr_scatter_plot.py +++ b/wqflask/wqflask/correlation/corr_scatter_plot.py @@ -29,7 +29,7 @@ class CorrScatterPlot(object): try: circle_color = params['circle_color'] except: - circle_color = 'steelblue' + circle_color = '#3D85C6' self.circle_color = circle_color try: @@ -41,7 +41,7 @@ class CorrScatterPlot(object): try: line_color = params['line_color'] except: - line_color = 'red' + line_color = '#FF0000' self.line_color = line_color try: diff --git a/wqflask/wqflask/templates/corr_scatter_plot.html b/wqflask/wqflask/templates/corr_scatter_plot.html index dd9168a8..490024ec 100644 --- a/wqflask/wqflask/templates/corr_scatter_plot.html +++ b/wqflask/wqflask/templates/corr_scatter_plot.html @@ -6,6 +6,7 @@ + {% endblock %} {% block content %} @@ -25,24 +26,12 @@