fix plotlyjs lims: apply scalefunc

This commit is contained in:
Thomas Breloff 2016-10-12 15:11:51 -04:00
parent 6677e0e0a0
commit aee13d295c

View File

@ -218,7 +218,7 @@ function plotly_axis(axis::Axis, sp::Subplot)
# lims
lims = axis[:lims]
if lims != :auto && limsType(lims) == :limits
ax[:range] = lims
ax[:range] = map(scalefunc(axis[:scale]), lims)
end
# flip