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
(1) |
|
2
(10) |
3
(29) |
4
(56) |
5
(44) |
6
(26) |
7
(12) |
8
(1) |
|
9
(2) |
10
(11) |
11
(28) |
12
(17) |
13
(6) |
14
(17) |
15
(7) |
|
16
(1) |
17
(8) |
18
(8) |
19
(7) |
20
(2) |
21
(8) |
22
(4) |
|
23
(6) |
24
(1) |
25
(2) |
26
(8) |
27
(3) |
28
(5) |
29
(1) |
|
30
|
31
(1) |
|
|
|
|
|
|
From: John H. <jd...@gm...> - 2007-12-04 03:21:25
|
On Dec 3, 2007 4:57 AM, Dirk Zickermann <dir...@go...> wrote:
> Dear users,
> I would like to generate a colored histogram using a colormap.
> via
> ...
> vals, bins, patchs = pylab.hist(hist_data ,75 ,normed=1)
> ..
> Does anybody know how to assign a colormap to a histogram to find map data
> so that one can find easily data from a 2d map in the histogram?
We need to rewrite histogram to use a PatchCollection, which would be
more efficient and would support colormapping out of the box. In the
current implementation, you can do it by using the colormap
normalization code and mapping manually on each rectangle. Here is an
example:
import numpy as n
from pylab import figure, show
import matplotlib.cm as cm
import matplotlib.colors as colors
fig = figure()
ax = fig.add_subplot(111)
Ntotal = 1000
N, bins, patches = ax.hist(n.random.rand(Ntotal), 20)
#I'll color code by height, but you could use any scalar
# we need to normalize the data to 0..1 for the full
# range of the colormap
fracs = N.astype(float)/N.max()
norm = colors.normalize(fracs.min(), fracs.max())
for thisfrac, thispatch in zip(fracs, patches):
color = cm.jet(norm(thisfrac))
thispatch.set_facecolor(color)
show()
|
|
From: Charlie M. <cw...@gm...> - 2007-12-04 02:47:18
|
I'll remove the exe's from SF. It's been a while since a release, and I guess I was a little rusty. ;) - Charlie On Dec 3, 2007 7:02 PM, John Hunter <jd...@gm...> wrote: > > On Dec 3, 2007 5:53 PM, John Hunter <jd...@gm...> wrote: > > On Dec 3, 2007 5:49 PM, John Hunter <jd...@gm...> wrote: > > > > > Charlie, I don't know how you handled this last time, but is there > > > something in setuptools you have to disable for this build? > > > > Well, here's a clue: matplotlib/__init__.py does not exist in this instal > > When I copy all the dirs from the 2.5 egg you built into > site-packages, I get a matplotlib with rcParams and the rest of the > __init__.py stuff. Unfortunately, when I try to import pylab, I get > the dreaded old msvcp71.dll error. If I recall correctly, we used to > hack distutils to remove the line that linked with that lib. > > JDH > |
|
From: John H. <jd...@gm...> - 2007-12-04 02:41:48
|
On Dec 3, 2007 10:13 AM, John Hunter <jd...@gm...> wrote: > Sorry for the confusion, I was still on the *old* problem of tkagg > hanging w/ hist, and was wondering if it was hanging with other plot > commands too. Not that you can easily test now w/ the active tcl > install. Chris, if you get some time to explore this further, I'd like to see if we can sort it out. If you could remove the acive tcl and do a clean rebuild of mpl, I'd like to verify the hang still exists, and whether it is hist or all plot commands, and et some version info (eg what tcl/tk) and see a copy of the mpl build output. Also, I'd like to see a run w/ --verbose-debug output. I find it strange because I am on the same platform and am not having any troubles (yet) with tkagg. JDH |
|
From: Barry W. <bar...@gm...> - 2007-12-04 00:34:51
|
sorry instances of self.plotView.image
On Dec 3, 2007 3:38 PM, Chris Fonnesbeck <lis...@ma...> wrote:
> OK, I'm having a bad backend day (insert joke here).
>
> Since I am on OSX, I decided to switch over to the CocoaAgg backend,
> but it fails when trying to show a histogram, yielding the following
> TypeError:
>
> In [4]: from matplotlib import use
>
> In [5]: use('CocoaAgg')
>
> In [6]: from pylab import hist, show
>
> In [7]: from numpy import random
>
> In [8]: x = random.exponential(2, 1000)
>
> In [9]: hist(x)
> Out[9]:
> (array([545, 230, 117, 59, 18, 15, 11, 1, 3, 1]),
> array([ 2.99606603e-03, 1.52977050e+00, 3.05654494e+00,
> 4.58331937e+00, 6.11009381e+00, 7.63686824e+00,
> 9.16364268e+00, 1.06904171e+01, 1.22171915e+01,
> 1.37439660e+01]),
> <a list of 10 Patch objects>)
>
> In [10]: show()
> ---------------------------------------------------------------------------
> TypeError Traceback (most recent call last)
>
> /Users/chris/Projects/Occupancy-abundance Manuscript/<ipython console>
> in <module>()
>
> /Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
> in show()
> 44 def show():
> 45 for manager in Gcf.get_all_fig_managers():
> ---> 46 manager.show()
> 47
> 48 def draw_if_interactive():
>
> /Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
> in show(self)
> 203 mplBundle,
> 204 False)
> --> 205 NSApplication.sharedApplication().run()
> 206
> 207
>
> /Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
> in startWithBundle_(self, bundle)
> 179 def startWithBundle_(self, bundle):
> 180 #NSApplicationLoad()
> --> 181 if not
> bundle.loadNibFile_externalNameTable_withZone_('Matplotlib.nib', {},
> None):
> 182 print >>sys.stderr, 'Unable to load Matplotlib Cocoa UI!'
> 183 sys.exit()
>
> /Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
> in awakeFromNib(self)
> 79
> 80 self.plotView.setImageFrameStyle_(NSImageFrameGroove)
> ---> 81 self.plotView.image = NSImage.alloc().initWithSize_((0,0))
> 82 self.plotView.setImage_(self.plotView.image)
> 83
>
> TypeError: cannot change a method
>
> --
> Christopher J. Fonnesbeck
> + Fish & Wildlife Research Institute (FWC)
> + 727.235.5570
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Barry W. <bar...@gm...> - 2007-12-04 00:27:21
|
Chris,
This error is due to more stringent error checking in pyobjc2 which
ships with Leopard. I was just preparing a patch to send to the
matplotlib dev guys, but if you replace all instances of self.image
with self._image in backend_cocoaagg.py, things should work. Because
PlotView is an NSImage subclass, it inherits a method named image.
pyobjc previously let you overwrite that method with a python instance
variable, but no longer, hence having to rename the instance variable.
barry
On Dec 3, 2007 3:38 PM, Chris Fonnesbeck <lis...@ma...> wrote:
> OK, I'm having a bad backend day (insert joke here).
>
> Since I am on OSX, I decided to switch over to the CocoaAgg backend,
> but it fails when trying to show a histogram, yielding the following
> TypeError:
>
> In [4]: from matplotlib import use
>
> In [5]: use('CocoaAgg')
>
> In [6]: from pylab import hist, show
>
> In [7]: from numpy import random
>
> In [8]: x = random.exponential(2, 1000)
>
> In [9]: hist(x)
> Out[9]:
> (array([545, 230, 117, 59, 18, 15, 11, 1, 3, 1]),
> array([ 2.99606603e-03, 1.52977050e+00, 3.05654494e+00,
> 4.58331937e+00, 6.11009381e+00, 7.63686824e+00,
> 9.16364268e+00, 1.06904171e+01, 1.22171915e+01,
> 1.37439660e+01]),
> <a list of 10 Patch objects>)
>
> In [10]: show()
> ---------------------------------------------------------------------------
> TypeError Traceback (most recent call last)
>
> /Users/chris/Projects/Occupancy-abundance Manuscript/<ipython console>
> in <module>()
>
> /Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
> in show()
> 44 def show():
> 45 for manager in Gcf.get_all_fig_managers():
> ---> 46 manager.show()
> 47
> 48 def draw_if_interactive():
>
> /Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
> in show(self)
> 203 mplBundle,
> 204 False)
> --> 205 NSApplication.sharedApplication().run()
> 206
> 207
>
> /Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
> in startWithBundle_(self, bundle)
> 179 def startWithBundle_(self, bundle):
> 180 #NSApplicationLoad()
> --> 181 if not
> bundle.loadNibFile_externalNameTable_withZone_('Matplotlib.nib', {},
> None):
> 182 print >>sys.stderr, 'Unable to load Matplotlib Cocoa UI!'
> 183 sys.exit()
>
> /Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
> in awakeFromNib(self)
> 79
> 80 self.plotView.setImageFrameStyle_(NSImageFrameGroove)
> ---> 81 self.plotView.image = NSImage.alloc().initWithSize_((0,0))
> 82 self.plotView.setImage_(self.plotView.image)
> 83
>
> TypeError: cannot change a method
>
> --
> Christopher J. Fonnesbeck
> + Fish & Wildlife Research Institute (FWC)
> + 727.235.5570
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: John H. <jd...@gm...> - 2007-12-04 00:02:56
|
On Dec 3, 2007 5:53 PM, John Hunter <jd...@gm...> wrote: > On Dec 3, 2007 5:49 PM, John Hunter <jd...@gm...> wrote: > > > Charlie, I don't know how you handled this last time, but is there > > something in setuptools you have to disable for this build? > > Well, here's a clue: matplotlib/__init__.py does not exist in this instal When I copy all the dirs from the 2.5 egg you built into site-packages, I get a matplotlib with rcParams and the rest of the __init__.py stuff. Unfortunately, when I try to import pylab, I get the dreaded old msvcp71.dll error. If I recall correctly, we used to hack distutils to remove the line that linked with that lib. JDH |