Always define axis range explicitely

This commit is contained in:
Romain Franconville 2017-11-17 15:02:16 -05:00
parent 18619e9010
commit df023d6bdb

View File

@ -252,7 +252,7 @@ function plotly_axis(axis::Axis, sp::Subplot)
end end
ax[:tickangle] = -axis[:rotation] ax[:tickangle] = -axis[:rotation]
ax[:range] = axis_limits(axis)
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])
ax[:type] = plotly_scale(axis[:scale]) ax[:type] = plotly_scale(axis[:scale])
@ -288,6 +288,7 @@ function plotly_axis(axis::Axis, sp::Subplot)
ax[:showgrid] = false ax[:showgrid] = false
end end
ax ax
end end