File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,12 +92,12 @@ def _get_self_bounds(self):
9292 for point in self .data :
9393 bounds = [
9494 [
95- none_min (bounds [0 ][0 ], point [1 ]),
96- none_min (bounds [0 ][1 ], point [0 ]),
95+ none_min (bounds [0 ][0 ], point [0 ]),
96+ none_min (bounds [0 ][1 ], point [1 ]),
9797 ],
9898 [
99- none_max (bounds [1 ][0 ], point [1 ]),
100- none_max (bounds [1 ][1 ], point [0 ]),
99+ none_max (bounds [1 ][0 ], point [0 ]),
100+ none_max (bounds [1 ][1 ], point [1 ]),
101101 ],
102102 ]
103103 return bounds
Original file line number Diff line number Diff line change @@ -44,5 +44,5 @@ def test_heat_map():
4444 assert tmpl .render (this = hm )
4545
4646 bounds = m .get_bounds ()
47- assert bounds == [[3.0302801394447734 , 46.218566840847025 ],
48- [7.132453997672826 , 50.75345011431167 ]], bounds
47+ assert bounds == [[46.218566840847025 , 3.0302801394447734 ],
48+ [50.75345011431167 , 7.132453997672826 ]], bounds
You can’t perform that action at this time.
0 commit comments