remove unnecessary line

This commit is contained in:
Daniel Schwabeneder 2021-01-09 21:51:30 +01:00
parent 6c8fb87635
commit eb1c126dbc

View File

@ -1432,11 +1432,10 @@ function gr_label_axis(sp, letter, viewport_plotarea)
axis = sp[Symbol(letter, :axis)] axis = sp[Symbol(letter, :axis)]
# guide # guide
if axis[:guide] != "" if axis[:guide] != ""
isy = letter === :y
GR.savestate() GR.savestate()
gr_set_font(guidefont(axis), sp) gr_set_font(guidefont(axis), sp)
guide_position = axis[:guide_position] guide_position = axis[:guide_position]
if isy if letter === :y
w = 0.03 + gr_axis_width(sp, axis) w = 0.03 + gr_axis_width(sp, axis)
GR.setcharup(-1, 0) GR.setcharup(-1, 0)
if guide_position == :right || (guide_position == :auto && axis[:mirror]) if guide_position == :right || (guide_position == :auto && axis[:mirror])