How to not plot axis ticks on top and right in Plots.jl with GR backend?

This is the inverse question for: Axis ticks on top and right

plot with framestyle=:box used to not put axis ticks on top and right, but after Feature request: plot axes and ticks on all four sides · Issue #2218 · JuliaPlots/Plots.jl · GitHub, this seems to be fixed. However, what should I do to recover the old-style behavior? Is there an option like :semibox or something?

plot(1:10, 1:10, framestyle=:box)

Similar: Remove top or bottom axis in :box plot

There is the :semi style:
plot(1:10, 1:10, framestyle=:semi)

Hi, I am aware of the :semi option, however, the top and bottom frames seem to have different widths than the other two. And I couldn’t find any option to control the width of the frame.


p = plot(1:10, 1:10, widen=false)
vline!([xlims(p)[2]], lc=:black, lw=2)
hline!([ylims(p)[2]], lc=:black, lw=2)

Thanks! It looks better. But could there be a specific option to do this in a more straightforward way?