From cde50214a4c95bf093861fd8d0d5f8ef12326c2f Mon Sep 17 00:00:00 2001 From: Vitor Marthendal Date: Tue, 4 May 2021 12:28:01 -0300 Subject: [PATCH] change chart locks --- tech/config_bounds.py | 2 ++ tech/tech.py | 2 ++ template/index.html | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tech/config_bounds.py b/tech/config_bounds.py index 66afe4a..73fc5c8 100644 --- a/tech/config_bounds.py +++ b/tech/config_bounds.py @@ -17,6 +17,7 @@ }, "impact_hour_rate_at_target_goal": { "value": 150, + "ylim": (0, 200), }, "maximum_impact_hour_rate": { "value": 500, @@ -107,6 +108,7 @@ }, "impact_hour_rate_at_target_goal": { "value": 0.005, + "ylim": (0, 10), }, "maximum_impact_hour_rate": { "value": 0.01, diff --git a/tech/tech.py b/tech/tech.py index 56c1e0f..07a6ece 100644 --- a/tech/tech.py +++ b/tech/tech.py @@ -216,6 +216,7 @@ def impact_hours_plot(self): yformatter='%.0f', hover=True, xlim=self.config_bounds['min_max_raise']['xlim'], + ylim=self.config_bounds['impact_hour_rate_at_target_goal']['ylim'], label='Hatch happens ✅' ).opts(axiswise=True) minimum_raise_plot = df_fill_minimum.hvplot.area(x='Total wxDai Collected', @@ -223,6 +224,7 @@ def impact_hours_plot(self): yformatter='%.0f', color='red', xlim=self.config_bounds['min_max_raise']['xlim'], + ylim=self.config_bounds['impact_hour_rate_at_target_goal']['ylim'], label='Hatch fails 🚫' ).opts(axiswise=True) diff --git a/template/index.html b/template/index.html index 0c69b99..a6fadd8 100644 --- a/template/index.html +++ b/template/index.html @@ -117,7 +117,7 @@

Section 1: Hatch Configuration

{{ embed(roots.B) }} -
+
{{ embed(roots.D) }} @@ -127,7 +127,7 @@

Section 1: Hatch Configuration

-
+

Redeem-ability of the DAO's wxDai

{{ embed(roots.F) }}