fix padding
This commit is contained in:
parent
2066e50178
commit
01207b9721
@ -992,11 +992,11 @@ end
|
|||||||
# to fit ticks, tick labels, guides, colorbars, etc.
|
# to fit ticks, tick labels, guides, colorbars, etc.
|
||||||
function _update_min_padding!(sp::Subplot{PGFPlotsXBackend})
|
function _update_min_padding!(sp::Subplot{PGFPlotsXBackend})
|
||||||
# TODO: make padding more intelligent
|
# TODO: make padding more intelligent
|
||||||
# TODO: currently padding does not apply
|
# TODO: how to include margins properly?
|
||||||
sp.minpad = (50mm + sp[:left_margin],
|
# sp.minpad = (50mm + sp[:left_margin],
|
||||||
0mm + sp[:top_margin],
|
# 0mm + sp[:top_margin],
|
||||||
50mm + sp[:right_margin],
|
# 50mm + sp[:right_margin],
|
||||||
0mm + sp[:bottom_margin])
|
# 0mm + sp[:bottom_margin])
|
||||||
end
|
end
|
||||||
|
|
||||||
function _create_backend_figure(plt::Plot{PGFPlotsXBackend})
|
function _create_backend_figure(plt::Plot{PGFPlotsXBackend})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user