I'm not able to reproduce this bug here (on a Linux machine).
Which backend are you using? What version of matplotlib? Can you set
the parameter verbose.level to debug-annoying and send the output to
this list?
Cheers,
Mike
Orest Kozyar wrote:
I've been trying to set the font properties of
Can you provide a standalone example that exhibits this problem? I'm
not able to reproduce this with 0.90.1 and the imshow examples
(image_demo.py, image_origin.py).
Which backend are you using?
My only wild guess is -- with the Agg backend (possibly others), the
image is stored flipped from
On Dec 13, 2007 4:01 PM, Orest Kozyar [EMAIL PROTECTED] wrote:
I've been trying to set the font properties of the plots that I've
been making with matplotlib; however, there appears to be a problem
with font rendering. For example, when I check the properties of text
on the axes, etc, the
Michael Hearne wrote:
I am using Basemap, and trying to create two maps:
One large-scale map, and a small-scale inset map of the world centered
on the location of the large-scale map. My ultimate goal is to create
a figure where the inset map is inserted into a corner of the
large-scale
I am using Basemap, and trying to create two maps:
One large-scale map, and a small-scale inset map of the world
centered on the location of the large-scale map. My ultimate goal is
to create a figure where the inset map is inserted into a corner of
the large-scale map. I can see two
Michael Hearne wrote:
Jeff - Darn it. So is there a way to embed an axis _inside_ another,
possibly with a transparent background?
--Mike
Mike: Not quite sure why you need to have it transparent - you
definitely can't have that with postscript, but it should be possible
with the other
Jeff - Yes, that's what I want, thanks.
I think more explanation is in order - my large-scale map is the
default basemap projection. The inset map of the globe is a
orthogonal projection, which means it comes out as a little circle.
I want to insert this smaller map into the larger one,
Jeff - Yes! I'm working on implementing this now for my app...
FYI, I got the following error:
TypeError: drawmapboundary() got an unexpected keyword argument
'fill_color'
and again for 'lake_color' on the fillcontinents() method.
I'm using 0.9.7, which I think is the latest released
Michael -
This trick for replacing contour labels with a string was posted a little
while back (by someone else):*
*
class FormatFaker(object):
def __init__(self, str): self.str = str
def __mod__(self, stuff): return self.str
A=arange(100).reshape(10,10)
CS=contour(A,[50,])
I've seen this, but I'm not clever enough to see how to extend that
to multiple levels - after all, I don't want to label every line with
the same string...
--Mike
On Dec 14, 2007, at 3:20 PM, Mark Bakker wrote:
Michael -
This trick for replacing contour labels with a string was posted a
I would guess:
CS=contour(A,[50,])
CS.clabel(fmt=FormatFaker('I')) # Labels contour 50 with I
CS=contour(A,[60,])
CS.clabel(fmt=FormatFaker('II')) # Labels contour 60 with II
Or write a loop if you have many values.
Mark
On Dec 14, 2007 11:44 PM, Michael Hearne [EMAIL PROTECTED] wrote:
I would also like to get the area of the mesh element when I fill the
corresponding array element.
if a[1,0]
area = 1.0 * 0.01
if a[30,0]
area = 0.5 * 0.01
Is this possible?
On Nov 26, 2007 7:02 PM, Eric Firing [EMAIL PROTECTED] wrote:
Bryan Fodness wrote:
Could someone give me an
Bryan Fodness wrote:
I would also like to get the area of the mesh element when I fill the
corresponding array element.
if a[1,0]
area = 1.0 * 0.01
if a[30,0]
area = 0.5 * 0.01
Is this possible?
I'm sorry, but I don't understand what you are asking. Are you asking
how to
Thanks, this is what I wanted. I overlooked the cumsum() on the end of my
array, so the output of the array was not what I expected or needed.
Could you help me figure out how to get an axis label and numbers on
the right side of my graph. It is the same data and scale as the left side
except
14 matches
Mail list logo