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
(3) |
2
(7) |
3
(13) |
4
(6) |
5
(18) |
6
(39) |
7
(1) |
8
(4) |
9
(4) |
10
(4) |
11
(19) |
12
(15) |
13
(16) |
14
(1) |
15
(5) |
16
(17) |
17
(12) |
18
(19) |
19
(2) |
20
(5) |
21
(3) |
22
(1) |
23
(3) |
24
(5) |
25
(4) |
26
(1) |
27
(13) |
28
(4) |
29
(2) |
30
(21) |
31
(17) |
|
|
|
|
From: Pythonified <net...@gm...> - 2011-05-09 23:11:09
|
Pythonified wrote: > > I have been trying to assign different colors for each line I plot, where > the colors are incrementally darkened (or lightened), or selected from a > colorbar (e.g. rainbow). > > Any ideas? > I have found a simple and better way. One can chose from colors from a color map: >>import pylab as pl >>import matplotlib.cm as cm >>xval = pl.arange(0, 20, 0.2) >>for i in range(256): ... pl.plot(xval, pl.sin(xval)+i, c=cm.hot(i), lw=5) This one if, for instance, picking from a color map called "hot". If one wants to the colors to fade away, or darken, the "alpha" option can be utilized or another color map in which colors darken or fade into another color. There is no need for a long sophisticated script. Enjoy, Pythonified -- View this message in context: http://old.nabble.com/incremental-colors-for-lines-tp31546719p31581404.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: C M <cmp...@gm...> - 2011-05-09 18:06:50
|
On Thu, Sep 30, 2010 at 7:55 AM, Jae-Joon Lee <lee...@gm...> wrote: > On Thu, Sep 23, 2010 at 10:31 AM, C M <cmp...@gm...> wrote: >> Until a more permanent solution is figured out, can anyone recommend >> any workarounds, even if they are a little clunky? I'm embedding mpl >> plots in wxPython and am also finding this issue suboptimal. >> >> Che >> > > A (partial) workaround is possible using the axes_grid1 toolkit (i.e., > you need matplotlib 1.0). > Attached is a module I just cooked up (based on my previous attempt @ > http://www.mail-archive.com/mat...@li.../msg18129.html), > and it seems to work quite well. > The usage is simple. > > > ax = plt.axes([0,0,1,1]) > > ax.set_yticks([0.5]) > ax.set_yticklabels(["very long label"]) > > make_axes_area_auto_adjustable(ax) # This is where axes_grid1 comes in > > Then, the axes area(including ticklabels and axis label) will be > automatically adjusted to fit in the given extent ([0, 0, 1, 1] in the > above case). > > While this is mainly for a single axes plot, you may use it with > multi-axes plot (but somewhat trickier to use). A few examples are > included in the module. > Although this has been a big improvement, there is a lingering issue that I want to get around to cleaning up now. When I use this workaround that Jae Joon provided, it works just fine except that if I call canvas.draw() (because I am adding a star to a particular marker when point picking), it causes the whole canvas to "jump" a little bit. What happens is that on the first call to .draw() the plot area increases vertically a tiny amount and the title moves up slightly. On subsequent calls, the plot surface doesn't increase vertically but the title text moves slightly up and then down quickly. This happens each time I point pick for the first 5 or so times, and then it stops doing it. I don't even have to add any new points to the plot, just call canvas.draw() and it will do this. It is visually distracting and a look and feel demerit for the app for sure. I've tried to make a sample that is not embedded in wxPython but so far I can't reproduce the problem. Jae Joon or anyone, any ideas about why this is occurring and how to prevent it? If need be I will try to work up a sample that demonstrates it, but so far I've failed in that. Thanks, Che |
From: Kaushik K. <kal...@il...> - 2011-05-09 02:39:28
|
Hello Eric, Thanks to you, the problem is resolved! > No, I don't think this is a bug in matplotlib; there are many mpl users, > and at least to some extent some devs, who use Macs, so if this were a > general bug in 1.0.1 it would have turned up long ago. Since you were convinced that mpl is not buggy, I decided to look at EPD. However, before that, and for the record, yes, I did try running your commands by saving them to a file and by invoking $Python foo.py in my bash shell (where Python was the 64-bit python or path to the 32-bit python). This still caused the crashes, and may not have helped in locating the actual snag. > Similarly, I doubt it is the case that EPD is simply broken. I would be surprised if > Enthought did not test EPD versions prior to release! There is a very recent thread in epd-users that is similar in flavor to my problem https://mail.enthought.com/pipermail/epd-users/2011-May/000379.html. As in that thread, I too had my DYLD_LIBRARY_PATH set to something in .profile, in my case simply /usr/local/lib. I do not know whether I set it (possibly for CVXOPT to work) or whether an earlier version of EPD installer or some other installer added it. In any case, not having it defined solved my problem (at least this one; don't know if it would break something else though!). By the way, I know that this particular environment variable has been around in my .profile for quite some time now, so I suspect that something changed in EPD 7.0-2 that causes the trouble (does not appear evident from their change log though). Again, for the record, less than three weeks ago, on EPD 7.0-1, everything was working smoothly. Also, I shall bring this discussion to the attention of those in the epd-users' thread. Thanks again! -Kaushik |
From: Eric F. <ef...@ha...> - 2011-05-09 01:42:47
|
On 05/08/2011 11:42 AM, Kaushik Kalyanaraman wrote: > Hello Eric, > > Thanks for your reply and suggestions! > >> Do you see the problem with any plot at all? E.g., > <snip> >> Can you eliminate all traces of EPD, and then just cleanly install one version, and see if the problem still appears? > > I cleanly installed EPD. Now, with only a single version (EPD 7.0-2, Python 2.7.1), I find that, interestingly, > > a) In the 32-bit version (both when independent of and concurrent with 64-bit EPD), simply calling plot() crashes Python, both in bash and IPython shells. > b) In the 64-bit version, plot() goes through and creates the correct plot window but savefig() causes a crash when attempting to save in any format (pdf, ps, svg, png). > > As in my original mail the error messages echoed to terminal are "Abort trap" and "Bus error" for 64-bit and 32-bit versions, respectively. > > Thus, I wish to believe that there is some bug in matplotlib which is possibly not local to savefig() alone (at least for the 32-bit version). In this regard, I wish to request you as well as list members to advise me as to whether I should use version 1.0.0 ? If so, should I build from source or can I simply use the disk image file (and have it easy!) if I wish to replace the EPD bundled matplotlib ? > No, I don't think this is a bug in matplotlib; there are many mpl users, and at least to some extent some devs, who use Macs, so if this were a general bug in 1.0.1 it would have turned up long ago. Similarly, I doubt it is the case that EPD is simply broken. I would be surprised if Enthought did not test EPD versions prior to release! Most likely there is something out of the ordinary about your particular system that is causing the problem; there is still a version conflict or corrupted file somewhere. Did you try saving the code snippet in my last message to a file, and running it? The point of it was to eliminate the use of an interactive backend. I don't have any more ideas; maybe someone else can suggest the next troubleshooting steps. Eric > Thanks and Regards, > Kaushik > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |