-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi, I use quads 1.1.0
and want to visualize a dummy dataset with quads.visualize(tree)
, but the separating lines are not drawn correctly.
Setup: MacOS 15.4.1, Python 3.12 and matplotlib 3.10.3

Code:
import quads
import numpy as np
tree = quads.QuadTree(center=(0, 0), width=20, height=20, capacity=2)
for i in range(20):
x = np.random.uniform(-10, 10)
y = np.random.uniform(-10, 10)
tree.insert((x, y))
quads.visualize(tree)
Metadata
Metadata
Assignees
Labels
No labels