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
(5) |
2
(4) |
3
|
4
(9) |
5
(4) |
6
(9) |
7
(13) |
8
(11) |
9
(7) |
10
(7) |
11
(22) |
12
(19) |
13
(11) |
14
(20) |
15
(21) |
16
(1) |
17
(1) |
18
(8) |
19
(3) |
20
(5) |
21
(5) |
22
(9) |
23
(3) |
24
(3) |
25
(14) |
26
(12) |
27
(29) |
28
(18) |
29
(11) |
30
(2) |
While using Basemap, I've come across a small problem. The Basemap fillcontinents() function creates Polygon objects and adds them to the Axes. These Polygons always seem to cover up the Axes ticks. I tried setting the z-order of the tick objects, but it looks to me like the ticks are hard-coded to always draw before (underneath) any lines or patches. Is there a way to tell the Axes to draw the ticks on top of any Polygons instead of underneath? If not, it doesn't look like it would be too hard to modify Axes.draw() to respect the z-order of ticks. I'm happy to do this, although I'm nervous that it might break stuff that assumes that ticks are always drawn before everything else. John, do you recommend that I create such a mod? Thanks for any help, Michael ======================================================================== Michael Brady Jet Propulsion Laboratory (M/S 301-140L) 4800 Oak Grove Drive Pasadena, CA 91109 ========================================================================
Hi Tim and John, I didn't catch on to this earlier but shouldn't the backend_wx.py use something along these lines: keyvald = {wx.WXK_CONTROL : 'control', wx.WXK_SHIFT : 'shift', wx.WXK_ALT : 'alt', wx.WXK_LEFT : 'left', wx.WXK_UP : 'up', wx.WXK_RIGHT : 'right', wx.WXK_DOWN : 'down', } For more WXK codes see the wx demo Process and Events/KeyEvents. See you Werner Tim Leslie wrote: > OK, here are the diffs for each backend: > > ~/src/matplotlib-0.80/lib/matplotlib/backends/backend_gtk.py > 109,112d108 > < 65361 : 'left', > < 65362 : 'up', > < 65363 : 'right', > < 65364 : 'down', > > ~/src/matplotlib-0.80/lib/matplotlib/backends/backend_wx.py > 675,678d674 > < 316 : 'left', > < 317 : 'up', > < 318 : 'right', > < 319 : 'down', > > ~/src/matplotlib-0.80/lib/matplotlib/backends/backend_tkagg.py > 99,102d98 > < 65361 : 'left', > < 65362 : 'up', > < 65363 : 'right', > < 65364 : 'down', > > ~/src/matplotlib-0.80/lib/matplotlib/backends/backend_qt.py > 74,77d73 > < qt.Qt.Key_Left : 'left', > < qt.Qt.Key_Up : 'up', > < qt.Qt.Key_Right : 'right', > < qt.Qt.Key_Down : 'down', > > As you can see, it's reasonably straightforward to add these extra keys, > so if anyone feels creative and wants other keys added, this should give > an idea of what needs changing. > > As for my problem with gtk and the down key, I've rebuilt pygtk (2.6.1), > installed matplotlib 0.80, and the problem is still there. I whipped up a > trivial pygtk program which was a window which connected to key press > events and it worked just fine, so it seems that there's something that > matplotlib is doing which triggers the bug (that's not to say the bug is > in mpl of course). I'm guessing there is something in my system setup > which is flakey and causing it to happen, but it's 3am and I'm tired so > I'll just live with it for now :) > > Cheers, > > Tim Leslie > > On 2005年4月14日, Tim Leslie <ti...@cs...> wrote... > > >>Just to follow up on this, I made the required changes to the other >>backends and they worked fine. GTK and GTKAgg had the same broken >>behaviour while TkAgg, WX and WXAgg worked fine (don't have qt installed). >> >>I'll bring all my libraries up to date (thanks for 0.80 tonight) and dive >>into the pygtk stuff a bit deeper to see if I can find out what's >>breaking. >> >>Having looked through a bit more mpl code I'd just like to say that I'm >>very impressed with how simple it is to read. After working out what to >>change in GTK, it followed an identical pattern in the other backends >>which was very nice to see. >> >>Cheers, >> >>Tim Leslie >> >>On 2005年4月14日, Tim Leslie <ti...@cs...> wrote... >> >> >>>On 2005年4月13日, John Hunter <jdh...@ac...> wrote... >>> >>> >>>>>>>>>"Tim" == Tim Leslie <ti...@cs...> writes: >>>> >>>> Tim> This all works fine except that the down key doesn't register >>>> Tim> as released. After registering the down key press, no other >>>> Tim> key events register until you hit the up key, at which point >>>> Tim> the key release triggers for the up. >>>> >>>>It works fine for me -- what is your pygtk version and OS? >>>>I'm using pygtk 2.2.0 on linux. >>> >>>AFAICT pygtk 2.0, this is running on ubuntu unstable. >>> >>> >>>>You might put some debug print statements to print event.keyval in >>>>_get_key to see if an event is being triggered at the gtk level. >>> >>>OK, I'll have a play with that. >>> >>> >>>>Could it be a bad keyboard??? >>> >>>Yep :) Well, maybe. The down key works in every other app I use, but I've >>>had problems with this keyboard in strange ways before, so I wouldn't put >>>it past it. I'll try it out on another machine when I get a chance and see >>>how it goes. It's a laptop, so I can't really change the keyboard. (hmm, >>>maybe a usb external one, if I had one) >>> >>> >>>> Tim> I really don't know a lot about Gtk or the matplotlib >>>> Tim> internals so I couldn't trace this bug deeper into the >>>> Tim> libraries. Can anyone shed some light on what's going on? If >>>> Tim> we can get the arrow keys working is there a chance of >>>> Tim> getting them into the standard distribution (assuming we had >>>> Tim> all backends working)? >>>> >>>>Absolutely. It might be nice to enable some standard keyboard >>>>navigation too. >>> >>>OK well I'll play around with this some more and I'll get back to you once >>>I have what I think is a complete, working patch. >>> >>>Cheers, >>> >>>Tim Leslie >>> >>> >>>>JDH >>>> >>> >>>`- >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start reading now. >>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>_______________________________________________ >>>Matplotlib-users mailing list >>>Mat...@li... >>>https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >> >>`- >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>_______________________________________________ >>Matplotlib-users mailing list >>Mat...@li... >>https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > `- > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>> "Tim" == Tim Leslie <ti...@cs...> writes: Tim> OK, here are the diffs for each backend: OK, I added these to my local tree. Thanks for tracking these down across backends. Now if Gregory or someone can just get these for fltk, we'll be done. Tim> As for my problem with gtk and the down key, I've rebuilt Tim> pygtk (2.6.1), installed matplotlib 0.80, and the problem is Tim> still there. I whipped up a trivial pygtk program which was a Tim> window which connected to key press events and it worked just Tim> fine, so it seems that there's something that matplotlib is Tim> doing which triggers the bug (that's not to say the bug is in Tim> mpl of course). I'm guessing there is something in my system Tim> setup which is flakey and causing it to happen, but it's 3am Tim> and I'm tired so I'll just live with it for now :) I have seen on some GUIs that different keyvals are sent for the same key, so do check and see what event.keyval is reporting; you may need to add additional dictionary entries to keyvald. I also tried to replicate the problem on pygtk-2.0.0 on win32, but down-arrow press and release worked as they should. JDH
OK, here are the diffs for each backend: ~/src/matplotlib-0.80/lib/matplotlib/backends/backend_gtk.py 109,112d108 < 65361 : 'left', < 65362 : 'up', < 65363 : 'right', < 65364 : 'down', ~/src/matplotlib-0.80/lib/matplotlib/backends/backend_wx.py 675,678d674 < 316 : 'left', < 317 : 'up', < 318 : 'right', < 319 : 'down', ~/src/matplotlib-0.80/lib/matplotlib/backends/backend_tkagg.py 99,102d98 < 65361 : 'left', < 65362 : 'up', < 65363 : 'right', < 65364 : 'down', ~/src/matplotlib-0.80/lib/matplotlib/backends/backend_qt.py 74,77d73 < qt.Qt.Key_Left : 'left', < qt.Qt.Key_Up : 'up', < qt.Qt.Key_Right : 'right', < qt.Qt.Key_Down : 'down', As you can see, it's reasonably straightforward to add these extra keys, so if anyone feels creative and wants other keys added, this should give an idea of what needs changing. As for my problem with gtk and the down key, I've rebuilt pygtk (2.6.1), installed matplotlib 0.80, and the problem is still there. I whipped up a trivial pygtk program which was a window which connected to key press events and it worked just fine, so it seems that there's something that matplotlib is doing which triggers the bug (that's not to say the bug is in mpl of course). I'm guessing there is something in my system setup which is flakey and causing it to happen, but it's 3am and I'm tired so I'll just live with it for now :) Cheers, Tim Leslie On 2005年4月14日, Tim Leslie <ti...@cs...> wrote... > Just to follow up on this, I made the required changes to the other > backends and they worked fine. GTK and GTKAgg had the same broken > behaviour while TkAgg, WX and WXAgg worked fine (don't have qt installed). > > I'll bring all my libraries up to date (thanks for 0.80 tonight) and dive > into the pygtk stuff a bit deeper to see if I can find out what's > breaking. > > Having looked through a bit more mpl code I'd just like to say that I'm > very impressed with how simple it is to read. After working out what to > change in GTK, it followed an identical pattern in the other backends > which was very nice to see. > > Cheers, > > Tim Leslie > > On 2005年4月14日, Tim Leslie <ti...@cs...> wrote... > > > On 2005年4月13日, John Hunter <jdh...@ac...> wrote... > > > > > >>>>> "Tim" == Tim Leslie <ti...@cs...> writes: > > > > > > Tim> This all works fine except that the down key doesn't register > > > Tim> as released. After registering the down key press, no other > > > Tim> key events register until you hit the up key, at which point > > > Tim> the key release triggers for the up. > > > > > > It works fine for me -- what is your pygtk version and OS? > > > I'm using pygtk 2.2.0 on linux. > > > > AFAICT pygtk 2.0, this is running on ubuntu unstable. > > > > > > > > You might put some debug print statements to print event.keyval in > > > _get_key to see if an event is being triggered at the gtk level. > > > > OK, I'll have a play with that. > > > > > > > > Could it be a bad keyboard??? > > > > Yep :) Well, maybe. The down key works in every other app I use, but I've > > had problems with this keyboard in strange ways before, so I wouldn't put > > it past it. I'll try it out on another machine when I get a chance and see > > how it goes. It's a laptop, so I can't really change the keyboard. (hmm, > > maybe a usb external one, if I had one) > > > > > > > > Tim> I really don't know a lot about Gtk or the matplotlib > > > Tim> internals so I couldn't trace this bug deeper into the > > > Tim> libraries. Can anyone shed some light on what's going on? If > > > Tim> we can get the arrow keys working is there a chance of > > > Tim> getting them into the standard distribution (assuming we had > > > Tim> all backends working)? > > > > > > Absolutely. It might be nice to enable some standard keyboard > > > navigation too. > > > > OK well I'll play around with this some more and I'll get back to you once > > I have what I think is a complete, working patch. > > > > Cheers, > > > > Tim Leslie > > > > > > > > JDH > > > > > `- > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > `- > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > `-
Just to follow up on this, I made the required changes to the other backends and they worked fine. GTK and GTKAgg had the same broken behaviour while TkAgg, WX and WXAgg worked fine (don't have qt installed). I'll bring all my libraries up to date (thanks for 0.80 tonight) and dive into the pygtk stuff a bit deeper to see if I can find out what's breaking. Having looked through a bit more mpl code I'd just like to say that I'm very impressed with how simple it is to read. After working out what to change in GTK, it followed an identical pattern in the other backends which was very nice to see. Cheers, Tim Leslie On 2005年4月14日, Tim Leslie <ti...@cs...> wrote... > On 2005年4月13日, John Hunter <jdh...@ac...> wrote... > > > >>>>> "Tim" == Tim Leslie <ti...@cs...> writes: > > > > Tim> This all works fine except that the down key doesn't register > > Tim> as released. After registering the down key press, no other > > Tim> key events register until you hit the up key, at which point > > Tim> the key release triggers for the up. > > > > It works fine for me -- what is your pygtk version and OS? > > I'm using pygtk 2.2.0 on linux. > > AFAICT pygtk 2.0, this is running on ubuntu unstable. > > > > > You might put some debug print statements to print event.keyval in > > _get_key to see if an event is being triggered at the gtk level. > > OK, I'll have a play with that. > > > > > Could it be a bad keyboard??? > > Yep :) Well, maybe. The down key works in every other app I use, but I've > had problems with this keyboard in strange ways before, so I wouldn't put > it past it. I'll try it out on another machine when I get a chance and see > how it goes. It's a laptop, so I can't really change the keyboard. (hmm, > maybe a usb external one, if I had one) > > > > > Tim> I really don't know a lot about Gtk or the matplotlib > > Tim> internals so I couldn't trace this bug deeper into the > > Tim> libraries. Can anyone shed some light on what's going on? If > > Tim> we can get the arrow keys working is there a chance of > > Tim> getting them into the standard distribution (assuming we had > > Tim> all backends working)? > > > > Absolutely. It might be nice to enable some standard keyboard > > navigation too. > > OK well I'll play around with this some more and I'll get back to you once > I have what I think is a complete, working patch. > > Cheers, > > Tim Leslie > > > > > JDH > > > `- > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > `-
Aric Hagberg at LANL just announced a graph package which uses matplotlib for drawing http://networkx.sourceforge.net/ Some cool screenshots at http://sourceforge.net/project/screenshots.php?group_id=122233 JDH
On 2005年4月13日, John Hunter <jdh...@ac...> wrote... > >>>>> "Tim" == Tim Leslie <ti...@cs...> writes: > > Tim> This all works fine except that the down key doesn't register > Tim> as released. After registering the down key press, no other > Tim> key events register until you hit the up key, at which point > Tim> the key release triggers for the up. > > It works fine for me -- what is your pygtk version and OS? > I'm using pygtk 2.2.0 on linux. AFAICT pygtk 2.0, this is running on ubuntu unstable. > > You might put some debug print statements to print event.keyval in > _get_key to see if an event is being triggered at the gtk level. OK, I'll have a play with that. > > Could it be a bad keyboard??? Yep :) Well, maybe. The down key works in every other app I use, but I've had problems with this keyboard in strange ways before, so I wouldn't put it past it. I'll try it out on another machine when I get a chance and see how it goes. It's a laptop, so I can't really change the keyboard. (hmm, maybe a usb external one, if I had one) > > Tim> I really don't know a lot about Gtk or the matplotlib > Tim> internals so I couldn't trace this bug deeper into the > Tim> libraries. Can anyone shed some light on what's going on? If > Tim> we can get the arrow keys working is there a chance of > Tim> getting them into the standard distribution (assuming we had > Tim> all backends working)? > > Absolutely. It might be nice to enable some standard keyboard > navigation too. OK well I'll play around with this some more and I'll get back to you once I have what I think is a complete, working patch. Cheers, Tim Leslie > > JDH > `-
>>>>> "Tim" == Tim Leslie <ti...@cs...> writes: Tim> This all works fine except that the down key doesn't register Tim> as released. After registering the down key press, no other Tim> key events register until you hit the up key, at which point Tim> the key release triggers for the up. It works fine for me -- what is your pygtk version and OS? I'm using pygtk 2.2.0 on linux. You might put some debug print statements to print event.keyval in _get_key to see if an event is being triggered at the gtk level. Could it be a bad keyboard??? Tim> I really don't know a lot about Gtk or the matplotlib Tim> internals so I couldn't trace this bug deeper into the Tim> libraries. Can anyone shed some light on what's going on? If Tim> we can get the arrow keys working is there a chance of Tim> getting them into the standard distribution (assuming we had Tim> all backends working)? Absolutely. It might be nice to enable some standard keyboard navigation too. JDH
Hi everyone, I want to know if its possible to fix a value in the colorbar() which would change the level of transparency of every value under the limit value fixe in the colorbar. For exemple, if i want to show all values > 50, i can fix the limit value to 50 on the colorbar and plot is refresh to show only values upper than 50. Thanks for any answer. Philippe Collet
Hi all, I'm developing an app where i'd like the user to be able to navigate using the up/down/left/right keys. Currently the mpl event handlers just return None for these, but I figured it'd be easy enough to add the code myself. in lib/matplotlib/backends/backend_gtk.py I added the following diff, which adds in some new code -> string mappings and also notifies me when a key press or key release is made (for debugging). 109,112d108 < 65361 : 'left', < 65362 : 'up', < 65363 : 'right', < 65364 : 'down', 176c172 < --- > 184d179 < print "hit", key 189d183 < print "release", key This all works fine except that the down key doesn't register as released. After registering the down key press, no other key events register until you hit the up key, at which point the key release triggers for the up. If i hit the following sequence: [up, left, right, down, <any sequence not including up or down>, up, up] I get the following events registering. hit up release up hit left release left hit right release right hit down <== we never get the matching "release down" or anything else release up <== until we hit the up key and get this release event for it hit up release up I really don't know a lot about Gtk or the matplotlib internals so I couldn't trace this bug deeper into the libraries. Can anyone shed some light on what's going on? If we can get the arrow keys working is there a chance of getting them into the standard distribution (assuming we had all backends working)? Cheers, Tim Leslie