plotly: always set tickangle
This commit is contained in:
parent
f41a09b68e
commit
c39f5e1483
@ -202,10 +202,7 @@ function plotly_axis(axis::Axis, sp::Subplot)
|
|||||||
ax[:anchor] = "$(letter==:x ? :y : :x)$(plotly_subplot_index(sp))"
|
ax[:anchor] = "$(letter==:x ? :y : :x)$(plotly_subplot_index(sp))"
|
||||||
end
|
end
|
||||||
|
|
||||||
rot = axis[:rotation]
|
ax[:tickangle] = -axis[:rotation]
|
||||||
if rot != 0
|
|
||||||
ax[:tickangle] = -rot
|
|
||||||
end
|
|
||||||
|
|
||||||
if !(axis[:ticks] in (nothing, :none))
|
if !(axis[:ticks] in (nothing, :none))
|
||||||
ax[:titlefont] = plotly_font(axis[:guidefont], axis[:foreground_color_guide])
|
ax[:titlefont] = plotly_font(axis[:guidefont], axis[:foreground_color_guide])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user