diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index 94a76b3b..2e210ab3 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -71,7 +71,7 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend}) if !pgfx_plot.is_created the_plot = PGFPlotsX.TikzPicture(PGFPlotsX.Options()) cols, rows = size(plt.layout.grid) - bgc = plt.attr[:background_color_outside] + bgc = plt.attr[:background_color_outside] == :match ? plt.attr[:background_color] : plt.attr[:background_color] if bgc isa Colors.Colorant cstr = plot_color(bgc) a = alpha(cstr)