plotly: always set tickangle

This commit is contained in:
Thomas Breloff 2016-09-30 13:48:27 -04:00
parent f41a09b68e
commit c39f5e1483

View File

@ -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])