Dear Eric,

Thanks for your reply. This is surely not good news -- maybe an
automatic shrinking mechanism could be added in a future version of
Matplotlib (this would be useful not only with maps, but with other
plots as well)?

Regards,

2008/11/20 Eric Firing <[EMAIL PROTECTED]>:
> Mauro Cavalcanti wrote:
>>
>> Dear ALL,
>>
>> Another (this time possibly quite silly) question: how can I make a
>> Basemap cover entirely the display area of the GUI backend (ie.,
>> without the top, bottom, left, right spaces)?
>>
>> I tried something like:
>>
>> self.figure = Figure()
>> self.figure.subplots_adjust(left=-0.01, bottom=-0.750, right=1.0,
>> top=1.55)
>>
>> but could not control the bottom (or top) margins.
>
> The reason is that a map has a fixed aspect ratio, and there is no mechanism
> for automatically shrinking the appropriate figure dimension to eliminate
> extra space.  You will have adjust the figure dimensions manually.
>
> Eric
>
>>
>> Thanks in advance for any hints.
>>
>> Best regards,
>>
>
>



-- 
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: [EMAIL PROTECTED]
Web: http://studio.infobio.net
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to