Skip to content

Commit

Permalink
stop default widen behaviour overriding axis limit rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
wfrgra committed Jan 5, 2019
1 parent 7acb5a4 commit 9679eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ const _widen_seriestypes = (:line, :path, :steppre, :steppost, :sticks, :scatter

function default_should_widen(axis::Axis)
should_widen = false
if !is_2tuple(axis[:lims])
if !(is_2tuple(axis[:lims]) || axis[:lims] == :round)
for sp in axis.sps
for series in series_list(sp)
if series.plotattributes[:seriestype] in _widen_seriestypes
Expand Down

0 comments on commit 9679eae

Please sign in to comment.