Closed will-moore closed 6 years ago
@jburel Added default variable.
If you could also change if dx > 0:
to if dx>DEFAULT_OFFSET
same for dy
In that case, we really just need to know if dx
is positive or negative and this has nothing to do with the default offset.
E.g. if the default offset was 100, we'd still need to know that dx
is positive (not if it was different from 100).
understood everything seems to work now merging
See https://trello.com/c/0TnhjDrs/1-export-bug-dx-none
This fixes a rarely seen bug (not sure how to reproduce it in normal use) in figure export. Check that figure export still works as expected, with some images zoomed in and panned off-centre. Check cropped region is same in exported figure as in web.