-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Added native dpi option for print_figure #4286
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
Conversation
Interesting idea, but I'm not sure the term |
How about "preserve" or "figure" ? |
How does this interact with |
I moved the It seems like a common gotcha with users where the Figure dpi (screen) and Figure.savefig() dpi (output) differ. |
I like it. |
👍 from me too. @patchen Can you add an entry to https://github.com/matplotlib/matplotlib/tree/master/doc/users/whats_new ? The validation the the dpi kwarg should also be updated to allow 'figure' as a valid value. |
@tacaswell |
If you try to do |
ENH : Added native dpi option for print_figure
As per #305, Added the option to set dpi='native' in canvas.print_figure(). Doing so will set the "canvas print_figure" dpi equal to the figure dpi.