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
|
3
|
4
|
5
(2) |
6
(2) |
7
|
8
(3) |
9
(2) |
10
(13) |
11
(11) |
12
(8) |
13
(4) |
14
|
15
|
16
(2) |
17
(2) |
18
|
19
(1) |
20
|
21
|
22
(3) |
23
|
24
(2) |
25
|
26
(3) |
27
(1) |
28
(1) |
29
(1) |
30
(9) |
31
(2) |
|
|
|
|
On another note, I get messages like mpl/examples> python simple_plot.py -dAgg Bad key "lines.markeredgecolor" on line 48 in /home/jdhunter/.matplotlib/matplotlibrc. You probably need to get an updated matplotlibrc file from http://matplotlib.sf.net/matplotlibrc or from the matplotlib source distribution Bad key "lines.markerfacecolor" on line 47 in /home/jdhunter/.matplotlib/matplotlibrc. You probably need to get an updated matplotlibrc file from http://matplotlib.sf.net/matplotlibrc or from the matplotlib source distribution since I did yet not update to the new rc which is to be expected. I know from experience that neophyte users are confused by this. Many mpl users don't even know that an rc file exists, what it is for, and how to find it. While you are mucking around in rc and __init__.py, you might consider a more helpful deprecation message scheme, with part of the message boilerplate and part of the message specific to the bad rc key. Eg, if a user has lines.markerfacecolor in his rc: The setting "lines.markerfacecolor" in your parameter file /home/jdhunter/.matplotlib/matplotlibrc is deprecated in this version of matplotlib. The configuration for marker facecolors was your was recently changed. blah blah blah explain the new interface and behavior. You may want to replace /home/jdhunter/.matplotlib/matplotlibrc with the latest file http://matplotlib.sf.net/matplotlibrc . Something to think about. JDH
>>>>> "Norbert" == Norbert Nemec <Nor...@gm...> writes: Norbert> This functionality was never there, so nobody can miss Norbert> it. Before my changes, the options in matplotlibrc only Norbert> allowed to specify fixed colors for mfc and mec. This is Norbert> now not possible any more, but can easily be done via Norbert> kwargs. Automatic coloring was just as inflexible as it Norbert> is now but less consistent. Yeah, I mispoke a bit. What I meant is that I prefer black edges, and I expect plot(rand(10), 'go') to have a green face and black edges. There is no way in the new infrastructure for this to happen by default as far as I can see, but I can pass mec if I want. I can live with it, but I may not be the only one, so be prepared for griping. Or we can consider something like Eric proposed where mec can either follow mfc or be set to a fixed color, or something along those lines. JDH
John Hunter wrote: >>>>>> "Eric" == Eric Firing <ef...@ha...> writes: >>>>>> > > >> This is, what is wanted in 99% of the cases and for every other > >> case, a rcfile-option will not help anyway. > > Eric> This sounds ideal to me--it makes everything simpler, both > Eric> in the code and in explaining what the behavior is. > > Hmm.... I can imagine that there are those who want the default > markeredgecolor to be the same color as the facecolor, and those who > want the default edgecolor to be black regardless of facecolor. I am > a bit hesitant to pull this functionality, though I agree that simpler > is better. > This functionality was never there, so nobody can miss it. Before my changes, the options in matplotlibrc only allowed to specify fixed colors for mfc and mec. This is now not possible any more, but can easily be done via kwargs. Automatic coloring was just as inflexible as it is now but less consistent. I thought about this kind of configurability, but any clean solution that I could find, would have become awfully complex.
John Hunter wrote: >>>>>>"Eric" == Eric Firing <ef...@ha...> writes: > > > >> This is, what is wanted in 99% of the cases and for every other > >> case, a rcfile-option will not help anyway. > > Eric> This sounds ideal to me--it makes everything simpler, both > Eric> in the code and in explaining what the behavior is. > > Hmm.... I can imagine that there are those who want the default > markeredgecolor to be the same color as the facecolor, and those who > want the default edgecolor to be black regardless of facecolor. I am > a bit hesitant to pull this functionality, though I agree that simpler > is better. How about replacing the markeredgecolor and markerfacecolor rc options (but not the kwargs) with something like this: markeredgedefault = 'face' | colorspec If something like this is chosen, I think it should apply only to filled markers. Here is a variation on the theme: markeredgedefault = colorspec where colorspec can include 'None' and means "don't draw it". I think that what we actually want for filled markers with the edge color matching the face is not to set the edgecolor to the facecolor, but to not draw the edge at all; this will render better and be more efficient at all levels. (I suspect the 'None' colorspec should be uniformly supported all the way from the high level down to the backends. That would eliminate high-level checking for it as a special case.) As part of this, I think we should be thinking of the "marker color" as the face color for filled markers and as the line color for non-filled markers; for filled markers, the edge is better thought of as the "outline", which is missing for line markers. The clearest point in all of this seems to be that trying to have a 1:1 relation between kwargs and rc params is inconsistent with achieving nice default behavior in this case. Sorry this is a bit of a ramble but I am short on time right now. Norbert, can we take a few days if necessary to think this through carefully and make sure John and others are comfortable with the whole plan before going any further? Eric
>>>>> "Eric" == Eric Firing <ef...@ha...> writes: >> This is, what is wanted in 99% of the cases and for every other >> case, a rcfile-option will not help anyway. Eric> This sounds ideal to me--it makes everything simpler, both Eric> in the code and in explaining what the behavior is. Hmm.... I can imagine that there are those who want the default markeredgecolor to be the same color as the facecolor, and those who want the default edgecolor to be black regardless of facecolor. I am a bit hesitant to pull this functionality, though I agree that simpler is better. JDH
Norbert, >>Either I am not understanding you correctly, or we have fundamentally >>different views of the role of matplotlibrc values. The way I see it, >>function args and kwargs *always* override matplotlibrc values, which in >>turn *always* override built-in defaults. So in the example above, if >>the user writes "plot(x,y,'r.')", red dots should be plotted no matter >>what is in matplotlibrc. It should not depend on whether something is >>set to 'auto'. >> > > > I fully agree with you. > > Guess, the simple solution to the dilemma is to drop the idea of > rcfile-configurability of markerfacecolor and markeredgecolor. That way, > markers would always have the same color as the line, unless explicitely > set differently by the kwargs markeredgecolor/markerfacecolor. > > This is, what is wanted in 99% of the cases and for every other case, a > rcfile-option will not help anyway. This sounds ideal to me--it makes everything simpler, both in the code and in explaining what the behavior is. Thanks! Eric
John Hunter wrote: >>>>>> "Eric" == Eric Firing <ef...@ha...> writes: >>>>>> > > Eric> 1) generate matplotlibrc with almost everything commented > Eric> out by default > > +2 > > Hopefully, this will address the problem of all the deprecated rc > warnings people are getting, which is confusing to new users. > As you saw, I boldly implemented that change already. > Eric> 2) eliminate matplotlibrc.template by having setup.py > Eric> autogenerate matplotlibrc based on the rcParams-related code > Eric> that is presently in __init__.py. > > working code tested across platforms and python versions settles this. > It is mostly working now, but Norbert brings up a good point that if > we now go to mostly empty rc files, it will become increasingly > unlikely that the template gets out of whack. If this is important to > someone and they can come up with a good implementation, I don't have > a problem with it. > I already started working on this. Don't know when I find the time to finish, but I will post patches for testing as soon as I have something clean enough. Greetings, Norbert
Hello everybody, after discussion with Eric Firing and John Hunter (see thread "marker color handling"), I just changed matplotlib.template on SVN: All the lines duplicating the default values already set in defaultParam (lib/matplotlib/__init__.py) are now commented out in matplotlibrc.template (and therefore also in matplotlib, which is usually copied to the users home directory). These values have always been redundant and frequently caused problems when updating to newer versions. Except for the options backend and numerix, which are both set by setup.py, the file matplotlib is therefore effectively empty. If a user explicitely wants to change a value, the line can simply be uncommented to become effective. Users of matplotlib are encouraged to use the new matplotlibrc as basis for their own configuration. Greetings, Norbert Nemec
Eric Firing wrote: > Norbert, > >>> >>> >>>> The problem in r2790: I changed the default value in matplotlibrc to >>>> 'auto' and everything worked fine for me. I forgot that, of course, >>>> anybody updating from an older version, would still have the values >>>> 'blue' and 'black' in their matplotlibrc, which would not be overridden >>>> by the '.r' option that Stefan used. >>>> >>>> >>> This is not the first time matplotlibrc has bitten us, and it won't be >>> the last... >>> >>> But *shouldn't* '.r' override a setting in matplotlibrc, regardless of >>> what that setting is? I think it should have set the mfc, or preferably >>> both the mfc and the mec. >>> >>> >> OK, that would be an alternative solution: set both mfc and mec to >> 'auto', whenever the color is specified using a format string. However, >> this would mean that the rcfile options markeredgecolor and >> markerfacecolor are often ignored, even if they were set on purpose. If >> that is the case, one could just as well deactivate them completely and >> prevent some confusion. >> >> > > Either I am not understanding you correctly, or we have fundamentally > different views of the role of matplotlibrc values. The way I see it, > function args and kwargs *always* override matplotlibrc values, which in > turn *always* override built-in defaults. So in the example above, if > the user writes "plot(x,y,'r.')", red dots should be plotted no matter > what is in matplotlibrc. It should not depend on whether something is > set to 'auto'. > I fully agree with you. Guess, the simple solution to the dilemma is to drop the idea of rcfile-configurability of markerfacecolor and markeredgecolor. That way, markers would always have the same color as the line, unless explicitely set differently by the kwargs markeredgecolor/markerfacecolor. This is, what is wanted in 99% of the cases and for every other case, a rcfile-option will not help anyway. Greetings, Norbert
>>>>> "Manuel" == Manuel Metz <mm...@as...> writes: Manuel> John Hunter wrote: >>>>>>> "Manuel" == Manuel Metz <mm...@as...> writes: >> Manuel> Hi, I just submitted a patch to sourceforge and also Manuel> attached it to this email: >> Manuel> The applied patch modifies the files axes.py and Manuel> collections.py. >> Manuel> I added a class StaredRegularPolyCollection() to Manuel> collections.py to create star-like regular Polygons. >> This looks very useful -- thanks for the patch. To questions: >> >> What does the name "StaredRegularPolygon" mean? I am having >> trouble figuring out the Stared part. Manuel> Argh - okay - this is a mistranslation from german to Manuel> english - sorry. I wanted to say "starlike". So probably Manuel> StarlikeRegularPolygon is a better name... OK, I see. Perhaps we should just call it a StarPolygonCollection http://en.wikipedia.org/wiki/Star_polygon Also, in your patch, unless I am missing something, it looks like you could simply do something like scale = 0.5/math.sqrt(math.pi) r = scale*ones(self.numsides*2) rather than + r = 1.0/math.sqrt(math.pi) # unit area + r = asarray( [r]*(self.numsides*2) ) + for i in xrange(1,len(r),2): + r[i] *= 0.5 Ie, do everything in numerix, rather than in python. When you get all of this incorporated, if you could send one patch against svn that includes all of the changes I'll check it in (if noone else has any corrections or comments). Thanks again, JDH
John Hunter wrote: >>>>>> "Manuel" == Manuel Metz <mm...@as...> writes: > > Manuel> Hi, I just submitted a patch to sourceforge and also > Manuel> attached it to this email: > > Manuel> The applied patch modifies the files axes.py and > Manuel> collections.py. > > Manuel> I added a class StaredRegularPolyCollection() to > Manuel> collections.py to create star-like regular Polygons. > > This looks very useful -- thanks for the patch. To questions: > > What does the name "StaredRegularPolygon" mean? I am having trouble > figuring out the Stared part. Argh - okay - this is a mistranslation from german to english - sorry. I wanted to say "starlike". So probably StarlikeRegularPolygon is a better name... If changed this and attach an updated patch (also updated on sourceforge). Btw.: there is also a minor change concerning the rescaling of custom verts. For the rescaling, it is assumed that the vertices are centred on the coordinate centre, and rescaling is done such that the largest distance from the centre is scaled to 1. > It would be nice to have this functionality in the line markers as > well. Any interest in trying to port some of these changes to the > matplotlib.lines? I will have a look into this. Manuel