Fix non-native lims for ticks = :native on PyPlot.

This commit is contained in:
Andrew Palugniok 2018-02-23 10:56:57 +00:00
parent 5017024557
commit 1d51982cb0

View File

@ -1060,7 +1060,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend})
pyaxis[Symbol(:tick_, pos)]() # the tick labels
end
py_set_scale(ax, axis)
py_set_lims(ax, axis)
axis[:ticks] != :native ? py_set_lims(ax, axis) : nothing
if ispolar(sp) && letter == :y
ax[:set_rlabel_position](90)
end