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) |
3
|
4
|
5
|
6
(1) |
7
|
8
|
9
(2) |
10
(6) |
11
(4) |
12
|
13
(3) |
14
(2) |
15
(7) |
16
(1) |
17
(1) |
18
(9) |
19
(2) |
20
(4) |
21
(6) |
22
(6) |
23
(7) |
24
(8) |
25
(5) |
26
(7) |
27
(7) |
28
(1) |
29
(2) |
30
(16) |
31
(3) |
|
|
|
John Hunter wrote: >>>>>>"Mark" == Mark Bakker <ma...@gm...> writes: > > > Mark> Eric - If you are going to make changes here, would it be > Mark> possible to pass a sequence of colors, one for each line > Mark> segment in the collection. You can check, for example, > Mark> whether the length of the sequence is equal to the number of > Mark> segments. Would be very helpful for some people, as I have > Mark> seen requests for this possibility several times on the > Mark> list. > > Unless, I am misunderstanding you, you can already do that. For > example, this is what scatter and polor do to make each element of the > collection a different color. > > Eric is talking about a convenience function so that you can pass > arbitrary colors arguments rather than rgba, ie the equivalent of > > from matplotlib.colors import colorConverter > colors = [colorConverter.to_rgba(x) for x in 'yellow', 0.5, (1,0,0,0.5)] > > you can then pass colors to a collection with three elements and get > the three colors yellow, gray and transparent red Exactly. The convenience function already exists--it is Collection._get_color()--and it is already used in all the set_facecolor() and similar methods, but not in processing the initializer argument list. What I have in mind is simply using it at initialization time. I have not thought it through carefully yet, though; it is just something that came up while working on a new colorbar, and for the moment I am concentrating on the latter. Eric
>>>>> "Mark" == Mark Bakker <ma...@gm...> writes: Mark> Eric - If you are going to make changes here, would it be Mark> possible to pass a sequence of colors, one for each line Mark> segment in the collection. You can check, for example, Mark> whether the length of the sequence is equal to the number of Mark> segments. Would be very helpful for some people, as I have Mark> seen requests for this possibility several times on the Mark> list. Unless, I am misunderstanding you, you can already do that. For example, this is what scatter and polor do to make each element of the collection a different color. Eric is talking about a convenience function so that you can pass arbitrary colors arguments rather than rgba, ie the equivalent of from matplotlib.colors import colorConverter colors = [colorConverter.to_rgba(x) for x in 'yellow', 0.5, (1,0,0,0.5)] you can then pass colors to a collection with three elements and get the three colors yellow, gray and transparent red JDH
Eric - If you are going to make changes here, would it be possible to pass a sequence of colors, one for each line segment in the collection. You can check, for example, whether the length of the sequence is equal to the number of segments. Would be very helpful for some people, as I have seen requests for this possibility several times on the list. Thanks, Mark > --__--__-- > > Message: 3 > Date: 2006年5月09日 14:44:07 -1000 > From: Eric Firing <ef...@ha...> > Organization: University of Hawaii > To: John Hunter <jdh...@ni...> > CC: matplotlib development list <mat...@li...> > Subject: [matplotlib-devel] color argument to collections > > John, > > Collections would be easier to use if they did not have the restriction > (from the docstring): > > All color args to a collection are sequences of rgba tuples > > It would be easy to remove this restriction; shall I do it, or is there > a reason to leave the restriction in place? (The error message that > results from violating the restriction is not helpful, and it would be > as easy to remove the restriction as to improve the error handling.) > > Eric > > > >
Hi. A long while ago I had sent out an email asking if anyone was interested in an XML library for plotting with matplotlib. It seemed the general consensus was no, though it might be nice as a backend for saving files. So I developed the XML library for my own purposes, and have been using it for some time. I thought I might as well clean it up, package it, and release it in the wild. I'm not sure if this would even qualify as an alpha release, perhaps more of a RFC, but if anyone is interested, and wants to give some comments, let me know. While it has gotten a good amount of use (including a soon to be published paper), it has evolved to fit my needs more than anything else. So in the clean up, I tried to refractor some saneness into it, and had to fix some things in the process. I tried to test as much of it as possible, but I'm sure I forgot some obvious things as well. It is trying to serve 3 purposes: (1) Framework for making publishable figures easy (2) Provide an easy way to allow pylab figures to be saveable/loadable and editable by human (3) Provide a general framework for a higher level plotting library I'm hoping to in the near future write the backend to pylab to save in the XML format. It should (hopefully) be fairly trivial.. It can be found (this includes some documentation and examples): www.cns.nyu.edu/~abes/xmlplot.tar.gz Thanks, Abe
>>>>> "Eric" == Eric Firing <ef...@ha...> writes: Eric> John, Collections would be easier to use if they did not Eric> have the restriction (from the docstring): Eric> All color args to a collection are sequences of rgba Eric> tuples Eric> It would be easy to remove this restriction; shall I do it, Eric> or is there a reason to leave the restriction in place? Eric> (The error message that results from violating the Eric> restriction is not helpful, and it would be as easy to Eric> remove the restriction as to improve the error handling.) I think it's fine to remove it, but note that you have to be careful to avoid ambiguity. How would you interpret color = (0.25, 0.5, 0.75, 1.0) Is this one rgba color or 4 grayscales? Because mpl accepts lots of different types of args for colors, there will probably be some ambiguous cases, thought these will be very rare corner cases. Just document what the behavior is, and everyone should be happy. I think you could do the same for the linewidths, etc. Eg if scalar, interpret as a single linewidth for all elements of the collection? Or were you intending to preserve the requirement that one pass sequences, but allow versatile color args in the sequence? JDH
John, Collections would be easier to use if they did not have the restriction (from the docstring): All color args to a collection are sequences of rgba tuples It would be easy to remove this restriction; shall I do it, or is there a reason to leave the restriction in place? (The error message that results from violating the restriction is not helpful, and it would be as easy to remove the restriction as to improve the error handling.) Eric