Projet

Général

Profil

0002-dataviz-do-not-show-floating-point-numbers-when-scal.patch

Valentin Deniaud, 17 janvier 2022 16:26

Télécharger (1001 octets)

Voir les différences:

Subject: [PATCH 2/3] dataviz: do not show floating point numbers when scaling
 (#60685)

 combo/apps/dataviz/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
combo/apps/dataviz/models.py
336 336
            'pie': pygal.Pie,
337 337
            'dot': pygal.Dot,
338 338
            'table': pygal.Bar,
339
        }[self.chart_type](config=pygal.Config(style=copy.copy(style), show_y_guides=False))
339
        }[self.chart_type](config=pygal.Config(style=copy.copy(style), show_y_guides=False, order_min=0.1))
340 340

  
341 341
        if self.statistic.service_slug == 'bijoe':
342 342
            x_labels, y_labels, data = self.parse_response(response, chart)
343
-