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

Use adjustbox to specify figure size in nbconvert -> latex #3578

Merged
merged 1 commit into from Jul 8, 2013

Conversation

jakobgager
Copy link
Contributor

Instead of hardcoding the image size used when compiling latex, a maximum size is specified only.
This way smaller images don't get enlarged. The Sphinx converter use the same approach.

@Carreau
Copy link
Member

Carreau commented Jul 8, 2013

If it does what the description say it does +1. Too lazy to test today.

@minrk
Copy link
Member

minrk commented Jul 8, 2013

tested and max size works just fine (figure output is still all messed up, but that's not relevant here). Merging.

minrk added a commit that referenced this pull request Jul 8, 2013
Use adjustbox to specify figure size in nbconvert -> latex

Instead of hardcoding the image size used when compiling latex, a maximum size is specified only.
This way smaller images don't get enlarged. The Sphinx converter use the same approach.
@minrk minrk merged commit 0e65ed0 into ipython:master Jul 8, 2013
@jakobgager jakobgager deleted the latex_image_handle branch July 8, 2013 19:51
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Use adjustbox to specify figure size in nbconvert -> latex

Instead of hardcoding the image size used when compiling latex, a maximum size is specified only.
This way smaller images don't get enlarged. The Sphinx converter use the same approach.
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

3 participants