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
(19) |
2
(3) |
3
(12) |
4
(2) |
|
5
|
6
(9) |
7
(27) |
8
(39) |
9
(17) |
10
(22) |
11
(5) |
|
12
(1) |
13
(11) |
14
(12) |
15
(14) |
16
(29) |
17
(32) |
18
(8) |
|
19
(3) |
20
(10) |
21
(27) |
22
(11) |
23
(8) |
24
(4) |
25
(4) |
|
26
(3) |
27
(18) |
28
(7) |
29
(29) |
30
(13) |
31
(4) |
|
|
From: John H. <jdh...@ac...> - 2006-03-21 21:25:30
|
>>>>> "Mads" == Mads Ipsen <mp...@os...> writes:
Mads> If you can provide a few pointers to the relevant files in
Mads> the matplotlib source, I'll have a look and see what I can
Mads> do.
You will only need to modify one file
lib/matplotlib/backends/backend_qtagg and add the following three
methods
* background = canvas.copy_from_bbox(ax.bbox) - copy the region in
ax.bbox into a pixel buffer and return it in an object type of
your choosing. bbox is a matplotlib BBox instance from the [WWW]
transforms module. background is not used by the matplotlib
frontend, but it stores it and passes it back to the backend in
the restore_region method. You will probably want to store not
only the pixel buffer but the rectangular region of the canvas
from whence it came in the background object.
* canvas.restore_region(background) - restore the region copied
above to the canvas.
* canvas.blit(bbox) - transfer the pixel buffer in region bounded
by bbox to the canvas.
The pixel buffer is provided by backend_agg's RendererAgg. QtAggg
inherits from Agg, so has access to these methods. GTKAgg, WXAgg and
TkAgg currently do the pixel transfer in extension code (see
src/_gtkagg.cpp, src/_tkagg.cpp and src/_wxagg.cpp) but this is not
necessary. For example, one can use the pygtk pixel buffer methods to
do the transfer and it would probably be as efficient, but this has
not been implemented yet. The hard part is to get all the vertical
offsets right, with the origin at the top versus bottom stuff worked
out.
Take a look at the paintEvent method in FigureCanvasQtAgg which does
the pixel buffer of the entire agg buffer to the qt canvas. For
the "blit" method, you'll want to emulate this but transfer only the
region in the bbox. The bbox is a matplotlib.transforms.BBox
instance. See the docs at
http://matplotlib.sf.net/matplotlib.transforms.html
Good luck, and feel free to ask questions!
JDH
|
|
From: Mads I. <mp...@os...> - 2006-03-21 21:06:20
|
On Tue, 21 Mar 2006, John Hunter wrote: > >>>>> "Mads" == Mads Ipsen <mp...@os...> writes: > > Mads> Dear Matplotlib-users, I have now been struggling with > Mads> getting matplotlib integrated into a PyQt based GUI > Mads> environment. The example > > Mads> embedding_in_qt.py > > Mads> which comes with the source distribution, has been my > Mads> starting point. > > Mads> The problem is that in my own applications, matplotlib has > Mads> to serve the purpose of showing animated data; and for some > Mads> reason, I cannot squeeze more than 10-15 FPS out of the > Mads> example. The QTimer in the example is set to 10 ms, so this > Mads> is not the problem. > > The wiki page at > > http://www.scipy.org/Wiki/Cookbook/Matplotlib/Animations > > discusses animation techniques with performance in mind. > Unfortunately, the techniques described at the end in the section on > blitting and drawing selected artists are not currently available for > QtAgg. Basically, there are three methods that need to be implemented > in the qt backend (the three are discussed in the web page above > towards the end). Basically they involve saving and copying selected > regions of the agg renderering buffer to and from the qt canvas. > There are examples in the GTKAgg, WXAgg, and TkAgg backends for you > follow, so if you know something about Qt and want to get much better > performance for animation, perhaps you can implement these for the > QtAgg backend and send them our way when you are done :-) > > In any case, it is on our list of things to do... > > JDH > If you can provide a few pointers to the relevant files in the matplotlib source, I'll have a look and see what I can do. // Mads |
|
From: John H. <jdh...@ac...> - 2006-03-21 20:03:50
|
>>>>> "Nils" == Nils Wagner <nw...@me...> writes:
Nils> Dear Matplotlib-Users, I would like to add arrows at the
Nils> corners of the blue line to illustrate the order of the
Nils> iterates. Is it possible to realize it with matplotlib ?
You may want to look at examples/arrow_demo.py and the
matplotlib.patches.FancyArrow class in current svn (revision 2201).
There is also a class matplotlib.patches.Arrow but the arrows it makes
are not as nice as those of the FancyArrow.
JDH
|
|
From: John H. <jdh...@ac...> - 2006-03-21 20:01:32
|
>>>>> "Mads" == Mads Ipsen <mp...@os...> writes:
Mads> Dear Matplotlib-users, I have now been struggling with
Mads> getting matplotlib integrated into a PyQt based GUI
Mads> environment. The example
Mads> embedding_in_qt.py
Mads> which comes with the source distribution, has been my
Mads> starting point.
Mads> The problem is that in my own applications, matplotlib has
Mads> to serve the purpose of showing animated data; and for some
Mads> reason, I cannot squeeze more than 10-15 FPS out of the
Mads> example. The QTimer in the example is set to 10 ms, so this
Mads> is not the problem.
The wiki page at
http://www.scipy.org/Wiki/Cookbook/Matplotlib/Animations
discusses animation techniques with performance in mind.
Unfortunately, the techniques described at the end in the section on
blitting and drawing selected artists are not currently available for
QtAgg. Basically, there are three methods that need to be implemented
in the qt backend (the three are discussed in the web page above
towards the end). Basically they involve saving and copying selected
regions of the agg renderering buffer to and from the qt canvas.
There are examples in the GTKAgg, WXAgg, and TkAgg backends for you
follow, so if you know something about Qt and want to get much better
performance for animation, perhaps you can implement these for the
QtAgg backend and send them our way when you are done :-)
In any case, it is on our list of things to do...
JDH
|
|
From: Nils W. <nw...@me...> - 2006-03-21 20:00:46
|
Dear Matplotlib-Users, I would like to add arrows at the corners of the blue line to illustrate the order of the iterates. Is it possible to realize it with matplotlib ? Nils |
|
From: Mads I. <mp...@os...> - 2006-03-21 19:51:11
|
Dear Matplotlib-users, I have now been struggling with getting matplotlib integrated into a PyQt based GUI environment. The example embedding_in_qt.py which comes with the source distribution, has been my starting point. The problem is that in my own applications, matplotlib has to serve the purpose of showing animated data; and for some reason, I cannot squeeze more than 10-15 FPS out of the example. The QTimer in the example is set to 10 ms, so this is not the problem. If I implement a simple, and of course, much more simplistic 2D window in 'raw' PyQt, this easily gives 95 FPS with 1000 datapoints. Any suggestions and feedbacks on how to approach this problem are more than welcome. Best regards, Mads Ipsen |
|
From: John H. <jdh...@ac...> - 2006-03-21 18:11:18
|
>>>>> "Keith" == <kei...@bt...> writes:
>> grid(*args, **kwargs) Set the axes grids on or off; b is a
>> boolean if b is None, toggle the grid state
Keith> should that be
Keith> grid(b)
Hi Keith -- thanks for all these docstring bug reports. For the
sanity of our mailing list users, who probably don't want to overload
their inboxes, I suggest you collect these in a single report and post
them to the sourceforge bug report page
http://sourceforge.net/tracker/?group_id=80706&atid=560720
In answer to this specific question about grid. The pylab functions
are mostly think interfaces to the matplotlib API, and grid is an
example of this. Most of the pylab functions are autogenerated by a
python script. We simply pass all the *args and **kwargs from those
functions on to the underlying function. To make the pylab docstrings
more human readable, I usually include an extra line like (in the
Axes.grid function that pylab.grid exposes)
def grid(self, b=None, **kwargs):
"""
GRID(b=None, **kwargs)
Where the GRID line is used to indicate the pylab syntax.
This was missing for grid (see plot or scatter for an example of how
we mean to do it) but will be fixed for the next release.
Thanks!
JDH
|
|
From: <kei...@bt...> - 2006-03-21 16:58:28
|
>grid(*args, **kwargs) >Set the axes grids on or off; b is a boolean >if b is None, toggle the grid state should that be=20 grid(b) ? Keith |
|
From: <kei...@bt...> - 2006-03-21 16:54:46
|
>figlegend(handles, labels, loc, **kwargs)=20 >legend( (line1, line2, line3),=20 should that be=20 figlegend( (line1, line2, line3), > ? > Keith |
|
From: <kei...@bt...> - 2006-03-21 15:56:50
|
> assuming a is the Axis instance=20 should that be assuming ax is the Axis instance=20 ? Keith |
|
From: John H. <jdh...@ac...> - 2006-03-21 15:39:25
|
>>>>> "Darren" == Darren Dale <dd...@co...> writes:
Darren> On Tuesday 21 March 2006 10:11, Darren Dale wrote:
>> Nevermind, I didnt see the reference to simple plot. This looks
>> like a problem with the where() function with numarray, it is
>> complaining about creating a char array. I'm looking into it.
Darren> Fixed in svn 2190.
Darren> I found a non-numerix solution, replacing this: codes =
Darren> where(mask[start:end+1], 'l', 'm') with this: codes =
Darren> [('m','l')[i] for i in mask]
If this is a numarray bug, we should make sure the numarray folks know
about it.
JDH
|
|
From: <kei...@bt...> - 2006-03-21 15:36:40
|
> funcs to compliment MLab=20 you probably meant: funcs to complement MLab=20 Keith |
|
From: Humufr <hu...@ya...> - 2006-03-21 15:31:20
|
grea, it's working fine now. Thank you very much.
N.
Darren Dale wrote:
> On Tuesday 21 March 2006 10:11, Darren Dale wrote:
>
>> Nevermind, I didnt see the reference to simple plot. This looks like a
>> problem with the where() function with numarray, it is complaining about
>> creating a char array. I'm looking into it.
>>
>
> Fixed in svn 2190.
>
> I found a non-numerix solution, replacing this:
> codes = where(mask[start:end+1], 'l', 'm')
> with this:
> codes = [('m','l')[i] for i in mask]
>
>
>> On Tuesday 21 March 2006 10:04, Darren Dale wrote:
>>
>>> Please post a brief script that reproduces the problem.
>>>
>>> On Tuesday 21 March 2006 09:57, Humufr wrote:
>>>
>>>> Hi,
>>>>
>>>> I have an error with the SVN version of matplotlib when I'm trying to
>>>> save a figure in eps format (it's working fine for png, svg). The
>>>> problem appeared when I'm using savefig("image.eps") or the save icon.
>>>> The error message is:
>>>>
>>>> Thanks,
>>>>
>>>> N.
>>>>
>>>>
>>>> python simple_plot.py
>>>> Traceback (most recent call last):
>>>> File
>>>> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk
>>>> .p y" , line 640, in save_figure
>>>> self.canvas.print_figure(fname)
>>>> File
>>>> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk
>>>> ag g. py", line 112, in print_figure
>>>> orientation, **kwargs)
>>>> File
>>>> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg
>>>> .p y" , line 493, in print_figure
>>>> orientation, **kwargs)
>>>> File
>>>> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.
>>>> py ", line 1141, in print_figure
>>>> self.figure.draw(renderer)
>>>> File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
>>>> line 529, in draw
>>>> for a in self.axes: a.draw(renderer)
>>>> File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py",
>>>> line 1460, in draw
>>>> a.draw(renderer)
>>>> File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
>>>> line 370, in draw
>>>> lineFunc(renderer, gc, xt, yt)
>>>> File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
>>>> line 534, in _draw_solid
>>>> renderer.draw_lines(gc, xt, yt, self._transform)
>>>> File
>>>> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.
>>>> py ", line 634, in draw_lines
>>>> codes = where(mask[start:end+1], 'l', 'm')
>>>> File "/usr/local/lib/python2.4/site-packages/numarray/generic.py",
>>>> line 1068, in where
>>>> return choose(ufunc.not_equal(condition, 0), (y,x), out)
>>>> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
>>>> 1990, in choose
>>>> return _choose(selector, population, outarr, clipmode)
>>>> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
>>>> 1896, in __call__
>>>> computation_mode, woutarr, cfunc, ufargs = \
>>>> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
>>>> 1912, in _setup
>>>> convType = _maxPopType(in2)
>>>> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
>>>> 1854, in _maxPopType
>>>> t = _nc._maxtype(x)
>>>> File
>>>> "/usr/local/lib/python2.4/site-packages/numarray/numarraycore.py", line
>>>> 131, in _maxtype
>>>> return PyLevel2Type[_numarray._maxtype(args)]
>>>> TypeError: Expecting a python numeric type, got something else.
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.Net email is sponsored by xPML, a groundbreaking scripting
>>>> language that extends applications into web and mobile media. Attend
>>>> the live webcast and join the prime developer group breaking into this
>>>> new coding territory!
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12164
>>>> 2 _______________________________________________
>>>> Matplotlib-users mailing list
>>>> Mat...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>>
>
>
|
|
From: Darren D. <dd...@co...> - 2006-03-21 15:24:31
|
On Tuesday 21 March 2006 10:11, Darren Dale wrote:
> Nevermind, I didnt see the reference to simple plot. This looks like a
> problem with the where() function with numarray, it is complaining about
> creating a char array. I'm looking into it.
Fixed in svn 2190.
I found a non-numerix solution, replacing this:
codes = where(mask[start:end+1], 'l', 'm')
with this:
codes = [('m','l')[i] for i in mask]
> On Tuesday 21 March 2006 10:04, Darren Dale wrote:
> > Please post a brief script that reproduces the problem.
> >
> > On Tuesday 21 March 2006 09:57, Humufr wrote:
> > > Hi,
> > >
> > > I have an error with the SVN version of matplotlib when I'm trying to
> > > save a figure in eps format (it's working fine for png, svg). The
> > > problem appeared when I'm using savefig("image.eps") or the save icon.
> > > The error message is:
> > >
> > > Thanks,
> > >
> > > N.
> > >
> > >
> > > python simple_plot.py
> > > Traceback (most recent call last):
> > > File
> > > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk
> > >.p y" , line 640, in save_figure
> > > self.canvas.print_figure(fname)
> > > File
> > > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk
> > >ag g. py", line 112, in print_figure
> > > orientation, **kwargs)
> > > File
> > > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg
> > >.p y" , line 493, in print_figure
> > > orientation, **kwargs)
> > > File
> > > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.
> > >py ", line 1141, in print_figure
> > > self.figure.draw(renderer)
> > > File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
> > > line 529, in draw
> > > for a in self.axes: a.draw(renderer)
> > > File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py",
> > > line 1460, in draw
> > > a.draw(renderer)
> > > File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
> > > line 370, in draw
> > > lineFunc(renderer, gc, xt, yt)
> > > File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
> > > line 534, in _draw_solid
> > > renderer.draw_lines(gc, xt, yt, self._transform)
> > > File
> > > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.
> > >py ", line 634, in draw_lines
> > > codes = where(mask[start:end+1], 'l', 'm')
> > > File "/usr/local/lib/python2.4/site-packages/numarray/generic.py",
> > > line 1068, in where
> > > return choose(ufunc.not_equal(condition, 0), (y,x), out)
> > > File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> > > 1990, in choose
> > > return _choose(selector, population, outarr, clipmode)
> > > File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> > > 1896, in __call__
> > > computation_mode, woutarr, cfunc, ufargs = \
> > > File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> > > 1912, in _setup
> > > convType = _maxPopType(in2)
> > > File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> > > 1854, in _maxPopType
> > > t = _nc._maxtype(x)
> > > File
> > > "/usr/local/lib/python2.4/site-packages/numarray/numarraycore.py", line
> > > 131, in _maxtype
> > > return PyLevel2Type[_numarray._maxtype(args)]
> > > TypeError: Expecting a python numeric type, got something else.
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > > language that extends applications into web and mobile media. Attend
> > > the live webcast and join the prime developer group breaking into this
> > > new coding territory!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12164
> > >2 _______________________________________________
> > > Matplotlib-users mailing list
> > > Mat...@li...
> > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd...@co...
office: (607) 255-9894
fax: (607) 255-9001
|
|
From: Darren D. <dd...@co...> - 2006-03-21 15:11:13
|
Nevermind, I didnt see the reference to simple plot. This looks like a problem
with the where() function with numarray, it is complaining about creating a
char array. I'm looking into it.
On Tuesday 21 March 2006 10:04, Darren Dale wrote:
> Please post a brief script that reproduces the problem.
>
> On Tuesday 21 March 2006 09:57, Humufr wrote:
> > Hi,
> >
> > I have an error with the SVN version of matplotlib when I'm trying to
> > save a figure in eps format (it's working fine for png, svg). The
> > problem appeared when I'm using savefig("image.eps") or the save icon.
> > The error message is:
> >
> > Thanks,
> >
> > N.
> >
> >
> > python simple_plot.py
> > Traceback (most recent call last):
> > File
> > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.p
> >y" , line 640, in save_figure
> > self.canvas.print_figure(fname)
> > File
> > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkag
> >g. py", line 112, in print_figure
> > orientation, **kwargs)
> > File
> > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.p
> >y" , line 493, in print_figure
> > orientation, **kwargs)
> > File
> > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
> >", line 1141, in print_figure
> > self.figure.draw(renderer)
> > File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
> > line 529, in draw
> > for a in self.axes: a.draw(renderer)
> > File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line
> > 1460, in draw
> > a.draw(renderer)
> > File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
> > line 370, in draw
> > lineFunc(renderer, gc, xt, yt)
> > File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
> > line 534, in _draw_solid
> > renderer.draw_lines(gc, xt, yt, self._transform)
> > File
> > "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
> >", line 634, in draw_lines
> > codes = where(mask[start:end+1], 'l', 'm')
> > File "/usr/local/lib/python2.4/site-packages/numarray/generic.py",
> > line 1068, in where
> > return choose(ufunc.not_equal(condition, 0), (y,x), out)
> > File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> > 1990, in choose
> > return _choose(selector, population, outarr, clipmode)
> > File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> > 1896, in __call__
> > computation_mode, woutarr, cfunc, ufargs = \
> > File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> > 1912, in _setup
> > convType = _maxPopType(in2)
> > File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> > 1854, in _maxPopType
> > t = _nc._maxtype(x)
> > File
> > "/usr/local/lib/python2.4/site-packages/numarray/numarraycore.py", line
> > 131, in _maxtype
> > return PyLevel2Type[_numarray._maxtype(args)]
> > TypeError: Expecting a python numeric type, got something else.
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > language that extends applications into web and mobile media. Attend the
> > live webcast and join the prime developer group breaking into this new
> > coding territory!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd...@co...
office: (607) 255-9894
fax: (607) 255-9001
|
|
From: Humufr <hu...@ya...> - 2006-03-21 15:10:11
|
python simple_plot.py --verbose-helpful
matplotlib data path
/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data
$HOME=/home/humufr
CONFIGDIR=/home/humufr/.matplotlib
loaded rc file /home/humufr/.matplotlib/matplotlibrc
matplotlib version 0.88svn
verbose.level helpful
interactive is False
platform is linux2
numerix numarray 1.5.1
font search path
['/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data', '.',
'/.fonts']
loaded ttfcache file /.matplotlib/ttffont.cache
backend GTKAgg version 2.8.0
Traceback (most recent call last):
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
line 640, in save_figure
self.canvas.print_figure(fname)
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py",
line 112, in print_figure
orientation, **kwargs)
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py",
line 493, in print_figure
orientation, **kwargs)
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
line 1141, in print_figure
self.figure.draw(renderer)
File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
line 529, in draw
for a in self.axes: a.draw(renderer)
File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line
1460, in draw
a.draw(renderer)
File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
line 370, in draw
lineFunc(renderer, gc, xt, yt)
File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
line 534, in _draw_solid
renderer.draw_lines(gc, xt, yt, self._transform)
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
line 634, in draw_lines
codes = where(mask[start:end+1], 'l', 'm')
File "/usr/local/lib/python2.4/site-packages/numarray/generic.py",
line 1068, in where
return choose(ufunc.not_equal(condition, 0), (y,x), out)
File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
1990, in choose
return _choose(selector, population, outarr, clipmode)
File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
1896, in __call__
computation_mode, woutarr, cfunc, ufargs = \
File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
1912, in _setup
convType = _maxPopType(in2)
File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
1854, in _maxPopType
t = _nc._maxtype(x)
File
"/usr/local/lib/python2.4/site-packages/numarray/numarraycore.py", line
131, in _maxtype
return PyLevel2Type[_numarray._maxtype(args)]
TypeError: Expecting a python numeric type, got something else.
John Hunter wrote:
>>>>>> "Humufr" == Humufr <hu...@ya...> writes:
>>>>>>
>
> Humufr> Hi, I have an error with the SVN version of matplotlib
> Humufr> when I'm trying to save a figure in eps format (it's
> Humufr> working fine for png, svg). The problem appeared when I'm
> Humufr> using savefig("image.eps") or the save icon. The error
> Humufr> message is:
>
> When posting a bug, it's most helpful if you run the script in
> question with --verbose-helpful option which shows us your default
> configuration.
>
> Thanks,
> JDH
>
>
|
|
From: Humufr <hu...@ya...> - 2006-03-21 15:07:05
|
oups I forgot to indicate the svn revision:
revision 2189
N.
Humufr wrote:
> Hi,
>
> I have an error with the SVN version of matplotlib when I'm trying to
> save a figure in eps format (it's working fine for png, svg). The
> problem appeared when I'm using savefig("image.eps") or the save icon.
> The error message is:
>
> Thanks,
>
> N.
>
>
> python simple_plot.py
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
> line 640, in save_figure
> self.canvas.print_figure(fname)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py",
> line 112, in print_figure
> orientation, **kwargs)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py",
> line 493, in print_figure
> orientation, **kwargs)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
> line 1141, in print_figure
> self.figure.draw(renderer)
> File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
> line 529, in draw
> for a in self.axes: a.draw(renderer)
> File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py",
> line 1460, in draw
> a.draw(renderer)
> File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
> line 370, in draw
> lineFunc(renderer, gc, xt, yt)
> File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
> line 534, in _draw_solid
> renderer.draw_lines(gc, xt, yt, self._transform)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
> line 634, in draw_lines
> codes = where(mask[start:end+1], 'l', 'm')
> File "/usr/local/lib/python2.4/site-packages/numarray/generic.py",
> line 1068, in where
> return choose(ufunc.not_equal(condition, 0), (y,x), out)
> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> 1990, in choose
> return _choose(selector, population, outarr, clipmode)
> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> 1896, in __call__
> computation_mode, woutarr, cfunc, ufargs = \
> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> 1912, in _setup
> convType = _maxPopType(in2)
> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> 1854, in _maxPopType
> t = _nc._maxtype(x)
> File
> "/usr/local/lib/python2.4/site-packages/numarray/numarraycore.py",
> line 131, in _maxtype
> return PyLevel2Type[_numarray._maxtype(args)]
> TypeError: Expecting a python numeric type, got something else.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: John H. <jdh...@ac...> - 2006-03-21 15:06:40
|
>>>>> "Humufr" == Humufr <hu...@ya...> writes:
Humufr> Hi, I have an error with the SVN version of matplotlib
Humufr> when I'm trying to save a figure in eps format (it's
Humufr> working fine for png, svg). The problem appeared when I'm
Humufr> using savefig("image.eps") or the save icon. The error
Humufr> message is:
When posting a bug, it's most helpful if you run the script in
question with --verbose-helpful option which shows us your default
configuration.
Thanks,
JDH
|
|
From: Darren D. <dd...@co...> - 2006-03-21 15:04:41
|
Please post a brief script that reproduces the problem.
On Tuesday 21 March 2006 09:57, Humufr wrote:
> Hi,
>
> I have an error with the SVN version of matplotlib when I'm trying to
> save a figure in eps format (it's working fine for png, svg). The
> problem appeared when I'm using savefig("image.eps") or the save icon.
> The error message is:
>
> Thanks,
>
> N.
>
>
> python simple_plot.py
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py"
>, line 640, in save_figure
> self.canvas.print_figure(fname)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.
>py", line 112, in print_figure
> orientation, **kwargs)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py"
>, line 493, in print_figure
> orientation, **kwargs)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
> line 1141, in print_figure
> self.figure.draw(renderer)
> File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
> line 529, in draw
> for a in self.axes: a.draw(renderer)
> File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line
> 1460, in draw
> a.draw(renderer)
> File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
> line 370, in draw
> lineFunc(renderer, gc, xt, yt)
> File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
> line 534, in _draw_solid
> renderer.draw_lines(gc, xt, yt, self._transform)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
> line 634, in draw_lines
> codes = where(mask[start:end+1], 'l', 'm')
> File "/usr/local/lib/python2.4/site-packages/numarray/generic.py",
> line 1068, in where
> return choose(ufunc.not_equal(condition, 0), (y,x), out)
> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> 1990, in choose
> return _choose(selector, population, outarr, clipmode)
> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> 1896, in __call__
> computation_mode, woutarr, cfunc, ufargs = \
> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> 1912, in _setup
> convType = _maxPopType(in2)
> File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
> 1854, in _maxPopType
> t = _nc._maxtype(x)
> File
> "/usr/local/lib/python2.4/site-packages/numarray/numarraycore.py", line
> 131, in _maxtype
> return PyLevel2Type[_numarray._maxtype(args)]
> TypeError: Expecting a python numeric type, got something else.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd...@co...
office: (607) 255-9894
fax: (607) 255-9001
|
|
From: Humufr <hu...@ya...> - 2006-03-21 14:58:00
|
Hi,
I have an error with the SVN version of matplotlib when I'm trying to
save a figure in eps format (it's working fine for png, svg). The
problem appeared when I'm using savefig("image.eps") or the save icon.
The error message is:
Thanks,
N.
python simple_plot.py
Traceback (most recent call last):
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
line 640, in save_figure
self.canvas.print_figure(fname)
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py",
line 112, in print_figure
orientation, **kwargs)
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py",
line 493, in print_figure
orientation, **kwargs)
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
line 1141, in print_figure
self.figure.draw(renderer)
File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
line 529, in draw
for a in self.axes: a.draw(renderer)
File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line
1460, in draw
a.draw(renderer)
File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
line 370, in draw
lineFunc(renderer, gc, xt, yt)
File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py",
line 534, in _draw_solid
renderer.draw_lines(gc, xt, yt, self._transform)
File
"/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
line 634, in draw_lines
codes = where(mask[start:end+1], 'l', 'm')
File "/usr/local/lib/python2.4/site-packages/numarray/generic.py",
line 1068, in where
return choose(ufunc.not_equal(condition, 0), (y,x), out)
File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
1990, in choose
return _choose(selector, population, outarr, clipmode)
File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
1896, in __call__
computation_mode, woutarr, cfunc, ufargs = \
File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
1912, in _setup
convType = _maxPopType(in2)
File "/usr/local/lib/python2.4/site-packages/numarray/ufunc.py", line
1854, in _maxPopType
t = _nc._maxtype(x)
File
"/usr/local/lib/python2.4/site-packages/numarray/numarraycore.py", line
131, in _maxtype
return PyLevel2Type[_numarray._maxtype(args)]
TypeError: Expecting a python numeric type, got something else.
|
|
From: John H. <jdh...@ac...> - 2006-03-21 14:50:34
|
>>>>> "Nils" == Nils Wagner <nw...@me...> writes:
Nils> How can I resolve this warning ?
Nils> /usr/lib64/python2.4/site-packages/matplotlib/__init__.py:948:
Nils> UserWarning: Bad val "free" on line #183 "image.aspect :
Nils> free # free | preserve" in file
Nils> "/home/nwagner/.matplotlib/matplotlibrc" not a valid aspect
Nils> specification warnings.warn('Bad val "%s" on line
Nils> #%d\n\t"%s"\n\tin file "%s"\n\t%s' % (
If you are a svn user, please read the devel list. If you are
reporting a bug against svn, please report your svn revision number in
a bug report. You have been reading and posting on maptlotlib and
scipy mailing lists long enough, and using cvs/svn versions of both
long enough, that you should know the drill by now.
Eric Firing has done excellent work in the last couple of days,
building on Mark Bakkar's earler work, in support of image and axes
with proper aspect ratio handling, under figure window resizes, etc.
He is not finished yet, and as he indicated on the devel list he has
not updated the CHANGELOG of API_CHANGES files yet because he is still
working out the final details.
The new default matplotlibrc.template file in svn, however, lists the
new valid options for this image.aspect parameter.
JDH
|
|
From: Darren D. <dd...@co...> - 2006-03-21 14:41:25
|
Remove it from your rc file.
On Tuesday 21 March 2006 09:10, Nils Wagner wrote:
> How can I resolve this warning ?
>
> /usr/lib64/python2.4/site-packages/matplotlib/__init__.py:948:
> UserWarning: Bad val "free" on line #183
> "image.aspect : free # free | preserve"
> in file "/home/nwagner/.matplotlib/matplotlibrc"
> not a valid aspect specification
> warnings.warn('Bad val "%s" on line #%d\n\t"%s"\n\tin file "%s"\n\t%s' %
> (
>
> Nils
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd...@co...
office: (607) 255-9894
fax: (607) 255-9001
|
|
From: Nils W. <nw...@me...> - 2006-03-21 14:10:58
|
How can I resolve this warning ?
/usr/lib64/python2.4/site-packages/matplotlib/__init__.py:948:
UserWarning: Bad val "free" on line #183
"image.aspect : free # free | preserve"
in file "/home/nwagner/.matplotlib/matplotlibrc"
not a valid aspect specification
warnings.warn('Bad val "%s" on line #%d\n\t"%s"\n\tin file "%s"\n\t%s' % (
Nils
|
|
From: John H. <jdh...@ac...> - 2006-03-21 02:07:34
|
>>>>> "Diwaker" == Diwaker Gupta <diw...@gm...> writes:
Diwaker> I want to plot two quantities on the same graph such that
Diwaker> the X-axis remains the same, while the left and right
Diwaker> Y-axis show the ranges for the first and second quanties
Diwaker> respective. I fished through the demos (shared_axes etc),
Diwaker> the cookbook as well as the user manual, but haven't been
Diwaker> able to figure out a working example yet.
examples/two_scales.py
Hope this helps,
JDH
|
|
From: Diwaker G. <diw...@gm...> - 2006-03-21 01:49:12
|
I want to plot two quantities on the same graph such that the X-axis remains the same, while the left and right Y-axis show the ranges for the first and second quanties respective. I fished through the demos (shared_axes etc), the cookbook as well as the user manual, but haven't been able to figure out a working example yet. I hope this is easy to do, and if not, IMHO it should be made relatively straight forward to make such plots since they are very common with gnuplot users. TIA, Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog |