Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PDF clipping and add an add_page() method. #109

Merged
merged 3 commits into from May 21, 2013

Conversation

jwiggins
Copy link
Member

@jwiggins jwiggins commented Apr 9, 2013

Based on feedback from @jilott, fix the clipping that is done when drawing to a PdfGraphicsContext so that it doesn't discard a plot's padding (which is generally where axis components draw).

This also adds an add_page() method that starts a new page in the PDF document and makes sure that it gets the same origin offset as the first page did.

@jwiggins jwiggins mentioned this pull request Apr 9, 2013
@jilott
Copy link
Contributor

jilott commented Apr 19, 2013

Hi John. I just changed my code to stop using a 'priming' plot to test the modified add_page(). It appears that add_page() now duplicates the behavior of the ReportLab function. As far as I can tell, everything is functioning correctly. Thanks!

@jilott
Copy link
Contributor

jilott commented May 21, 2013

I've found that this change works well for me, and I haven't encountered any broken examples with it merged into my own master. Is there anything outstanding that is preventing it from being merged?

@jwiggins
Copy link
Member Author

Nope.

jwiggins added a commit that referenced this pull request May 21, 2013
Fix PDF clipping and add an add_page() method.
@jwiggins jwiggins merged commit c478c90 into master May 21, 2013
@jwiggins jwiggins deleted the feature/multipage-pdf branch May 21, 2013 20:46
@jwiggins
Copy link
Member Author

Thanks for testing @jilott

@jilott
Copy link
Contributor

jilott commented May 21, 2013

My pleasure, thanks for implementing @jwiggins .

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.

None yet

2 participants