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
|
2
(1) |
3
|
4
|
5
(1) |
6
|
|
7
(3) |
8
|
9
(1) |
10
(1) |
11
|
12
(2) |
13
|
|
14
|
15
(9) |
16
(7) |
17
(2) |
18
(3) |
19
|
20
|
|
21
|
22
|
23
|
24
|
25
|
26
(1) |
27
(1) |
|
28
(1) |
29
(4) |
30
|
31
|
|
|
|
|
From: John H. <jdh...@ac...> - 2003-12-12 13:38:55
|
>>>>> "K" == K KISHIMOTO <ko...@us...> writes:
K> Hi, I'm using matplotlib for my scientific analysis, and
K> charmed by It's function.
Thanks!
K> Because I often use another tools for data histograming, I
K> think it's convenient if matplotlib could plot already
K> histogramed data more efficiently.
This seems like the kind of thing that would best be done in your user
library. Eg, if you make a module mymatplotlib.py, you can defined
your own hist. In that file, just import matplotlib.matlab and call
matplotlib.matlab.hist within it. In fact, matplotlib.matlab.hist
calls matplotlib.mlab.hist.
On an unrelated topic:
def hist(x, bins=10, noplot=0, normed=0, weights=[], errors=[])
Just wanted to point out that this is a potential gotcha in python.
For example, what do you expect the output of this code to be?
def func1(x=[]):
if not len(x): x.append(1)
print x
def func2(y=[]):
if len(y)<2: y.append(2)
print y
z = []
func1(z)
func2(z)
The standard way to pass empty lists as default function args is to
do:
def func1(x=None):
if x is None: x = []
#blah blah
Lists and dicts are different in this capacity than strings or ints
because the can be changed (mutable).
Thanks for your suggestions,
John Hunter
|
|
From: K.KISHIMOTO <ko...@us...> - 2003-12-12 07:49:20
|
Hi, I'm using matplotlib for my scientific analysis, and charmed by It's function. Because I often use another tools for data histograming, I think it's convenient if matplotlib could plot already histogramed data more efficiently. For exmple, changing from hist(x, bins=10, noplot=0, normed=0) to hist(x, bins=10, noplot=0, normed=0, weights=[], errors=[]) Calling hist([0.5, 1.5, 1.7, 2.5], [0.0, 1.0, 3.0]) equals to hist([0.5, 1.6, 2.5], [0.0, 1.0, 3.0], weights=[1.0, 2.0, 0.0]) or hist([0.5, 1.6, 2.5], [0.0, 1.0, 3.0], weights=[1.0, 2.0, 0.0], errors=[1.0, 1.414, 0.0]) (1) When "weights" argument is provided, "x" is assumed as a list of weighted mean (or center) values of each bin and "weights" is assumed as a list of (already histogramed) weights of each bin. (2) When "errors" argument is omitted, it's default values are set to the squares of weights. (3) When "errors" argument is provided, it's values are used as a list of one-sigma errors of each bin. Thank you for reading. Koji |
|
From: John H. <jdh...@ac...> - 2003-12-10 05:10:16
|
>>>>> "Carlos" == Carlos <ra...@ho...> writes:
Carlos> Hi whats a good way to add a file open dialog box to a
Carlos> matplotlib script like the one in the demo called
Carlos> "simple_plot.py". I'm new to python and am really
Carlos> impressed with using matplotlib. Is there an EZ way to add
Carlos> a file select dialog?
Yes.
If you are using the GTK backend, there are two examples in the
examples dir of the source distribution (*.zip or *.tar.gz) to help
you out.
1) embedding_in_gtk2.py shows you how to use matplotlib in a GTK example.
2) mpl_with_glade.glade and mpl_with_glade.py show you how to use
matplotlib with gtk and glade. glade is a RAD (rapid application
development) tool that allows you to design GUIs in a
drag-and-drop environment.
To use either of these you'll still have to learn pygtk
http://www.daa.com.au/~james/pygtk/ and/or glade
http://glade.gnome.org.
If you want to use the wx backend, jeremy has provided an example of
how to use matplotlib in a wx application embedding_in_wx.py.
While none of these examples specifically address the issue of file
selection dialogs, if you know something about the backend GUI widget
library, it's easy to add File Selection to the examples provided.
JDH
|
|
From: Carlos <ra...@ho...> - 2003-12-09 23:40:21
|
Hi=20
whats a good way to add a file open dialog box to a matplotlib =
script like the one in the demo called "simple_plot.py". I'm new to =
python and am really impressed with using matplotlib. Is there an EZ way =
to add a file select dialog?
_____________________________
|
|
From: John H. <jdh...@ac...> - 2003-12-07 15:17:10
|
>>>>> "LUK" == LUK ShunTim <shu...@po...> writes:
LUK> I had matplotlib installed in another location, not under the
LUK> default python main tree and use the environmental variable
LUK> AFMPATH to point to the afm fonts files. The backend_wx(.py)
LUK> relies on distutils.sysconfig.PREFIX to find the GUI bitmap
LUK> files. Adding the following 2 lines
A number of people have reported problems with matplotlib in
non-default install locations. I'll try and get these cleared up
before the next release.
Thanks!
John Hunter
|
|
From: John H. <jdh...@ac...> - 2003-12-07 15:16:00
|
>>>>> "Flavio" == Flavio C Coelho <fcc...@fi...> writes:
Flavio> some other example fail with the exact same traceback... I
Flavio> believe the problem lies with the gtk backend, since the
Flavio> same example runs fine with the WX backend.
Your error message suggests to me that you have an out-of-day CVS
copy, which is not surprising since sourceforge seems to have problem
staying current.
Grab another copy when you get the chance and let me know if you have
any more problems.
JDH
|
|
From: LUK S. <shu...@po...> - 2003-12-07 08:49:16
|
Hello,
I just tried out the wxpython backend from the CVS and it seems to work
as advertised, except a small glitch.
I had matplotlib installed in another location, not under the default
python main tree and use the environmental variable AFMPATH to point to
the afm fonts files. The backend_wx(.py) relies on
distutils.sysconfig.PREFIX to find the GUI bitmap files. Adding the
following 2 lines
if os.environ.has_key('AFMPATH'):
basedir = os.environ['AFMPATH']
after the line
basedir = os.path.join(distutils.sysconfig.PREFIX, 'share', 'matplotlib')
in the function _load_bitmap(filename) will enable it to locate the
bitmap files which are installed together with the afm font files. (As
AFMPATH points to more than font resources, a more appropriate name such
as MATPLOTLIBRESOURCE may be warranted, though changing it will break
old installations. I'm happy to let it stay as it is.)
Regards,
ST
|
|
From: Jeremy O'D. <je...@o-...> - 2003-12-02 17:14:17
|
Hi Flavio, I expect that you've found the solution to your problem now, but just in case, I have now published significantly improved version of the wx embedding example in CVS. Since Sourceforge can take some time to sort these things out, I have included the code here. I should also note that there has been quite a significant enhancement to the CVS version of backend_wx committed to CVS. You may wish to use this (although I don't think that the interface has changed anywhere. Details of the changes have been posted to the matplotlib-devel list, or you can see details at the top of the source file (matplotlib-devel archiving appears to be very slow). Regards Jeremy =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D= 3D=3D3D=3D3D=3D3D=3D3D """ Copyright (C) Jeremy O'Donoghue, 2003 License: This work is licensed under the PSF. A copy should be included with this source code, and is also available at http://www.python.org/psf/license.html This is a sample showing how to embed a matplotlib figure in a wxPanel. The example implements the full navigation toolbar, so you can automatica= =3D lly inherit standard matplotlib features such as the ability to zoom, pan and save figures in the supported formats. There are a few small complexities worth noting in the example: 1) By default, a wxFrame can contain a toolbar (added with SetToolBar()) but this is at the top of the frame. Matplotlib default is to put the controls at the bottom of the frame, so you have to manage the toolbar yourself. I have done this by putting the figure and toolbar into a sizer, but this means that you need to override GetToolBar for your wxFrame so that the figure manager can find the toolbar. 2) I have implemented a figure manager to look after the plots and axes. If you don't want a toolbar, it is simpler to add the figure directly and not worry. However, the figure manager looks after clipping of the figure contents, so you will need it if you want to navigate 3) There is a bug in the way in which my copy of wxPython calculates toolbar width on Win32, so there is a tricky line to ensure that the width of the toolbat is the same as the width of the figure. 4) Depending on the parameters you pass to the sizer, you can make the figure resizable or not. """ import matplotlib matplotlib.use('WX') from matplotlib.backends import Figure, Toolbar, FigureManager from matplotlib.axes import Subplot import Numeric as numpy from wxPython.wx import * class PlotFigure(wxFrame): def __init__(self): wxFrame.__init__(self, None, -1, "Test embedded wxFigure") self.fig =3D3D Figure(self, -1, (5,4), 75) self.toolbar =3D3D Toolbar(self.fig) self.toolbar.Realize() # On Windows, default frame size behaviour is incorrect # you don't need this under Linux tw, th =3D3D self.toolbar.GetSizeTuple() fw, fh =3D3D self.fig.GetSizeTuple() self.toolbar.SetSize(wxSize(fw, th)) # Create a figure manager to manage things self.figmgr =3D3D FigureManager(self.fig, 1, self) # Now put all into a sizer sizer =3D3D wxBoxSizer(wxVERTICAL) # This way of adding to sizer prevents resizing #sizer.Add(self.fig, 0, wxLEFT|wxTOP) # This way of adding to sizer allows resizing sizer.Add(self.fig, 1, wxLEFT|wxTOP|wxGROW) # Best to allow the toolbar to resize! sizer.Add(self.toolbar, 0, wxGROW) self.SetSizer(sizer) self.Fit() def plot_data(self): # Use ths line if using a toolbar a =3D3D self.figmgr.add_subplot(111) # Or this one if there is no toolbar #a =3D3D Subplot(self.fig, 111) t =3D3D numpy.arange(0.0,3.0,0.01) s =3D3D numpy.sin(2*numpy.pi*t) c =3D3D numpy.cos(2*numpy.pi*t) a.plot(t,s) a.plot(t,c) self.toolbar.update() def GetToolBar(self): # You will need to override GetToolBar if you are using an # unmanaged toolbar in your frame return self.toolbar if __name__ =3D3D=3D3D '__main__': app =3D3D wxPySimpleApp() frame =3D3D PlotFigure() frame.plot_data() frame.Show() app.MainLoop() |