Merge pull request #1953 from daschw/polar-axis
put radius 0 at the center for polar plots (fix #1813)
This commit is contained in:
commit
d83666bed3
@ -502,7 +502,7 @@ function axis_limits(axis::Axis, should_widen::Bool = default_should_widen(axis)
|
|||||||
amin, amax = 0, 2pi
|
amin, amax = 0, 2pi
|
||||||
elseif lims == :auto
|
elseif lims == :auto
|
||||||
#widen max radius so ticks dont overlap with theta axis
|
#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
|
else
|
||||||
amin, amax
|
amin, amax
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user