heliosdrm / GRUtils.jl

Tools for using the GR framework in Julia
Other
31 stars 6 forks source link

`yflip` moves the x-tick-labels to overlay the `title`. #74

Closed kapple19 closed 3 years ago

kapple19 commented 3 years ago

This code

using GRUtils
x = 1:10
y = x.^2
f = Figure()
plot!(f, x, y)
yflip!(f, true)
title!(f, "A Parabola")
display(f)

demonstrates the x-tick-labels overlaying the title.

Is this a bug? Must I manually move the x-tick-labels below the plot where I desire them to be?

heliosdrm commented 3 years ago

Yes, it is a bug, the axis tick-labels should stay on bottom. Thanks for noting.

kapple19 commented 3 years ago

Glad to (hopefully) help. =)