From c39f5e1483882415e140a0d1c0b00590ad6b5e0b Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Fri, 30 Sep 2016 13:48:27 -0400 Subject: [PATCH] plotly: always set tickangle --- src/backends/plotly.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index a60cf771..956cddb9 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -202,10 +202,7 @@ function plotly_axis(axis::Axis, sp::Subplot) ax[:anchor] = "$(letter==:x ? :y : :x)$(plotly_subplot_index(sp))" end - rot = axis[:rotation] - if rot != 0 - ax[:tickangle] = -rot - end + ax[:tickangle] = -axis[:rotation] if !(axis[:ticks] in (nothing, :none)) ax[:titlefont] = plotly_font(axis[:guidefont], axis[:foreground_color_guide])