From 6e0b085c58e8fc706422efc724232ccf3b927e00 Mon Sep 17 00:00:00 2001 From: BerndR <20151553+bernd1995@users.noreply.github.com> Date: Thu, 23 Sep 2021 16:29:02 +0200 Subject: [PATCH] Fixed some missed reverts --- src/backends/plotly.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index a1d3266f..872363d9 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -411,7 +411,7 @@ end plotly_legend_pos(v::Tuple{S,T}) where {S<:Real,T<:Real} = (coords = v, xanchor = "left", yanchor = "top") -plotly_legend_pos(theta::Real) = plotly_legend_pos((theta, :inner), is3d) +plotly_legend_pos(theta::Real) = plotly_legend_pos((theta, :inner)) function plotly_legend_pos(v::Tuple{S,Symbol}) where {S<:Real} (s, c) = sincosd(v[1]) @@ -419,7 +419,7 @@ function plotly_legend_pos(v::Tuple{S,Symbol}) where {S<:Real} yanchors = ["bottom", "middle", "top"] if v[2] === :inner - rect = (0.07, 0.5, (is3d ? 0.93 : 1.0), 0.07, 0.52, 1.0) + rect = (0.07, 0.5, 1.0, 0.07, 0.52, 1.0) xanchor = xanchors[legend_anchor_index(c)] yanchor = yanchors[legend_anchor_index(s)] else