[Matplotlib-users] Exporting plot with given scale and DPI

Jody Klymak jklymak at uvic.ca
Wed Jan 10 13:16:42 EST 2018


Can you give us a minimal self-contained working example of exactly what you are trying to do?  

Cheers,   Jody




> On 10 Jan 2018, at 09:58, Alexander Bruy <alexander.bruy at gmail.com> wrote:
> 
> Hi Eric,
> 
> 2018-01-10 18:46 GMT+02:00 Eric Firing <efiring at hawaii.edu>:
>> It looks like somewhere you are setting an aspect ratio of 1 (or 'equal')
>> and the difference between the examples is that the first is with adjustable
>> 'box' and the second is with adjustable 'datalim'.
> 
> Right, I create axes using following code:
> 
> axes = fig.add_axes((LEFT_MARGIN, BOTTOM_MARGIN, RIGHT_MARGIN, TOP_MARGIN),
>                                  adjustable="datalim",  aspect=1)
> 
>> Are you doing any sharing or twinning of axes?
> 
> No sharing or twinning, just single line and one pair (X and Y) of axes.
> 
> -- 
> Alexander Bruy
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users

--
Jody Klymak    
http://web.uvic.ca/~jklymak/







More information about the Matplotlib-users mailing list