Skip to content

Conversation

@doutriaux1
Copy link
Contributor

@doutriaux1 doutriaux1 commented Sep 28, 2016

png does not have to be scaled to fit height of canvas any more
default are set such as nothing changes for exisitng codes
vcs/VTKPlots.py Outdated
if units[:7].lower() == "percent":
xoff = width * xOffset / zoom / 200.
yoff = height * yOffset / zoom / 200.
elif units[:5].lower() == "pixels":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you need 6 instead of 5 isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is already fixed, I think you're looking at an older version, no?

@chaosphere2112 chaosphere2112 merged commit bcb8d33 into master Oct 3, 2016
@chaosphere2112 chaosphere2112 deleted the improve_put_png branch October 3, 2016 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants