File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -91,12 +91,12 @@ def _get_self_bounds(self):
9191 for point in self .data :
9292 bounds = [
9393 [
94- none_min (bounds [0 ][0 ], point [1 ]),
95- none_min (bounds [0 ][1 ], point [0 ]),
94+ none_min (bounds [0 ][0 ], point [0 ]),
95+ none_min (bounds [0 ][1 ], point [1 ]),
9696 ],
9797 [
98- none_max (bounds [1 ][0 ], point [1 ]),
99- none_max (bounds [1 ][1 ], point [0 ]),
98+ none_max (bounds [1 ][0 ], point [0 ]),
99+ none_max (bounds [1 ][1 ], point [1 ]),
100100 ],
101101 ]
102102 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