fix twinx

This commit is contained in:
Simon Christ 2020-03-05 23:33:22 +01:00
parent d08422811e
commit 0ac63857c4

View File

@ -988,7 +988,9 @@ function pgfx_axis!(opt::PGFPlotsX.Options, sp::Subplot, letter)
# framestyle # framestyle
if framestyle in (:axes, :origin) if framestyle in (:axes, :origin)
axispos = framestyle == :axes ? "left" : "middle" axispos = axis[:mirror] ? "right" :
framestyle == :axes ? "left" : "middle"
if axis[:draw_arrow] if axis[:draw_arrow]
push!(opt, string("axis ", letter, " line") => axispos) push!(opt, string("axis ", letter, " line") => axispos)
else else