Added native dpi option for print_figure#4286
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.