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

DOC: Update %matplotlib for bbox_inches #8051

Merged
merged 1 commit into from Mar 14, 2015

Conversation

rnelsonchem
Copy link
Contributor

Added a couple of extra lines to the matplotlib magic doc string with instructions on how to shut off the default bbox_inches='tight' behavior.

A little background. Setting bbox_inches to 'tight' for inline figures produces figures that are not identical to ones produced using savefig in the same code block. This is problematic when, for example, you are trying to prepare a publication ready figure in the notebook. (You may want to display the figure in the notebook to share the code with collaborators but at the same time produce a very high resolution version for the manuscript.) Adding a couple of lines to the docs to address this problem could help here.

Added a couple of extra lines to the matplotlib magic doc string with
instructions on how to shut off the default bbox_inches='tight' behavior.
@Tillsten
Copy link

Could you also mention the changes to rcparams? matplotlib/matplotlib#4102 (comment)

@takluyver takluyver added this to the 3.1 milestone Mar 14, 2015
takluyver added a commit that referenced this pull request Mar 14, 2015
DOC: Update %matplotlib for bbox_inches
@takluyver takluyver merged commit fed2e06 into ipython:master Mar 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants