I want to change the size of the lat/lon labels on a Basemap map, and from the documentation, it seems like this ought to be possible using drawparallels() and drawmeridians() with a keword argument, e.g.:

linmap.drawparallels(range(-90,90,30), labels=[1,0,0,1], fontsize='x- small')

but that doesn't have any effect. I've also tried size='x-small' and size/fontsize=9 and none of them seem to do anything. I also can't seem to obtain lists of ticklabels from the Axes instance that the map is inside of, to change their sizes. On normal (non-Basemap) figures, I can do something like:

for ticklabel in ax.get_xticklabels():
    ticklabel.set_size('x-small')

to re-size them after the fact, but on the Basemap axes, get_xticklabels() returns a zero length list.

Does anybody know where are these things hiding?

Thanks!
Zane

--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F








-------------------------------------------------------------------------
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