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
(2) |
2
(1) |
3
|
4
(21) |
5
|
6
|
7
(4) |
8
(16) |
9
(15) |
10
(12) |
11
|
12
|
13
|
14
|
15
|
16
|
17
(2) |
18
(1) |
19
(1) |
20
|
21
(8) |
22
(7) |
23
(9) |
24
(1) |
25
(3) |
26
(2) |
27
(4) |
28
(2) |
29
(10) |
30
(6) |
31
(14) |
|
|
Ted Drain wrote: > Does this proposal change the way people access this > functionality? We have a lot of scripts (and a lot of users with > scripts) that use basemap and it tends to be extremely annoying to > people when their scripts suddenly break. > > Ted > Ted: Unfortunately it would break scripts, but only the initial import. Instead of from matplotlib.toolkits.basemap import Basemap you would do from mpl_toolkits.basemap.api import Basemap Everything else would be the same. -Jeff > At 03:34 PM 1/9/2008, Andrew Straw wrote: > >> As the author of the only other known MPL toolkit (at least in the MPL >> tree), I'm happy with the idea of using a namespace package for >> mpl_toolkits. I understand your proposal to mean that each toolkit would >> have a directory structure: >> >> setup.py >> lib/ >> mpl_toolkits/ >> __init__.py (empty) >> basemap/ >> __init__.py >> other_files.py >> >> This is OK with me, but I question is whether it's necessary to have the >> "lib" directory -- it seems entirely redundant. I'm fine with either >> way, though. >> >> -Andrew >> >> Jeff Whitaker wrote: >> >>> Now that the transforms branch has merged with the trunk, I'd like to >>> resurrect namespace packages so that toolkits will work again when >>> matplotlib is installed as an egg. As was discussed in a previous >>> thread, all __init__.py files in the toolkit hierarchy must be empty >>> (aside declare_namespace statement). Since lib/matplotlib/__init__.py >>> contains a lot of important stuff, I think the path of least resistance >>> is to move the toolkits out of lib/matplotlib and into a separate >>> directory lib/mpl_toolkits. The semantics of importing a toolkit would >>> have to change from >>> >>> import matplotlib.toolkits.toolkit >>> >>> to >>> >>> import mpl_toolkit.toolkit. >>> >>> Of course, all the toolkit __init__.py files would need to be emptied. >>> In the case of basemap, this would be changing imports from >>> >>> from matplotlib.toolkits.basemap import Basemap >>> >>> to something like >>> >>> from mpl_toolkits.basemap.api import Basemap >>> >>> All the stuff now imported directly into __init__.py would go in api.py. >>> >>> I've tried this in my local tree and it seems to work fine. Does this >>> sound reasonable? If there's general agreement, I can make the >>> necessary mods in matplotlib trunk and the mplsizer and basemap toolkits. >>> >>> -Jeff >>> >>> >>> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> _______________________________________________ >> Matplotlib-devel mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> > > Ted Drain Jet Propulsion Laboratory ted...@jp... > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
Does this proposal change the way people access this functionality? We have a lot of scripts (and a lot of users with scripts) that use basemap and it tends to be extremely annoying to people when their scripts suddenly break. Ted At 03:34 PM 1/9/2008, Andrew Straw wrote: >As the author of the only other known MPL toolkit (at least in the MPL >tree), I'm happy with the idea of using a namespace package for >mpl_toolkits. I understand your proposal to mean that each toolkit would >have a directory structure: > >setup.py >lib/ > mpl_toolkits/ > __init__.py (empty) > basemap/ > __init__.py > other_files.py > >This is OK with me, but I question is whether it's necessary to have the >"lib" directory -- it seems entirely redundant. I'm fine with either >way, though. > >-Andrew > >Jeff Whitaker wrote: > > Now that the transforms branch has merged with the trunk, I'd like to > > resurrect namespace packages so that toolkits will work again when > > matplotlib is installed as an egg. As was discussed in a previous > > thread, all __init__.py files in the toolkit hierarchy must be empty > > (aside declare_namespace statement). Since lib/matplotlib/__init__.py > > contains a lot of important stuff, I think the path of least resistance > > is to move the toolkits out of lib/matplotlib and into a separate > > directory lib/mpl_toolkits. The semantics of importing a toolkit would > > have to change from > > > > import matplotlib.toolkits.toolkit > > > > to > > > > import mpl_toolkit.toolkit. > > > > Of course, all the toolkit __init__.py files would need to be emptied. > > In the case of basemap, this would be changing imports from > > > > from matplotlib.toolkits.basemap import Basemap > > > > to something like > > > > from mpl_toolkits.basemap.api import Basemap > > > > All the stuff now imported directly into __init__.py would go in api.py. > > > > I've tried this in my local tree and it seems to work fine. Does this > > sound reasonable? If there's general agreement, I can make the > > necessary mods in matplotlib trunk and the mplsizer and basemap toolkits. > > > > -Jeff > > > > > > >------------------------------------------------------------------------- >Check out the new SourceForge.net Marketplace. >It's the best place to buy or sell services for >just about anything Open Source. >http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >_______________________________________________ >Matplotlib-devel mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matplotlib-devel Ted Drain Jet Propulsion Laboratory ted...@jp...
As the author of the only other known MPL toolkit (at least in the MPL tree), I'm happy with the idea of using a namespace package for mpl_toolkits. I understand your proposal to mean that each toolkit would have a directory structure: setup.py lib/ mpl_toolkits/ __init__.py (empty) basemap/ __init__.py other_files.py This is OK with me, but I question is whether it's necessary to have the "lib" directory -- it seems entirely redundant. I'm fine with either way, though. -Andrew Jeff Whitaker wrote: > Now that the transforms branch has merged with the trunk, I'd like to > resurrect namespace packages so that toolkits will work again when > matplotlib is installed as an egg. As was discussed in a previous > thread, all __init__.py files in the toolkit hierarchy must be empty > (aside declare_namespace statement). Since lib/matplotlib/__init__.py > contains a lot of important stuff, I think the path of least resistance > is to move the toolkits out of lib/matplotlib and into a separate > directory lib/mpl_toolkits. The semantics of importing a toolkit would > have to change from > > import matplotlib.toolkits.toolkit > > to > > import mpl_toolkit.toolkit. > > Of course, all the toolkit __init__.py files would need to be emptied. > In the case of basemap, this would be changing imports from > > from matplotlib.toolkits.basemap import Basemap > > to something like > > from mpl_toolkits.basemap.api import Basemap > > All the stuff now imported directly into __init__.py would go in api.py. > > I've tried this in my local tree and it seems to work fine. Does this > sound reasonable? If there's general agreement, I can make the > necessary mods in matplotlib trunk and the mplsizer and basemap toolkits. > > -Jeff > >
Thank you, Mike. On Wednesday 09 January 2008 04:36:21 pm Michael Droettboom wrote: > I have something that works in r4833. It requires a clean rebuild, > since the change was only to a header file. It produces no measurable > slowdown on my fps test. (Of course, Eric's suggestion probably > wouldn't have either...) > > Please let me know how this works for you. > > The nice thing about the new implementation is that it is in common > code, so all backends should support NaNs (whereas before it was only > Agg, Ps and Pdf). It does, curiously, also work on polygons etc. (the > NaN-containing vertices are skipped), which doesn't make a whole lot of > sense, but it's actually harder not to do that. IMHO, if you're putting > NaNs in polygons you're asking for trouble anyway... If you are, speak > up now... ;) > > Cheers, > Mike > > Michael Droettboom wrote: > > I think this is an oversight on my part when doing the rewrite. The old > > trunk had special code to deal with NaNs in draw_lines (in some > > backends, but not all). Since draw_lines disappeared (it was replaced > > with draw_path), this functionality fell through the cracks. I think > > somehow bringing the old solution over (without the backend dependence) > > may be faster than what Eric is proposing, since it is done "on-the-fly" > > in C (at least for Agg) and doesn't require allocating any more memory > > for the mask. > > > > However, it feels a bit dirty on a gut level to allow two subtly > > different ways to specify data with gaps. I almost lean toward forcing > > the user to provide masked arrays if that's what they want to do -- but > > that's probably not realistic. I think Darren is right -- sometimes > > NaN's come up when you least expect them, after many other data sets and > > plots have already worked, and it would be bad for the app to suddenly > > just fail in that case. > > > > I'll look into bringing the old way over to the new code. Failing that, > > I think Eric's suggestion is quite reasonable. > > > > Cheers, > > Mike > > > > Eric Firing wrote: > >> Darren Dale wrote: > >>> It looks like the new transforms codebase does not support data that > >>> contains NaNs the way the old trunk did: > >>> > >>> plot([1,2,NaN,4,5]) produces a plot with no line break > >>> plot([NaN,2,3,4,5]) produces a plot with no line > >>> > >>> I know use of NaN's is not encouraged, and we have discussed it on this > >>> list. But since they are sometimes unintended and unavoidable, I'm > >>> reporting the behavior so people are not surprised when they get an > >>> empty plot. > >>> > >>> Darren > >> > >> This comes up often enough that it might be worth doing automatic > >> masking of NaNs in the high-level argument processing wherever we are > >> now doing x=npy.ma.asarray(x) or similar. The calls could be replaced > >> with x=npy.ma.masked_where(~npy.isfinite(x),x) I have resisted adding > >> this overhead, but now I think the overhead might be negligible in > >> almost all cases. It looks like it would be on the order of > >> milliseconds per high-level call, where by high-level call I mean plot, > >> pcolor, quiver, etc. (either via pylab or Axes method). > >> > >> Eric > >> > >> ------------------------------------------------------------------------ > >>- Check out the new SourceForge.net Marketplace. > >> It's the best place to buy or sell services for > >> just about anything Open Source. > >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp > >>lace _______________________________________________ > >> Matplotlib-devel mailing list > >> Mat...@li... > >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Darren S. Dale, Ph.D. Staff Scientist Cornell High Energy Synchrotron Source Cornell University 275 Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 dar...@co... office: (607) 255-3819 fax: (607) 255-9001 http://www.chess.cornell.edu
I have something that works in r4833. It requires a clean rebuild, since the change was only to a header file. It produces no measurable slowdown on my fps test. (Of course, Eric's suggestion probably wouldn't have either...) Please let me know how this works for you. The nice thing about the new implementation is that it is in common code, so all backends should support NaNs (whereas before it was only Agg, Ps and Pdf). It does, curiously, also work on polygons etc. (the NaN-containing vertices are skipped), which doesn't make a whole lot of sense, but it's actually harder not to do that. IMHO, if you're putting NaNs in polygons you're asking for trouble anyway... If you are, speak up now... ;) Cheers, Mike Michael Droettboom wrote: > I think this is an oversight on my part when doing the rewrite. The old > trunk had special code to deal with NaNs in draw_lines (in some > backends, but not all). Since draw_lines disappeared (it was replaced > with draw_path), this functionality fell through the cracks. I think > somehow bringing the old solution over (without the backend dependence) > may be faster than what Eric is proposing, since it is done "on-the-fly" > in C (at least for Agg) and doesn't require allocating any more memory > for the mask. > > However, it feels a bit dirty on a gut level to allow two subtly > different ways to specify data with gaps. I almost lean toward forcing > the user to provide masked arrays if that's what they want to do -- but > that's probably not realistic. I think Darren is right -- sometimes > NaN's come up when you least expect them, after many other data sets and > plots have already worked, and it would be bad for the app to suddenly > just fail in that case. > > I'll look into bringing the old way over to the new code. Failing that, > I think Eric's suggestion is quite reasonable. > > Cheers, > Mike > > Eric Firing wrote: >> Darren Dale wrote: >>> It looks like the new transforms codebase does not support data that contains >>> NaNs the way the old trunk did: >>> >>> plot([1,2,NaN,4,5]) produces a plot with no line break >>> plot([NaN,2,3,4,5]) produces a plot with no line >>> >>> I know use of NaN's is not encouraged, and we have discussed it on this list. >>> But since they are sometimes unintended and unavoidable, I'm reporting the >>> behavior so people are not surprised when they get an empty plot. >>> >>> Darren >> This comes up often enough that it might be worth doing automatic >> masking of NaNs in the high-level argument processing wherever we are >> now doing x=npy.ma.asarray(x) or similar. The calls could be replaced >> with x=npy.ma.masked_where(~npy.isfinite(x),x) I have resisted adding >> this overhead, but now I think the overhead might be negligible in >> almost all cases. It looks like it would be on the order of >> milliseconds per high-level call, where by high-level call I mean plot, >> pcolor, quiver, etc. (either via pylab or Axes method). >> >> Eric >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> _______________________________________________ >> Matplotlib-devel mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
I think this is an oversight on my part when doing the rewrite. The old trunk had special code to deal with NaNs in draw_lines (in some backends, but not all). Since draw_lines disappeared (it was replaced with draw_path), this functionality fell through the cracks. I think somehow bringing the old solution over (without the backend dependence) may be faster than what Eric is proposing, since it is done "on-the-fly" in C (at least for Agg) and doesn't require allocating any more memory for the mask. However, it feels a bit dirty on a gut level to allow two subtly different ways to specify data with gaps. I almost lean toward forcing the user to provide masked arrays if that's what they want to do -- but that's probably not realistic. I think Darren is right -- sometimes NaN's come up when you least expect them, after many other data sets and plots have already worked, and it would be bad for the app to suddenly just fail in that case. I'll look into bringing the old way over to the new code. Failing that, I think Eric's suggestion is quite reasonable. Cheers, Mike Eric Firing wrote: > Darren Dale wrote: >> It looks like the new transforms codebase does not support data that contains >> NaNs the way the old trunk did: >> >> plot([1,2,NaN,4,5]) produces a plot with no line break >> plot([NaN,2,3,4,5]) produces a plot with no line >> >> I know use of NaN's is not encouraged, and we have discussed it on this list. >> But since they are sometimes unintended and unavoidable, I'm reporting the >> behavior so people are not surprised when they get an empty plot. >> >> Darren > > This comes up often enough that it might be worth doing automatic > masking of NaNs in the high-level argument processing wherever we are > now doing x=npy.ma.asarray(x) or similar. The calls could be replaced > with x=npy.ma.masked_where(~npy.isfinite(x),x) I have resisted adding > this overhead, but now I think the overhead might be negligible in > almost all cases. It looks like it would be on the order of > milliseconds per high-level call, where by high-level call I mean plot, > pcolor, quiver, etc. (either via pylab or Axes method). > > Eric > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Darren Dale wrote: > It looks like the new transforms codebase does not support data that contains > NaNs the way the old trunk did: > > plot([1,2,NaN,4,5]) produces a plot with no line break > plot([NaN,2,3,4,5]) produces a plot with no line > > I know use of NaN's is not encouraged, and we have discussed it on this list. > But since they are sometimes unintended and unavoidable, I'm reporting the > behavior so people are not surprised when they get an empty plot. > > Darren This comes up often enough that it might be worth doing automatic masking of NaNs in the high-level argument processing wherever we are now doing x=npy.ma.asarray(x) or similar. The calls could be replaced with x=npy.ma.masked_where(~npy.isfinite(x),x) I have resisted adding this overhead, but now I think the overhead might be negligible in almost all cases. It looks like it would be on the order of milliseconds per high-level call, where by high-level call I mean plot, pcolor, quiver, etc. (either via pylab or Axes method). Eric
It looks like the new transforms codebase does not support data that contains NaNs the way the old trunk did: plot([1,2,NaN,4,5]) produces a plot with no line break plot([NaN,2,3,4,5]) produces a plot with no line I know use of NaN's is not encouraged, and we have discussed it on this list. But since they are sometimes unintended and unavoidable, I'm reporting the behavior so people are not surprised when they get an empty plot. Darren
Michael Droettboom wrote: > Eric Firing wrote: >> 2) there is a positioning problem with the table part of table_demo.py. > > I don't see this. (I must just be looking in the wrong place). Can you > be more specific? The problem went away. I was pretty sure I had already deleted my old installation and build directory before the previous test, but maybe I missed something. With a fresh build and installation it is fine now. Eric
Nils, That's weird. I've cleared and rebuilt everything and I still don't see this problem on my install. (See my attached copy.) Thanks for the info. Can you send your versions (Python, numpy etc.) and platform info? I don't really know what may be causing this difference. Cheers, Mike Nils Wagner wrote: > On 2008年1月09日 13:37:35 -0500 > Michael Droettboom <md...@st...> wrote: >> Eric Firing wrote: >>> Mike, >>> >>> In going through examples (on transforms branch immediately before >>> you made the switch), it looks like there are a couple of new bugs >>> in those included by backend_driver.py: >>> >>> 1) legend_demo.py and legend_demo2.py make spurious black blocks, which >>> go away when the plots are redrawn. >> >> This is now fixed in SVN. >> >>> 2) there is a positioning problem with the table part of table_demo.py. >> >> I don't see this. (I must just be looking in the wrong place). Can >> you be more specific? >> > Mike, > > Please find attached the output of table_demo.py. > > Cheers, > > Nils > > ------------------------------------------------------------------------ > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Eric Firing wrote: > Mike, > > In going through examples (on transforms branch immediately before you > made the switch), it looks like there are a couple of new bugs > in those included by backend_driver.py: > > 1) legend_demo.py and legend_demo2.py make spurious black blocks, which > go away when the plots are redrawn. This is now fixed in SVN. > 2) there is a positioning problem with the table part of table_demo.py. I don't see this. (I must just be looking in the wrong place). Can you be more specific? I also discovered a clipping bug that affects legends. I'm working on that now. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Now that the transforms branch has merged with the trunk, I'd like to resurrect namespace packages so that toolkits will work again when matplotlib is installed as an egg. As was discussed in a previous thread, all __init__.py files in the toolkit hierarchy must be empty (aside declare_namespace statement). Since lib/matplotlib/__init__.py contains a lot of important stuff, I think the path of least resistance is to move the toolkits out of lib/matplotlib and into a separate directory lib/mpl_toolkits. The semantics of importing a toolkit would have to change from import matplotlib.toolkits.toolkit to import mpl_toolkit.toolkit. Of course, all the toolkit __init__.py files would need to be emptied. In the case of basemap, this would be changing imports from from matplotlib.toolkits.basemap import Basemap to something like from mpl_toolkits.basemap.api import Basemap All the stuff now imported directly into __init__.py would go in api.py. I've tried this in my local tree and it seems to work fine. Does this sound reasonable? If there's general agreement, I can make the necessary mods in matplotlib trunk and the mplsizer and basemap toolkits. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
Sorry -- I was too thick to get the reference. Maybe if you had included a cute picture of a kitten eating a cheeseburger or riding and invisible bicycle or something... This list needs more of those ;) Cheers, Mike Tom Holroyd wrote: > Sorry, I just don't like that word. And the "UR ..." was a lame > reference to LOL Cats. :-) Sorry, sorry, I'll go away now. > P.S. I love matplotlib. > > On Tue, 2008年01月08日 at 22:53 +0100, Gael Varoquaux wrote: >> On Tue, Jan 08, 2008 at 04:49:00PM -0500, Michael Droettboom wrote: >>> I don't think "UR DOIN IT WRONG" is an entirely correct assessment, >>> however. Much of this change can be considered refactoring wrt to the >>> high-level public API. >> Refactoring is often defined (in test driven development) as reworking >> the codebase given a complete set of tests that pass at the beginning, >> and should pass at the end. >> >> My 2 cents, >> >> Gaël > > Dr. Tom > -- > This precept, however, give I to you, in parting, you fool: Where one > can no longer love, there should one pass by! Thus spoke Zarathustra. > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Hi all, I find the usage of linestyle very _unconvenient_, since there are these two options - linestyle='--' and linestyle='dashed' - which are not exchangable. I had some code where I initially used the Line2D class, so I had to use linestyle='--'. Now I changed my code to use a LineCollection. LineCollection doesn't work with linestyle='--', but requires linestyle='dashed' - and contrawise Line2D doesn't accept linestyle='dashed', but requires linestyle='--'. Isn't it possible - and desirable - to unify the usage of linestyle ? Manuel
Sorry, I just don't like that word. And the "UR ..." was a lame reference to LOL Cats. :-) Sorry, sorry, I'll go away now. P.S. I love matplotlib. On Tue, 2008年01月08日 at 22:53 +0100, Gael Varoquaux wrote: > On Tue, Jan 08, 2008 at 04:49:00PM -0500, Michael Droettboom wrote: > > I don't think "UR DOIN IT WRONG" is an entirely correct assessment, > > however. Much of this change can be considered refactoring wrt to the > > high-level public API. > > Refactoring is often defined (in test driven development) as reworking > the codebase given a complete set of tests that pass at the beginning, > and should pass at the end. > > My 2 cents, > > Gaël Dr. Tom -- This precept, however, give I to you, in parting, you fool: Where one can no longer love, there should one pass by! Thus spoke Zarathustra.