From a08d7abed6df8b6a5c9aaa6dea7c089416a0c94f Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Mon, 17 Jan 2022 15:57:35 +0100 Subject: [PATCH 1/3] dataviz: do not show horizontal guides in graphs (#60685) --- combo/apps/dataviz/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/apps/dataviz/models.py b/combo/apps/dataviz/models.py index 126f16fc..056ae23d 100644 --- a/combo/apps/dataviz/models.py +++ b/combo/apps/dataviz/models.py @@ -336,7 +336,7 @@ class ChartNgCell(CellBase): 'pie': pygal.Pie, 'dot': pygal.Dot, 'table': pygal.Bar, - }[self.chart_type](config=pygal.Config(style=copy.copy(style))) + }[self.chart_type](config=pygal.Config(style=copy.copy(style), show_y_guides=False)) if self.statistic.service_slug == 'bijoe': x_labels, y_labels, data = self.parse_response(response, chart) -- 2.30.2