getYPosition fix

pull/602/head
ikatkov 2023-02-12 23:17:05 -08:00 zatwierdzone przez Holger Müller
rodzic d6b2f8119b
commit 2c868d818f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -333,8 +333,8 @@ class FrequencyChart(Chart):
try:
return (
self.topMargin +
round((self.maxValue - self.value_function(d) /
self.span * self.dim.height)))
round((self.maxValue - self.value_function(d)) /
self.span * self.dim.height))
except ValueError:
return self.topMargin