default to radius 0 at center for polar plots

This commit is contained in:
Daniel Schwabeneder 2019-03-13 13:40:05 +01:00
parent 05fe220102
commit cab6ca3ef0

View File

@ -502,7 +502,7 @@ function axis_limits(axis::Axis, should_widen::Bool = default_should_widen(axis)
amin, amax = 0, 2pi
elseif lims == :auto
#widen max radius so ticks dont overlap with theta axis
amin, amax + 0.1 * abs(amax - amin)
0, amax + 0.1 * abs(amax - amin)
else
amin, amax
end