fix padding

This commit is contained in:
Simon Christ 2020-01-14 11:53:42 +01:00
parent 2066e50178
commit 01207b9721

View File

@ -992,11 +992,11 @@ end
# to fit ticks, tick labels, guides, colorbars, etc.
function _update_min_padding!(sp::Subplot{PGFPlotsXBackend})
# TODO: make padding more intelligent
# TODO: currently padding does not apply
sp.minpad = (50mm + sp[:left_margin],
0mm + sp[:top_margin],
50mm + sp[:right_margin],
0mm + sp[:bottom_margin])
# TODO: how to include margins properly?
# sp.minpad = (50mm + sp[:left_margin],
# 0mm + sp[:top_margin],
# 50mm + sp[:right_margin],
# 0mm + sp[:bottom_margin])
end
function _create_backend_figure(plt::Plot{PGFPlotsXBackend})