Re: [Matplotlib-users] Basemap continent colors

2010-05-10 Thread Jeff Whitaker
On 5/10/10 2:21 PM, Michael Hearne wrote: > I have found a (possible) bug in Basemap - when using > basemap.fillcontinents(), I see the chosen continent color only when the map > I create includes some ocean. If I am in the interior of a continent (I've > tested with North America and Asia), t

[Matplotlib-users] Basemap continent colors

2010-05-10 Thread Michael Hearne
I have found a (possible) bug in Basemap - when using basemap.fillcontinents(), I see the chosen continent color only when the map I create includes some ocean. If I am in the interior of a continent (I've tested with North America and Asia), the continent color is white. A code sample is bel

Re: [Matplotlib-users] Failed to save eps

2010-05-10 Thread Michael Droettboom
It seems to be failing on the minus signs in the text, due to a recent (incorrect) change to declared encoding of the postscript file. This has been corrected in r8305. You didn't mention which version of matplotlib you are running... I'm not sure this bug would be in the latest released versio

[Matplotlib-users] Failed to save eps

2010-05-10 Thread afancy
Hi, Could anybody help me to take a look my following code? When I save it to eps format, the eps file is corrupted. But i can save as pdf format successfully instead. Regards tommy from matplotlib.font_manager import FontProperties data = ((16.31, 76.35, 62.62, 135.2), (6.4, 12.64, 87,

Re: [Matplotlib-users] get_tick{label}s: are tick labels drawn?

2010-05-10 Thread Nico Schlömer
I just noticed something else now: When tick labels are explicitly supplied, that may not actually reflect in the return result of get_ticks. Specifically, I set the tick labels in a color bar, but get_ticklabels() returns a list of empty text objects Text(0,0,''). For regular axes, that seems to

Re: [Matplotlib-users] sketch bar?

2010-05-10 Thread Michael Droettboom
You may also try saving as SVG and then loading in Inkscape and using its various "artistic" vector plugins to achieve similar results. Mike John Hunter wrote: > On Fri, May 7, 2010 at 1:09 PM, Eric Firing wrote: > >> On 05/06/2010 08:02 PM, oyster wrote: >> >>> I know matplotlib mimics

Re: [Matplotlib-users] Unicode question

2010-05-10 Thread Michael Droettboom
I believe there's only a handful of characters available as sub/superscript in Unicode: http://www.unicode.org/charts/PDF/U2070.pdf Mike Gökhan Sever wrote: > Hello, > > I have tendency to use unicode strings for my simple units e.g. > plt.xlabel(u"Concentration (# cm⁻³)") > > Wondering if it