[Matplotlib-users] why does transform=None cause a patch not to be shown?

2012-03-21 Thread C M
For the following code, if I remove the transform=None a green patch is shown. If it is in, it is not shown. I would think that transform=None should have no effect. Why is this? Thanks, Che import matplotlib.pyplot as plt import matplotlib.patches as patches from matplotlib.path import Path

Re: [Matplotlib-users] open ascii grid data and plot

2012-03-21 Thread Goyo
El día 21 de marzo de 2012 01:03, questions anon > f=np.genfromtxt(inputfile, skip_header=6, dtype=None, names=True) I don't think you should be using dtype=None if you wand a 2D array. Also the names=True thing makes no sense to me since there isn't a row with field names. Try just this and I gu

Re: [Matplotlib-users] sample to contribute to mpl gallery

2012-03-21 Thread gsal
I liked the plot very much, too. I want to start using python and matplotlib for my everyday engineering calculations and could use any handy matplotlib samples. This in particular looks great, compare to the copied-and-copied-and-copied-over black-and-white scanned-in plot in the design manual

Re: [Matplotlib-users] Errorbars not drawn correctly in logarithmic scales

2012-03-21 Thread Wolfgang Draxinger
On Mon, 12 Mar 2012 15:51:15 -0500 Benjamin Root wrote: > Ah, finally figured it out. The issue is that your y-value for that > error bar is 9.114, but you want to plot error bars that are > +/-10.31. That line gets thrown out by matplotlib because you can't > plot at negative values for log sc