Skip to content
This repository was archived by the owner on Jul 13, 2021. It is now read-only.

Commit 2ca8deb

Browse files
authored
Merge pull request #408 from Datseris/arcfix
fix arc
2 parents cccabc2 + 3e4189f commit 2ca8deb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "AbstractPlotting"
22
uuid = "537997a7-5e4e-5d89-9595-2241ea00577e"
3-
version = "0.10.3"
3+
version = "0.10.4"
44

55
[deps]
66
AbstractNumbers = "85c772de-338a-5e7f-b815-41e76c26ac1f"

src/basic_recipes/basic_recipes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ function plot!(p::Arc)
478478
args = getindex.(p, (:origin, :radius, :start_angle, :stop_angle, :resolution))
479479
positions = lift(args...) do origin, radius, start_angle, stop_angle, resolution
480480
map(range(start_angle, stop=stop_angle, length=resolution)) do angle
481-
origin .+ Point2f0((sin(angle), cos(angle)) .* radius)
481+
origin .+ Point2f0((cos(angle), sin(angle)) .* radius)
482482
end
483483
end
484484
lines!(p, Theme(p), positions)

0 commit comments

Comments
 (0)