diff --git a/python/chemiscope/structures/_shapes.py b/python/chemiscope/structures/_shapes.py index a6bb21c09..5c84c9d5b 100644 --- a/python/chemiscope/structures/_shapes.py +++ b/python/chemiscope/structures/_shapes.py @@ -38,8 +38,7 @@ def _oriented_circle(radius, vec, n_points=20): # generate n_points in the plane defined by nvec, centered at vec angles = np.linspace(0, 2 * np.pi, n_points, endpoint=False) - circle_points = np.outer(np.cos(angles), u) + np.outer(np.sin(angles), v) - circle_points = radius * circle_points + circle_points = radius * np.outer(np.cos(angles), u) + np.outer(np.sin(angles), v) return circle_points