You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(3) |
2
(3) |
3
(26) |
4
(12) |
5
(17) |
6
(20) |
7
|
8
(2) |
9
(2) |
10
(15) |
11
(10) |
12
(21) |
13
(20) |
14
(8) |
15
(6) |
16
(6) |
17
(3) |
18
(2) |
19
(1) |
20
(2) |
21
(4) |
22
|
23
|
24
|
25
(1) |
26
(3) |
27
(1) |
28
|
29
|
30
(2) |
31
|
|
|
|
|
|
Gael Varoquaux wrote: > Guys, I agree with all this. It's not about the theory, but about the > user experience. The user just types along, and doesn't read books and > manuals. A least the average user. And we want to make it as easy as > possible for her. Yes, we all like that. Which is why it was decided that __repr_ was the better default for display at the command line. See my example, too many questions along the lines of "python has a bug!" -- I'm guessing a very large fraction of those were about FP issues -- poorly understood my most newbies. I think it is clearly the best choice for things like a single floating point number, but for far more complex objects? who knows. As an example, look at the default behavior of numpy arrays: >>> a = numpy.ones((3,3)) >>> a array([[ 1., 1., 1.], [ 1., 1., 1.], [ 1., 1., 1.]]) Classic __repr__. but: >>> a = numpy.ones((1000,1000)) >>> a array([[ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], ..., [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.]]) no longer follows the __repr__ rules. I think that's an excellent choice -- it's really never useful to spew something that large to the screen. Given this discussion, what are you currently proposing? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no...
Fernando Perez wrote: > For a while I've toyed with the idea of adding an option to ipython so > the output prompts could use str() instead of repr(), so users who > *deliberately* want to switch, aware of the potential conflicts, do > so. +1 -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no...
Michael Droettboom wrote: > Manuel Metz wrote: >> Hi, >> I figured out a bug in the FancyArrow class (sorry, I didn't track it >> down, yet). Might be related to my strange axes limits ? >> >> Please have a look at the attached example. As you can see, in the >> lower panel the head is not rendered correctly. > > It appears to be stretching the arrow to fit in the rectangle defined by > its points. Doesn't seem to be the right transformation. However, it > looks as if it's been that way for a long time. Was this working for > you at one time and then it broke, or is this your first attempt with > FancyArrow? None of the matplotlib examples use FancyArrow. Maybe it's > deprecated...? No, it did not work before. I first wanted to use pylab.arrow, but then the head of the arrow was very, very long streched -> so I switched to FancyArrow, because it allowed me to draw a "nice & normal" arrow-head -- until I decided to not draw it parallel to the coordinate axis :-( >> BTW: When building matplotlib I get a lot of warnings: >> [.....] >> src/image.cpp: In member function ‘Py::Object Image::buffer_rgba(const >> Py::Tuple&)’: >> src/image.cpp:266: warning: deprecated conversion from string constant >> to ‘char*’ >> [.....] > > If you're using Python < 2.5 in conjunction with a recent gcc, that > would be expected, but most likely benign. Python 2.5 changed the type > of those arguments to "const char *" to avoid this warning. Ah, I see - thanks for the info. Cheers, Manuel
Manuel Metz wrote: > Hi, > I figured out a bug in the FancyArrow class (sorry, I didn't track it > down, yet). Might be related to my strange axes limits ? > > Please have a look at the attached example. As you can see, in the lower > panel the head is not rendered correctly. It appears to be stretching the arrow to fit in the rectangle defined by its points. Doesn't seem to be the right transformation. However, it looks as if it's been that way for a long time. Was this working for you at one time and then it broke, or is this your first attempt with FancyArrow? None of the matplotlib examples use FancyArrow. Maybe it's deprecated...? > BTW: When building matplotlib I get a lot of warnings: > [.....] > src/image.cpp: In member function ‘Py::Object Image::buffer_rgba(const > Py::Tuple&)’: > src/image.cpp:266: warning: deprecated conversion from string constant > to ‘char*’ > [.....] If you're using Python < 2.5 in conjunction with a recent gcc, that would be expected, but most likely benign. Python 2.5 changed the type of those arguments to "const char *" to avoid this warning. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
On Thursday 13 December 2007 11:07:57 am John Hunter wrote: > I moved the tools in mlab that did optional imports (the rec2gtk and > rec2excel functions and their dependencies) out of mlab into > toolkits.gtktools and toolkits.exceltools. As Michael noted, these > imports can be expensive for users with gtk on their system and do not > belong in mlab. In some cases, eg logged in over a dumb terminal with > no x11 but where gtk is present, they also trigger text warnings or > errors from gtk, so are a nuisance. I thought it was worth cleaning > this up for the bugfix release. > > If you get a minute to test before the release, that would help -- the > excel part requires pyExcelerator, which is pure python > http://sourceforge.net/projects/pyexcelerator > > import gtk > import matplotlib.mlab as mlab > import matplotlib.toolkits.gtktools as gtktools > import matplotlib.toolkits.exceltools as exceltools > > r = mlab.csv2rec('test.csv', checkrows=0) > > formatd = dict( > weight = mlab.FormatFloat(2), > change = mlab.FormatPercent(2), > cost = mlab.FormatThousands(2), > ) > > > exceltools.rec2excel(r, 'test.xls', formatd=formatd) > mlab.rec2csv(r, 'test.csv', formatd=formatd) > > > > scroll = gtktools.rec2gtk(r, formatd=formatd, autowin=False) > win = gtk.Window() > win.set_size_request(600,800) > win.add(scroll) > win.show_all() > gtk.main() I just ran this on 64-bit linux and didnt see any problems. I do have an issue with pygtk on my system, but I dont think it is related to mpl: /usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.py:69: Warning: ignoring sys.argv: it must be a list of strings _gtk.init_check()
Hi, I figured out a bug in the FancyArrow class (sorry, I didn't track it down, yet). Might be related to my strange axes limits ? Please have a look at the attached example. As you can see, in the lower panel the head is not rendered correctly. I used the lates svn, revision 4730. Manuel BTW: When building matplotlib I get a lot of warnings: [.....] src/image.cpp: In member function ‘Py::Object Image::buffer_rgba(const Py::Tuple&)’: src/image.cpp:266: warning: deprecated conversion from string constant to ‘char*’ [.....]
On Thu, Dec 13, 2007 at 03:14:23PM -0800, Christopher Barker wrote: > I'm not up on the details of this specific issue, but in general, the > idea that: > __repr__ is precise and complete > __str__ is pretty and readable > is a good one. Guys, I agree with all this. It's not about the theory, but about the user experience. The user just types along, and doesn't read books and manuals. A least the average user. And we want to make it as easy as possible for her. And actually, it feels nice when I can pick up something new and be efficient quickly. And if on top of that I discover that I can keep learning and improving for a long time and discover the hidden power of what I am using, that's great and I am happy. Cheers, Gaël
On Dec 13, 2007 4:14 PM, Christopher Barker <Chr...@no...> wrote: > I'm not up on the details of this specific issue, but in general, the > idea that: > > __repr__ is precise and complete > __str__ is pretty and readable > > is a good one +1 For a while I've toyed with the idea of adding an option to ipython so the output prompts could use str() instead of repr(), so users who *deliberately* want to switch, aware of the potential conflicts, do so. It's easy and I'm about to get on a plane, so I might code it in if I can. Cheers, f