Skip to content

Commit

Permalink
Change "x-limits" to "$(dimsym)-limits". (#2860)
Browse files Browse the repository at this point in the history
  • Loading branch information
KronosTheLate committed Apr 17, 2023
1 parent fb1f7f7 commit bc13edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makielayout/blocks/axis.jl
Expand Up @@ -967,7 +967,7 @@ function autolimits(ax::Axis, dim::Integer)
margin = getproperty(ax, Symbol(dimsym, :autolimitmargin))[]
if !isnothing(lims)
if !validate_limits_for_scale(lims, scale)
error("Found invalid x-limits $lims for scale $(scale) which is defined on the interval $(defined_interval(scale))")
error("Found invalid $(dimsym)-limits $lims for scale $(scale) which is defined on the interval $(defined_interval(scale))")
end
lims = expandlimits(lims, margin[1], margin[2], scale)
end
Expand Down

0 comments on commit bc13edb

Please sign in to comment.