distances very big
This commit is contained in:
parent
45569c0d4d
commit
85bd571d0f
@ -107,11 +107,11 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
|
|||||||
bb = bbox(sp)
|
bb = bbox(sp)
|
||||||
sp_width = width(bb)
|
sp_width = width(bb)
|
||||||
sp_height = height(bb)
|
sp_height = height(bb)
|
||||||
dx, dy = bb.x0
|
dx, dy = bbox(sp).x0
|
||||||
# TODO: does this hold at every scale?
|
# TODO: does this hold at every scale?
|
||||||
if sp[:legend] in (:outertopright, nothing)
|
# if sp[:legend] in (:outertopright, nothing)
|
||||||
dx *= 1.2
|
# dx *= 1.2
|
||||||
end
|
# end
|
||||||
cstr = plot_color(sp[:background_color_legend])
|
cstr = plot_color(sp[:background_color_legend])
|
||||||
a = alpha(cstr)
|
a = alpha(cstr)
|
||||||
fg_alpha = alpha(plot_color(sp[:foreground_color_legend]))
|
fg_alpha = alpha(plot_color(sp[:foreground_color_legend]))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user