OffsetImage: use dpi_cor in get_extent#5112
OffsetImage: use dpi_cor in get_extent#5112efiring merged 3 commits intomatplotlib:masterfrom Tillsten:patch-1
Conversation
Before the image was always drawn with 72 dpi.
|
looks like a bugfix to me attn @jkseppan as this names the PDF backend specifically |
|
@jkseppan I am not 100% sure this the right fix, but it does fix my problem and doesn't brake tests. Both backend_bases and backend_agg, which afaik renders the image even in the pdf backend, implement points_to_pixels. To explain what it fixes: Have a look at |
|
Hmm, quite possibly. I'll try out some of the SCCEs in those issues and On Tue, Sep 22, 2015 at 8:08 AM, Jouni K. Seppänen <notifications@github.com
|
|
none of the examples in those issues got fixed by this. |
|
@tacaswell I don't see any good reason not to merge this and backport it to 2.x, assuming it fixes the blatant error in our gallery as @Tillsten notes above. |
|
The only Travis failure is in the Xcode build: Lots of package installations occurred after this, but then the build apparently stalled and timed out. |
OffsetImage: use dpi_cor in get_extent
Before the image was always drawn with 72 dpi in the pdf backend, indepent of the dpi setting..