diff --git a/src/backends/inspectdr.jl b/src/backends/inspectdr.jl index da7bc144..7d09045a 100644 --- a/src/backends/inspectdr.jl +++ b/src/backends/inspectdr.jl @@ -245,7 +245,7 @@ function _series_added(plt::Plot{InspectDRBackend}, series::Series) #No support for polar grid... but can still perform polar transformation: if ispolar(sp) Θ = x; r = y - x = r.*cos(Θ); y = r.*sin(Θ) + x = r.*cos.(Θ); y = r.*sin.(Θ) end # doesn't handle mismatched x/y - wrap data (pyplot behaviour): diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index e06f4151..96c54c9c 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -717,7 +717,7 @@ end function plotly_polar!(d_out::KW, series::Series) # convert polar plots x/y to theta/radius if ispolar(series[:subplot]) - d_out[:t] = rad2deg(pop!(d_out, :x)) + d_out[:t] = rad2deg.(pop!(d_out, :x)) d_out[:r] = pop!(d_out, :y) end end