Skip to content

Commit

Permalink
Update python/chemiscope/structures/_shapes.py
Browse files Browse the repository at this point in the history
Co-authored-by: Rose K. Cersonsky <[email protected]>
  • Loading branch information
ceriottm and rosecers authored Aug 26, 2023
1 parent a7112a7 commit 2da1c1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/chemiscope/structures/_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2da1c1a

Please sign in to comment.