flip layout

This commit is contained in:
Simon Christ 2019-11-26 00:15:54 +01:00
parent 091ca327ba
commit 9488176a2d

View File

@ -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)