fix axis widen when lims is set
This commit is contained in:
parent
fe1b759787
commit
bed9beafdc
@ -342,7 +342,7 @@ end
|
|||||||
# so lazy out and don't widen
|
# so lazy out and don't widen
|
||||||
function default_should_widen(axis::Axis)
|
function default_should_widen(axis::Axis)
|
||||||
should_widen = false
|
should_widen = false
|
||||||
if axis[:scale] == :identity
|
if axis[:scale] == :identity && !is_2tuple(axis[:lims])
|
||||||
for sp in axis.sps
|
for sp in axis.sps
|
||||||
for series in series_list(sp)
|
for series in series_list(sp)
|
||||||
if series.d[:seriestype] in (:scatter,) || series.d[:markershape] != :none
|
if series.d[:seriestype] in (:scatter,) || series.d[:markershape] != :none
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user