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
(24) |
2
(35) |
3
(21) |
4
(15) |
5
(1) |
6
(2) |
7
(30) |
8
(16) |
9
(11) |
10
(10) |
11
(10) |
12
(4) |
13
(2) |
14
(14) |
15
(21) |
16
(7) |
17
(5) |
18
(2) |
19
(5) |
20
|
21
(4) |
22
(8) |
23
(4) |
24
(6) |
25
(2) |
26
(2) |
27
(5) |
28
(9) |
29
(16) |
30
(14) |
31
(5) |
|
|
Estaré ausente de la oficina desde el Vie 18/12/2009 y no volveré hasta el Mar 24/08/2010 . Ésta es una respuesta automática para avisar del cambio de correo electrónico. A partir de ahora todos los correos deben ser remitidos a ang...@in... en lugar de a esta dirección de correo. Lamento las molestias. ____________________________________________________ This is an automated reply. My email address has changed and messages sent to this address will no longer arrive. Please take notice of my new email address: ang...@in.... Sorry for any inconvenience this may cause. Angela Rivera Campos Space Enviroment and Effects Laboratory National Institute for Aerospace Technology - INTA Ctra. Ajalvir Km. 4 28850 Torrejón de Ardoz - Madrid - Spain Tel: +34 91 520 65 51 Fax: +34 91 520 20 43 e-mail: ang...@in... ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** **********************************************************************************************
Thank you very much for your answer! I post the full solution to anyone else maybe need it: try: conn = psycopg2.connect("dbname='...' user='...' host='127.0.0.1' password='....'"); except: print "I am unable to connect to the database" curs = conn.cursor() ........ code to create image/graph....... #canvas contains graph import StringIO data=StringIO.StringIO() canvas.print_figure(data, dpi=150, format="png") sql = "update table set image=%s;" curs.execute(sql,(encoded_data,)) conn.commit() 2009年12月19日 Jae-Joon Lee <lee...@gm...> > On Fri, Dec 18, 2009 at 3:06 AM, Panagiotis Kontaxis <pko...@gm...> > wrote: > > I found only the figure.savefig() function that saves figure's image only > as > > a filename in the filesystem and not in a local variable. > > > > http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.savefig > > savefig can take any file-like object, not just a file name. > > Check your matplotlib version, and upgrade if you can. > > Regards, > > -JJ >
I just filed a bug related with this. https://sourceforge.net/tracker/?func=detail&aid=2917758&group_id=80706&atid=560720 I think the possible solution could be 1) we keep the copied version of the input data as a cache, and provide a api to access the cache. 2) Or forsce set_[x|y]data to always update. My current inclination is the option 1. If there is any other opinion, I'll go ahead and make a change in a few days. -JJ On Tue, Dec 15, 2009 at 9:12 AM, Antonino Ingargiola <tri...@gm...> wrote: > Hi to all, > > I'm doing a simple animation like this: > > -- > ion() > x = arange(0,2,0.01) > y = zeros_like(x) > y[45:55]=1 > l, = plot(x,y) > > D = 0.1 > h = x[1]-x[0] > dt = 0.0001; > > def nabla(v,h): > na = zeros_like(v) > na[1:-1] = (v[2:]-2*v[1:-1]+v[:-2]) > na[0],na[-1] = 0,0 > return na/(h**2) > > for i in range(1000): > y = y + D*nabla(y,h)*dt > if i%10 == 0: > l.set_ydata(y) > draw() > -- > > however, changing the line > > y = y + D*nabla(y,h)*dt with > > in > > y += D*nabla(y,h)*dt > > the plot is not updated anymore. I have to replace l.set_ydata(y) with > y.recache() to make the the animation work again. > > I think this is a bug since the line should be updated even using the > += operator. > > Regards, > Antonio > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
I can reproduce this bug with the current svn. Matthias, can you file a bug on this in the issue tracker? I think the bug is related with the changes made back in august. http://old.nabble.com/ginput-default-mouse-configuration-td24924861.html Attached is a quick fix, so please test it. I didn't thoroughly follow the changes made related with the above conversation, so I hope those involved (Jack Sankey, John and Gaël) take a look and make a relevant changes if necessary. Regards, -JJ On Tue, Dec 15, 2009 at 10:22 AM, Matthias Michler <Mat...@gm...> wrote: > Hello list, > > I run into trouble with the formelly working > example ''ginput_manual_clabel.py'' or the following minimal example (in > ipython -pylab) > > CS = plt.contour(reshape(arange(20)%3, (4, 5)), [0, 1, 2]) > CL = plt.clabel( CS, manual=True ) > > First of all I get a DeprecationWarning during the startup (for GTKAGG and > TKAGG) > > /scratch/michler/SOFT/lib/python2.5/site-packages/matplotlib/backend_bases.py:1793: > DeprecationWarning: Using default event loop until function specific to this > GUI is implemented > warnings.warn(str,DeprecationWarning) > > and the worse point is that I am not able to select some clabel-positions > (GTKAGG, TKAGG and WXAGG) and > if I try to leave the selection mode I get > > GTKAGG: > <type 'exceptions.TypeError'>: stop_event_loop() takes exactly 1 argument (2 > given) > /scratch/michler/SOFT/lib/python2.5/site-packages/matplotlib/blocking_input.py(196)mouse_event_stop() > 195 # returned before using data. > --> 196 self.fig.canvas.stop_event_loop(event) > 197 > > TKAGG: > File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 920, in update > self.tk.call('update') > _tkinter.TclError: can't invoke "update" command: application has been > destroyed > > WXAGG: > nothing > > Could anybody help me? > > Kind regards, > Matthias > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
On Fri, Dec 18, 2009 at 3:06 AM, Panagiotis Kontaxis <pko...@gm...> wrote: > I found only the figure.savefig() function that saves figure's image only as > a filename in the filesystem and not in a local variable. http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.savefig savefig can take any file-like object, not just a file name. Check your matplotlib version, and upgrade if you can. Regards, -JJ