You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
(27) |
2
(15) |
3
(2) |
4
(4) |
5
(5) |
6
(9) |
7
(15) |
8
(24) |
9
(19) |
10
(7) |
11
(13) |
12
(26) |
13
(27) |
14
(17) |
15
(14) |
16
(12) |
17
(9) |
18
(12) |
19
(17) |
20
(19) |
21
(5) |
22
(5) |
23
(7) |
24
(4) |
25
(1) |
26
(9) |
27
(20) |
28
(5) |
29
(10) |
30
(12) |
31
(6) |
Ok thank you - so one way to work around it is to just generate the files I want in batches so Windows won't run out of file handles - but is there a way to know how many handles are available? I'm trying to animate some data and I don't really know how many frames there are - could be thousands. Andy On Fri, Mar 23, 2012 at 3:45 PM, Michael Droettboom <md...@st...> wrote: > This is a known bug on Windows where it runs out of file handles after a > while. > > This commit was an attempt to fix it, but it doesn't seem to work: > > > https://github.com/matplotlib/matplotlib/commit/4cb2aaa87b0aa9efe7178d7510d3d091ef5206df > > I think we need a Windows user/developer/expert to get to the bottom of > why file handles are not being freed to the OS. > > Mike > > > On 03/23/2012 04:35 PM, Andrew Smart wrote: > > Hi, > I'm running into this RuntimeError: Could not open facefile > c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf; > Cannot_Open_Resource when I'm trying to save out a series of *.png files in > a loop. It crashes on this error after many passes through the loop and > successful files get created, but then always on the same pass it does > this. The full traceback is here: > > File > "C:\Users\E440710\Desktop\PythonTransfer\fittslaw_ThroughputCalc_AS_break.py", > line 744, in <module> > fig.savefig(fname, transparent = True) > File "c:\Python32\lib\site-packages\matplotlib\figure.py", line 1174, in > savefig > self.canvas.print_figure(*args, **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\backend_bases.py", line > 2027, in print_figure > **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", > line 451, in print_png > FigureCanvasAgg.draw(self) > File "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", > line 400, in draw > self.figure.draw(self.renderer) > File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, in > draw_wrapper > draw(artist, renderer, *args, **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\figure.py", line 887, in > draw > func(*args) > File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, in > draw_wrapper > draw(artist, renderer, *args, **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\axes.py", line 1985, in > draw > a.draw(renderer) > File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, in > draw_wrapper > draw(artist, renderer, *args, **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\axis.py", line 1043, in > draw > ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw, > renderer) > File "c:\Python32\lib\site-packages\matplotlib\axis.py", line 994, in > _get_tick_bboxes > extent = tick.label1.get_window_extent(renderer) > File "c:\Python32\lib\site-packages\matplotlib\text.py", line 743, in > get_window_extent > bbox, info = self._get_layout(self._renderer) > File "c:\Python32\lib\site-packages\matplotlib\text.py", line 296, in > _get_layout > ismath=False) > File "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", > line 182, in get_text_width_height_descent > font = self._get_agg_font(prop) > File "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", > line 223, in _get_agg_font > font = FT2Font(str(fname)) > RuntimeError: Could not open facefile > c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf; > Cannot_Open_Resource > > I've tried the various fixes that have been suggested - removing the > fontList.py3k.cache and even the removing the .matplotlib directory. > However when I run my script that's producing the error the directory gets > recreated along with the fontList.py3k.cache which must be pointing to the > wrong path? > > When I check the path > c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf where > matplotlib is looking for the resource it cannot open - the Vera.ttf is > there. > > This only happens after many iterations through the loop that is saving > out the *.png files and I have no idea why. > > The relevant code from my script is here: > > for p in plotData[k]["data"]: > #print("p in plotData[k]:",p) > a = numpy.array((loc[0],loc[1])) > b = numpy.array((p[0],p[1])) > distValue = (numpy.sqrt(numpy.sum((a-b)**2) ))/86.0 #divide by > 86 because that was the ppi on the display used to collect the data > if p[2] == 1: > hit_x.append(loc[0]-p[0]) > > hit_y.append(loc[1]-p[1]) > > frame_hit_x = loc[0]-p[0] > frame_hit_y = loc[1]-p[1] > print("frame_x:", frame_hit_x) > files = [] > if size == (0.25,0.25) and makeMovie: > > fig = plt.figure() > print("fig:", fig) > > plt.plot(frame_hit_x,frame_hit_y,color='green',marker='o',linestyle='') > > plt.axis('scaled') > plt.axis([-100,100,-100,100]) > > fname = > "subj{:g}_size{:g}_hit_x{:g}.png".format(Subject,btnSize,frame_hit_x) > print('saving frame', fname) > fig.savefig(fname, transparent = True) > files.append(fname) > > I'm on a Win7 64bit using python 3.2 and matplotlib version 1.2.x > > Any help would be greatly appreciated! > > Andy > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure > > > > _______________________________________________ > Matplotlib-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
This is a known bug on Windows where it runs out of file handles after a while. This commit was an attempt to fix it, but it doesn't seem to work: https://github.com/matplotlib/matplotlib/commit/4cb2aaa87b0aa9efe7178d7510d3d091ef5206df I think we need a Windows user/developer/expert to get to the bottom of why file handles are not being freed to the OS. Mike On 03/23/2012 04:35 PM, Andrew Smart wrote: > Hi, > I'm running into this RuntimeError: Could not open facefile > c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf; > Cannot_Open_Resource when I'm trying to save out a series of *.png > files in a loop. It crashes on this error after many passes through > the loop and successful files get created, but then always on the same > pass it does this. The full traceback is here: > > File > "C:\Users\E440710\Desktop\PythonTransfer\fittslaw_ThroughputCalc_AS_break.py", > line 744, in <module> > fig.savefig(fname, transparent = True) > File "c:\Python32\lib\site-packages\matplotlib\figure.py", line > 1174, in savefig > self.canvas.print_figure(*args, **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\backend_bases.py", > line 2027, in print_figure > **kwargs) > File > "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", > line 451, in print_png > FigureCanvasAgg.draw(self) > File > "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", > line 400, in draw > self.figure.draw(self.renderer) > File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, > in draw_wrapper > draw(artist, renderer, *args, **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\figure.py", line 887, > in draw > func(*args) > File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, > in draw_wrapper > draw(artist, renderer, *args, **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\axes.py", line 1985, > in draw > a.draw(renderer) > File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, > in draw_wrapper > draw(artist, renderer, *args, **kwargs) > File "c:\Python32\lib\site-packages\matplotlib\axis.py", line 1043, > in draw > ticklabelBoxes, ticklabelBoxes2 = > self._get_tick_bboxes(ticks_to_draw, renderer) > File "c:\Python32\lib\site-packages\matplotlib\axis.py", line 994, > in _get_tick_bboxes > extent = tick.label1.get_window_extent(renderer) > File "c:\Python32\lib\site-packages\matplotlib\text.py", line 743, > in get_window_extent > bbox, info = self._get_layout(self._renderer) > File "c:\Python32\lib\site-packages\matplotlib\text.py", line 296, > in _get_layout > ismath=False) > File > "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", > line 182, in get_text_width_height_descent > font = self._get_agg_font(prop) > File > "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", > line 223, in _get_agg_font > font = FT2Font(str(fname)) > RuntimeError: Could not open facefile > c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf; > Cannot_Open_Resource > > I've tried the various fixes that have been suggested - removing the > fontList.py3k.cache and even the removing the .matplotlib directory. > However when I run my script that's producing the error the directory > gets recreated along with the fontList.py3k.cache which must be > pointing to the wrong path? > > When I check the path > c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf > where matplotlib is looking for the resource it cannot open - the > Vera.ttf is there. > > This only happens after many iterations through the loop that is > saving out the *.png files and I have no idea why. > > The relevant code from my script is here: > > for p in plotData[k]["data"]: > #print("p in plotData[k]:",p) > a = numpy.array((loc[0],loc[1])) > b = numpy.array((p[0],p[1])) > distValue = (numpy.sqrt(numpy.sum((a-b)**2) ))/86.0 > #divide by 86 because that was the ppi on the display used to collect > the data > if p[2] == 1: > hit_x.append(loc[0]-p[0]) > > hit_y.append(loc[1]-p[1]) > > frame_hit_x = loc[0]-p[0] > frame_hit_y = loc[1]-p[1] > print("frame_x:", frame_hit_x) > files = [] > if size == (0.25,0.25) and makeMovie: > > fig = plt.figure() > print("fig:", fig) > > plt.plot(frame_hit_x,frame_hit_y,color='green',marker='o',linestyle='') > > plt.axis('scaled') > plt.axis([-100,100,-100,100]) > > fname = > "subj{:g}_size{:g}_hit_x{:g}.png".format(Subject,btnSize,frame_hit_x) > print('saving frame', fname) > fig.savefig(fname, transparent = True) > files.append(fname) > > I'm on a Win7 64bit using python 3.2 and matplotlib version 1.2.x > > Any help would be greatly appreciated! > > Andy > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Hi, I'm running into this RuntimeError: Could not open facefile c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf; Cannot_Open_Resource when I'm trying to save out a series of *.png files in a loop. It crashes on this error after many passes through the loop and successful files get created, but then always on the same pass it does this. The full traceback is here: File "C:\Users\E440710\Desktop\PythonTransfer\fittslaw_ThroughputCalc_AS_break.py", line 744, in <module> fig.savefig(fname, transparent = True) File "c:\Python32\lib\site-packages\matplotlib\figure.py", line 1174, in savefig self.canvas.print_figure(*args, **kwargs) File "c:\Python32\lib\site-packages\matplotlib\backend_bases.py", line 2027, in print_figure **kwargs) File "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", line 451, in print_png FigureCanvasAgg.draw(self) File "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", line 400, in draw self.figure.draw(self.renderer) File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "c:\Python32\lib\site-packages\matplotlib\figure.py", line 887, in draw func(*args) File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "c:\Python32\lib\site-packages\matplotlib\axes.py", line 1985, in draw a.draw(renderer) File "c:\Python32\lib\site-packages\matplotlib\artist.py", line 56, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "c:\Python32\lib\site-packages\matplotlib\axis.py", line 1043, in draw ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw, renderer) File "c:\Python32\lib\site-packages\matplotlib\axis.py", line 994, in _get_tick_bboxes extent = tick.label1.get_window_extent(renderer) File "c:\Python32\lib\site-packages\matplotlib\text.py", line 743, in get_window_extent bbox, info = self._get_layout(self._renderer) File "c:\Python32\lib\site-packages\matplotlib\text.py", line 296, in _get_layout ismath=False) File "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", line 182, in get_text_width_height_descent font = self._get_agg_font(prop) File "c:\Python32\lib\site-packages\matplotlib\backends\backend_agg.py", line 223, in _get_agg_font font = FT2Font(str(fname)) RuntimeError: Could not open facefile c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf; Cannot_Open_Resource I've tried the various fixes that have been suggested - removing the fontList.py3k.cache and even the removing the .matplotlib directory. However when I run my script that's producing the error the directory gets recreated along with the fontList.py3k.cache which must be pointing to the wrong path? When I check the path c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf where matplotlib is looking for the resource it cannot open - the Vera.ttf is there. This only happens after many iterations through the loop that is saving out the *.png files and I have no idea why. The relevant code from my script is here: for p in plotData[k]["data"]: #print("p in plotData[k]:",p) a = numpy.array((loc[0],loc[1])) b = numpy.array((p[0],p[1])) distValue = (numpy.sqrt(numpy.sum((a-b)**2) ))/86.0 #divide by 86 because that was the ppi on the display used to collect the data if p[2] == 1: hit_x.append(loc[0]-p[0]) hit_y.append(loc[1]-p[1]) frame_hit_x = loc[0]-p[0] frame_hit_y = loc[1]-p[1] print("frame_x:", frame_hit_x) files = [] if size == (0.25,0.25) and makeMovie: fig = plt.figure() print("fig:", fig) plt.plot(frame_hit_x,frame_hit_y,color='green',marker='o',linestyle='') plt.axis('scaled') plt.axis([-100,100,-100,100]) fname = "subj{:g}_size{:g}_hit_x{:g}.png".format(Subject,btnSize,frame_hit_x) print('saving frame', fname) fig.savefig(fname, transparent = True) files.append(fname) I'm on a Win7 64bit using python 3.2 and matplotlib version 1.2.x Any help would be greatly appreciated! Andy
On 03/23/2012 08:05 AM, Albert Kottke wrote: > I am having problems clearing figures from memory. After saving the > figure, I use pyplot.close() on the figure handle and then del all of > the data and figure, as shown here: > > fig.savefig('plots/%(record_id)05i' % recording) > plt.close(fig) > > del accel, fourier_amp, fig, time, disp > gc.collect() > > Despite this, the figures don't appear to be closing. I am trying to > make 30k plots and I have to kill script every couple thousand and > restart because I run out of memory. > > Any suggestions? You are running a standalone script, correct? Make sure you are using only the agg backend. Before the first import of pyplot, do import matplotlib matplotlib.use("agg") I don't know if that will help, but it can't hurt. You might find matplotlib.cbook.report_memory() to be useful in tracking down the problem. Eric > > > Albert > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
I am having problems clearing figures from memory. After saving the figure, I use pyplot.close() on the figure handle and then del all of the data and figure, as shown here: fig.savefig('plots/%(record_id)05i' % recording) plt.close(fig) del accel, fourier_amp, fig, time, disp gc.collect() Despite this, the figures don't appear to be closing. I am trying to make 30k plots and I have to kill script every couple thousand and restart because I run out of memory. Any suggestions? Albert
The shapes of X, Y, and Z must match. After the mesh grid, Z no longer matches X and Y. Ben Root (I will be out of contact for at least a week, sorry I won't be able to help any further till then.)
Hi, I have three variables I would like to plot using plot_surface but I keep getting the error given at the bottom. Anyone know what I am doing wrong?? My code is as follows, fig3 = plt.figure() ax = Axes3D(fig3) X = np.zeros((78,1)) Y = np.zeros((78,1)) Z = np.zeros((78,1)) for p in range(len(data)): X[p,0] = data[p][1] #distance Y[p,0] = data[p][3] #azimuth Z[p,0] = data[p][4] #snr X, Y = np.meshgrid(X, Y) surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.jet) ValueError Traceback (most recent call last) /home/davcra/python_scripts/plot_snr_az.py in <module>() 48 Z[p,0] = data[p][4] #snr 49 X, Y = np.meshgrid(X, Y) ---> 50 surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.jet) 51 #fig.colorbar(surf, shrink=0.5, aspect=5) 52 #plt.show() /usr/lib64/python2.6/site-packages/mpl_toolkits/mplot3d/axes3d.pyc in plot_surface(self, X, Y, Z, *args, **kwargs) 616 normals.append(np.cross(v1, v2)) 617 --> 618 polyc = art3d.Poly3DCollection(polys, *args, **kwargs) 619 if cmap is not None: 620 polyc.set_array(np.array(avgz)) /usr/lib64/python2.6/site-packages/mpl_toolkits/mplot3d/art3d.pyc in __init__(self, verts, *args, **kwargs) 282 ''' 283 --> 284 PolyCollection.__init__(self, verts, *args, **kwargs) 285 self._zsort = 1 286 self._sort_zpos = None /usr/lib64/python2.6/site-packages/matplotlib/collections.pyc in __init__(self, verts, sizes, closed, **kwargs) 666 Collection.__init__(self,**kwargs) 667 self._sizes = sizes --> 668 self.set_verts(verts, closed) 669 __init__.__doc__ = cbook.dedent(__init__.__doc__) % artist.kwdocd 670 /usr/lib64/python2.6/site-packages/mpl_toolkits/mplot3d/art3d.pyc in set_verts(self, verts, closed) 304 def set_verts(self, verts, closed=True): 305 '''Set 3D vertices.''' --> 306 self.get_vector(verts) 307 # 2D verts will be updated at draw time 308 PolyCollection.set_verts(self, [], closed) /usr/lib64/python2.6/site-packages/mpl_toolkits/mplot3d/art3d.pyc in get_vector(self, segments3d) 297 segis.append((si, ei)) 298 si = ei --> 299 xs, ys, zs = zip(*points) 300 ones = np.ones(len(xs)) 301 self._vec = np.array([xs, ys, zs, ones]) ValueError: need more than 0 values to unpack WARNING: Failure executing file: <plot_snr_az.py> thanks, David