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
(8) |
2
(4) |
3
(21) |
4
(23) |
5
(3) |
6
|
7
(8) |
8
(2) |
9
|
10
(6) |
11
(4) |
12
(6) |
13
(1) |
14
(9) |
15
(10) |
16
(11) |
17
(3) |
18
(10) |
19
(9) |
20
(2) |
21
(10) |
22
(16) |
23
(8) |
24
(6) |
25
(6) |
26
(3) |
27
(5) |
28
(1) |
29
(14) |
30
(5) |
31
(14) |
|
|
From: Nelson M. <ne...@mo...> - 2006-08-15 23:06:37
|
matplotlib is great, particularly the image quality. I'm using matplotlib to generate images in a webapp and have run into a problem. How do I get it to give me the rendered image bytes in a string rather than writing the image to a file? The docs for FigureCanvasAgg.print_figure() says that if the filename is actually a file object then it will write the bytes to that file object. This works great if I pass in sys.stdout, but as soon as I try to use a StringIO() instance to capture the bytes in Python I get an error: File "/usr/lib/python2.3/site-packages/matplotlib/backends/backend_agg.py", line 453, in print_figure self.renderer._renderer.write_png(filename) TypeError: Could not convert object to file pointer The same use of StringIO does work with GD; is this a bug in the Agg backend? Please see attached test code. BTW, while I'm here, I noticed a discusison on matplotlib-devel about how to specify the image format when rendering it to the backend: http://www.mail-archive.com/mat...@li.../msg00150.html I'm in favour of an explicit format argument as well, for exactly the webapp use case. I'd like to easily be able to get the bytes for either the PNG or SVG of an image. |
From: Darren D. <dd...@co...> - 2006-08-15 20:50:16
|
On Tuesday 15 August 2006 16:05, sg...@ol... wrote: > Thank you very much. > > What I would like is example for embedding_in_qt.py but whith qt4 > > when I tried : > > import PyQt4 > from PyQt4.QtCore import * > from PyQt4.QtGui import * > > from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg as > FigureCanvas > from matplotlib.figure import Figure > > but I have : > > Traceback (most recent call last): You should be doing this instead: from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas Darren |
From: <sg...@ol...> - 2006-08-15 20:05:49
|
Thank you very much. What I would like is example for embedding_in_qt.py but whith qt4 when I tried : import PyQt4 from PyQt4.QtCore import * from PyQt4.QtGui import * from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg as FigureCanvas from matplotlib.figure import Figure but I have : Traceback (most recent call last): File "embedding_in_qt.py", line 26, in ? from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg as FigureCanvas File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_qtagg.py", line 12, in ? from backend_qt import qt, FigureManagerQT, FigureCanvasQT,\ File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_qt.py", line 18, in ? import qt RuntimeError: the qt and PyQt4.QtCore modules both wrap the QObject class I have a debian sid machine and the package python-matplotlib depends on python-qt3. But the package python-qt4 exists. Any ideas what to do ? Samuel |
From: Christopher B. <Chr...@no...> - 2006-08-15 18:38:44
|
Daniel Kornhauser wrote: > I looked at the other wx examples, and even if they are great examples > (And I would like to thank a lot the original author Jeremy O'Donoghue > ;-) ), they could afford some cleaning up to conform to the wx style guide: > http://wiki.wxpython.org/index.cgi/wxPython_Style_Guide > > Do you think such a clean up, would be welcomed ? I think it's a great idea -- but then, I'm the primary author of that style guide ;-) -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Charlie M. <cw...@gm...> - 2006-08-15 18:15:20
|
Yes. Trying running a script like so: python examples/simple_plot-py -dQt4Agg On 8/15/06, sg...@ol... <sg...@ol...> wrote: > Is matplotlib compatible whith PyQt4 ? > > Thank you > > samuel > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: <sg...@ol...> - 2006-08-15 16:46:39
|
Is matplotlib compatible whith PyQt4 ? Thank you samuel |
From: Daniel K. <kor...@re...> - 2006-08-15 13:39:12
|
Hi Guys: > John> many wx users have contributed new/better/more/different wx > John> examples (embedding_in_wx[1-4].py) to atone for the original > Another suggestion that I would like to make is to change the name of the examples. I think all the examples that have to do with a particular backed should be prefixed with the name of the toolkit. I think this is important since the new users can see at a glance all the examples that are related to wx. Thus I think the name or the rewritten wxcursor_demo.py should be changed to embedding_in_wx_cursor.py, sounds awful, but it's understandable and more practical. Another option is to put it next to the cursor example and rename it from wxcursor_demo.py to cursor_demo_wx.py I looked at the other wx examples, and even if they are great examples (And I would like to thank a lot the original author Jeremy O'Donoghue ;-) ), they could afford some cleaning up to conform to the wx style guide: http://wiki.wxpython.org/index.cgi/wxPython_Style_Guide Do you think such a clean up, would be welcomed ? > BTW, have you seen the matplotlib native cursoring, which uses > matplotlib or drawing rather than native wx. > > examples/widgets/cursor.py > Thanks for the tip John, but I found it too slow for my application (I change a spectrogram in another figure in function of the pixel where cursor is located). Furthermore native cursoring does not support several cursor pointer shapes does it ? It only supports the cross doesn't it ? Daniel |
From: John H. <jdh...@ac...> - 2006-08-15 03:25:25
|
>>>>> "John" == John Hunter <jdh...@ac...> writes: John> But the example was written a long time ago and since then John> many wx users have contributed new/better/more/different wx John> examples (embedding_in_wx[1-4].py) to atone for the original Please forgive everything I wrote as the rantings of a deranged lunatic. I now see you were talking about the *cursor* demo, not the *embedding* demo..... BTW, have you seen the matplotlib native cursoring, which uses matplotlib or drawing rather than native wx. examples/widgets/cursor.py JDH |
From: John H. <jdh...@ac...> - 2006-08-15 03:05:30
|
>>>>> "Daniel" == Daniel Kornhauser <kor...@re...> writes: Daniel> This said, I thank a lot the person who started the Daniel> example since I used it as a starting point. You should also thank that person because he (Jeremy O'Donoghue) wrote the wx backend <wink>. But the example was written a long time ago and since then many wx users have contributed new/better/more/different wx examples (embedding_in_wx[1-4].py) to atone for the original sins. I'm happy to use your new/more/better/different example, but I'll first defer to the wisdom of the resident wxperts, who may have some comments. JDH |
From: Daniel K. <kor...@re...> - 2006-08-15 00:39:21
|
I am making a new wxcursor_demo.py example I attach it to this mail. If anybody can help me iron those wrinkles I think we can make a great wxcursor_demo example. I am not proud of invoking the SetCursor method on the wx.EVT_PAINT event but it works ... The present wxcursor_demo example is broken because: - Does not follow wx coding standards, not pythonic at all. - Very complicated example to follow and long. - Some nonsensical code such as the Time and Price part. - The wx "hand draw", crosshair has lots of disadvantages (you get the mouse pointer right next to it so it's useless for picking pixels in images.) - The users should have access to wx.StockCursor, with the current example every cursor has to be " hand drawn" This said, I thank a lot the person who started the example since I used it as a starting point. Any feedback would be appreciated. Daniel. |