aboutsummaryrefslogtreecommitdiff
path: root/gerbimg.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-06-28 22:55:05 +0200
committerjaseg <git@jaseg.net>2018-06-28 22:55:05 +0200
commit0c0fbc10e94fc4f5787fb82e491a1901005f2087 (patch)
tree21ce4e6df27692bc0152270f06f62d91f49093f4 /gerbimg.py
parentf4588ebda583bfa45e3ceb3dc5680b07fe9402d5 (diff)
downloadgerbolyze-0c0fbc10e94fc4f5787fb82e491a1901005f2087.tar.gz
gerbolyze-0c0fbc10e94fc4f5787fb82e491a1901005f2087.tar.bz2
gerbolyze-0c0fbc10e94fc4f5787fb82e491a1901005f2087.zip
Fix offset issue for xen
Diffstat (limited to 'gerbimg.py')
-rwxr-xr-xgerbimg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbimg.py b/gerbimg.py
index 50e33e4..870a906 100755
--- a/gerbimg.py
+++ b/gerbimg.py
@@ -98,7 +98,7 @@ def paste_image(
status_print('Calculating contour lines')
plot_contours(out_img,
target,
- offx=(0, 0),
+ offx=(tminx, tminy),
scale=scale,
status_print=lambda *args: status_print(' ', *args))