From 85bd571d0fa9c49873ba721d53e35ff310b3e462 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Wed, 18 Mar 2020 15:56:20 +0100 Subject: [PATCH] distances very big --- src/backends/pgfplotsx.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index 97863344..649a64cc 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -107,11 +107,11 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend}) bb = bbox(sp) sp_width = width(bb) sp_height = height(bb) - dx, dy = bb.x0 + dx, dy = bbox(sp).x0 # TODO: does this hold at every scale? - if sp[:legend] in (:outertopright, nothing) - dx *= 1.2 - end + # if sp[:legend] in (:outertopright, nothing) + # dx *= 1.2 + # end cstr = plot_color(sp[:background_color_legend]) a = alpha(cstr) fg_alpha = alpha(plot_color(sp[:foreground_color_legend]))