From e29edc9e97cfaf57d120eec590ef2554c742b4be Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 26 Nov 2019 00:15:54 +0100 Subject: [PATCH] flip layout --- src/backends/pgfplotsx.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index ec210aab..4ae9370f 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -70,7 +70,7 @@ end function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend}) if !pgfx_plot.is_created the_plot = PGFPlotsX.TikzPicture(PGFPlotsX.Options()) - cols, rows = size(plt.layout.grid) + rows, cols = size(plt.layout.grid) bgc = plt.attr[:background_color_outside] == :match ? plt.attr[:background_color] : plt.attr[:background_color] if bgc isa Colors.Colorant cstr = plot_color(bgc)