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) |
|
2
(4) |
3
(21) |
4
(4) |
5
(13) |
6
(28) |
7
(11) |
8
(2) |
|
9
|
10
(11) |
11
(5) |
12
|
13
(5) |
14
(25) |
15
(4) |
|
16
(1) |
17
(7) |
18
(15) |
19
(21) |
20
(27) |
21
(11) |
22
(1) |
|
23
(1) |
24
(3) |
25
(9) |
26
(13) |
27
(19) |
28
(11) |
29
(4) |
|
30
(4) |
31
(11) |
|
|
|
|
|
|
From: Humufr <hu...@ya...> - 2005-10-20 15:33:30
|
Hello, I would like to resize a matplotlib window from a command in ipython. I don't want to use the mouse to do this (for different reasons). Do you know if it's possible to do this? Thanks N. |
|
From: John H. <jdh...@ac...> - 2005-10-20 15:23:03
|
>>>>> "Nils" == Nils Wagner <nw...@me...> writes:
Nils> Hi John, I have submitted a bug report a few weeks ago.
Nils> http://sourceforge.net/tracker/index.php?func=detail&aid=1296124&group_id=80706&atid=560720
Nils> How about that ?
Fixed in CVS. There was a clipping bug in the draw_image function
that underlies the tex drawing to *Agg.
Cheers,
JDH
|
|
From: Ken M. <mc...@ii...> - 2005-10-20 15:12:10
|
On Oct 19, 2005, at 8:55 PM, Ryan Krauss wrote: > I still haven't gotten any input on the ** (python:8999): WARNING **: > IPP request failed with status 1030 message. Anyone know why the > WXAgg backend is causing this and how to get rid of it. Sorry, I guess I missed your last email. I'll look into it. If the script is more complicated than "plot_something(); show()", could you please send a copy of it? Thanks. Ken |
|
From: Ryan K. <rya...@gm...> - 2005-10-20 14:50:08
|
Apparently, whatever this problem is, it is caused by calling pylab.figure(= #) In [1]: pylab.figure(1) ** (python:8692): WARNING **: IPP request failed with status 1030 Out[1]: <matplotlib.figure.Figure instance at 0xb517f02c> I can recreate this without any script with just that one command. I am running matplotlib 0.84, IPython 0.6.16_cvs, and scipy 0.3.3_309.4626 on ubunut Breezy 5.10. Any thoughts? Ryan On 10/19/05, Ryan Krauss <rya...@gm...> wrote: > I still haven't gotten any input on the ** (python:8999): WARNING **: > IPP request failed with status 1030 message. Anyone know why the > WXAgg backend is causing this and how to get rid of it. > In [1]: pylab.figure(1) ** (python:8692): WARNING **: IPP request failed with status 1030 Out[1]: <matplotlib.figure.Figure instance at 0xb517f02c> > On 10/19/05, Ken McIvor <mc...@ii...> wrote: > > Charlies, Chris, and Arnd: thanks for your prompt responses to Ryan's > > question! I'll write up a cookbook entry on the topic tomorrow. > > > > I've known about the missing wxPython headers for some time and have > > been corresponding with the Debian package maintainer about it. > > Apparently the headers weren't getting installed in 2.6 due to some > > Extreme Cleverness on the part of wxPython's "setup.py" and in 2.4 > > there wasn't even an attempt to install them. Last Thursday I filed > > patches on sourceforge, so hopefully this'll get fixed sometime soon. > > > > Ken > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussion= s, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > |
|
From: Jeff W. <js...@fa...> - 2005-10-20 14:44:29
|
Robert Kern wrote: >Jeff Whitaker wrote: > > > >>The LICENSE reads: >> >>Bivariate Cubic Spline approximation library + standalone utility >>Version 1.14 >> >>Copyright 2002 CSIRO Marine Research >>GPO 1538 Hobart >>TAS 7001 >>Australia >>Please send comments and bugs to Pav...@cs... >> >>There is no warranty whatsoever. Use at your own risk. >> >>These code may be freely redistributed under the condition that the >>copyright >>notices are not removed. You may distribute modified versions of this code >>UNDER THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE >>SAME FILE REMAIN UNDER COPYRIGHT OF CSIRO, BOTH SOURCE AND OBJECT CODE ARE >>MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR NOTICE IS GIVEN OF THE >>MODIFICATIONS. >> >>If this sounds OK I'll investigate further. >> >> > >No, the CAPITALIZED part is very much not okay. It means we'd have to >sign over the copyright to our modifications to CSIRO, and that the code >can't be embedded in a commercial or proprietary project. > > > Robert: But this refers to modifications made to it "in the same file". The way I read this, if we don't change his source files we can redistribute them any way we want, as long as we leave the CSIRO copyright notices alone. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/CDC R/CDC1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |
|
From: Handzsuj, T. <Tho...@dr...> - 2005-10-20 09:20:41
|
Hi,
I am trying to use matplotlib 0.84 with Python 2.4.2 on Wondows XP with
idle -n. I did this in the past with the 2.3.5 and some older version of
matplotlib without any problems.
Now I have some problems. I started with a really fresh installation of
Python and added first the Numeric 23.8 module. After that I installed
matplotlib 0.84 and changed the matplotlibrc (tk.pythoninspect : True).
Within Idle I get the following printout:
>>> from pylab import *
Traceback (most recent call last):
File "<pyshell#0>", line 1, in ?
from pylab import *
File "C:\Program Files\Python24\Lib\site-packages\pylab.py", line 1,
in ?
from matplotlib.pylab import *
File "C:\Program
Files\Python24\Lib\site-packages\matplotlib\pylab.py", line 198, in ?
from axes import Axes, PolarAxes
File "C:\Program Files\Python24\Lib\site-packages\matplotlib\axes.py",
line 15, in ?
from axis import XAxis, YAxis
File "C:\Program Files\Python24\Lib\site-packages\matplotlib\axis.py",
line 25, in ?
from font_manager import FontProperties
File "C:\Program
Files\Python24\Lib\site-packages\matplotlib\font_manager.py", line 988,
in ?
fontManager =3D FontManager()
File "C:\Program
Files\Python24\Lib\site-packages\matplotlib\font_manager.py", line 832,
in __init__
rebuild()
File "C:\Program
Files\Python24\Lib\site-packages\matplotlib\font_manager.py", line 825,
in rebuild
self.ttfdict =3D createFontDict(self.ttffiles)
File "C:\Program
Files\Python24\Lib\site-packages\matplotlib\font_manager.py", line 451,
in createFontDict
font =3D ft2font.FT2Font(str(fpath))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in
position 19: ordinal not in range(128)
>>>=20
Any ideas about that?
(Hopefully a not too often asked question)
Thank you,
Thomas |
|
From: <phi...@ho...> - 2005-10-20 08:42:56
|
Hi John and list,
Sorry to take your time.
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as
FigureCanvas
from matplotlib.backends.backend_gtkagg import NavigationToolbar2GTKAgg
as NavigationToolbar
when i do:
|fig = Figure(figsize=(5,4), dpi=100)|||
|ax = fig.add_subplot(111) # 1|
|t = arange(0.0,3.0,0.01)|
|s = sin(2*pi*t)|
|ax.plot(t,s)|||||
|canvas = FigureCanvas(fig)|
|vbox.pack_start(canvas)|
|toolbar = NavigationToolbar(canvas, win)|
|vbox.pack_start(toolbar, False, False)
|
|I can zoom on the figure and it is redrawn.
|My problem is i need to create a subplot instance myself:
|fig = Figure(figsize=(5,4), dpi=100)
ax = Subplot(fig,111) || # 1||
t = arange(0.0,3.0,0.01)
s = sin(2*pi*t)
ax.plot(t,s)
fig.add_subplot(ax) ||# 2 -> To display the hand
subplot in the figure.|
|canvas = FigureCanvas(fig)
vbox.pack_start(canvas)
toolbar = NavigationToolbar(canvas, win)
vbox.pack_start(toolbar, False, False)|
The application is crashing. GTK seems to fail displaying the canvas.
Is it a bug or am i doing something wrong?
Thanks a lot for the answer,
Regards,
Philippe Collet
|
|
From: Nils W. <nw...@me...> - 2005-10-20 07:08:55
|
Hi John, I have submitted a bug report a few weeks ago. http://sourceforge.net/tracker/index.php?func=detail&aid=1296124&group_id=80706&atid=560720 How about that ? Cheers, Nils |
|
From: Chris B. <Chr...@no...> - 2005-10-20 07:03:02
|
Tim, Sorry I can't help much, but: > I have attempted to use numarray from cvs but I can't build it - no VC7 You can build Python extensions with MinGW. You have to do a little patching to Python, but it's not too hard, and it does work. Here's one link. Googling will get you others: http://www.mingw.org/MinGWiki/index.php/Python extensions -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Nils W. <nw...@me...> - 2005-10-20 07:01:55
|
Here is a new bug report.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", line 303, in expose_event
self._render_figure(self._pixmap, w, h)
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py", line 70, in _render_figure
FigureCanvasAgg.draw(self)
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 382, in draw
self.figure.draw(renderer)
File "/usr/lib/python2.4/site-packages/matplotlib/figure.py", line 520, in draw
for a in self.axes: a.draw(renderer)
File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 1401, in draw
self.title.draw(renderer)
File "/usr/lib/python2.4/site-packages/matplotlib/text.py", line 336, in draw
bbox, info = self._get_layout(renderer)
File "/usr/lib/python2.4/site-packages/matplotlib/text.py", line 185, in _get_layout
w,h = renderer.get_text_width_height(
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 241, in get_text_width_height
Z = self.texmanager.get_rgba(s, size, dpi, rgb)
File "/usr/lib/python2.4/site-packages/matplotlib/texmanager.py", line 310, in get_rgba
v
NameError: global name 'v' is not defined
Nils
|
|
From: Tim B. <ti...@tb...> - 2005-10-20 05:42:03
|
Hi all,
First thanks to all those who have been helping out - it is really
appreciated.
I have cross posted to the numarray, py2exe and matplotlib lists
I have attempted to use numarray from cvs but I can't build it - no VC7
clang - did a penny drop anywhere?
I am working with python 2.4.1 and numarray 1.3.3 for 2.4 (obviously)
Since I couldnt build numarray - I looked at the new import code in the
cvs init module and ripped it off and stuffed it into my numarray
installation and then when that didnt work - I jammed it right up front
of my application.
It looks like this
def main():
import numarray.numarrayall
from numarray.numinclude import version as __version__
# stolen from next numarray version in cvs TjB
import numarray._conv
import numarray._sort
import numarray._bytes
import numarray._ufunc
import numarray._ufuncBool
import numarray._ufuncInt8
import numarray._ufuncUInt8
import numarray._ufuncInt16
import numarray._ufuncUInt16
import numarray._ufuncInt32
import numarray._ufuncUInt32
import numarray._ufuncFloat32
import numarray._ufuncFloat64
import numarray._ufuncComplex32
import numarray._ufuncComplex64
import numarray._ndarray
import numarray._numarray
import numarray._chararray
import numarray._objectarray
import numarray.memory
import numarray._converter
import numarray._operator
import numarray._numerictype
import numarray.libnumarray
import numarray.libnumeric
import numarray._ufuncInt64
import numarray._ufuncUInt64
print numarray.__version__
application = BoaApp(0)
Still no go - but a changed error message.... grrr
I get
Traceback (most recent call last):
File "AEMdaApp.py", line 81, in ?
File "AEMdaApp.py", line 41, in main
File "numarray\__init__.pyc", line 42, in ?
File "numarray\numarrayall.pyc", line 1, in ?
File "numarray\numerictypes.pyc", line 35, in ?
File "numarray\numinclude.pyc", line 4, in ?
File "numarray\_ndarray.pyc", line 9, in ?
File "numarray\_ndarray.pyc", line 7, in __load
ImportError: init_ndarray: can't find memory.new_memory
ok I confess my bottom lip trembled....
then - probably because I was reading the numarray manual this morning -
I went to my numarray install and decided to run testall.py
I got
F:\Python24\Lib\site-packages\numarray>\python24\python testall.py
Testing numarray 1.3.3 on normal Python (2, 4, 1, 'final', 0) on
platform win32
**********************************************************************
File "F:\python24\lib\site-packages\numarray\numtest.py", line 2843, in
cache p
ss
Failed example:
cPickle.loads(cPickle.dumps(arange(5)+1j))
Exception raised:
Traceback (most recent call last):
File "F:\Python24\lib\doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest cache pass[968]>", line 1, in ?
PicklingError: Can't pickle <built-in function memory_from_string>:
it's no
the same object as memory.memory_from_string
**********************************************************************
File "F:\python24\lib\site-packages\numarray\numtest.py", line 2849, in
cache p
ss
Failed example:
p = p.dump(a)
Exception raised:
Traceback (most recent call last):
File "F:\Python24\lib\doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest cache pass[973]>", line 1, in ?
PicklingError: Can't pickle <built-in function memory_from_string>:
it's no
the same object as memory.memory_from_string
**********************************************************************
File "F:\python24\lib\site-packages\numarray\numtest.py", line 2850, in
cache p
ss
Failed example:
p = p.dump(b)
Exception raised:
and so on for quite some time.
Hmm the message about
memory.memory_from_string
and my applications
ImportError: init_ndarray: can't find memory.new_memory
are these a little related? Am I clutching at straws?
Yet my app runs fine under any ide I wish to use.
WAIT! - my install of numarray is broken....
I deleted it and reinstalled - still broken
I installed on my laptop and tested - broken there too
My legacy python 2.3 and numarray 1.3.3 installation passes all the
tests just fine.
Is there a problem with python2.4.1 and numarray 1.3.3?
Could some kind soul build me a numarray windows installer for python
2.4 from cvs - please - so that I can see if that works better with py2exe.
I need a stiff drink
--
Tim Burgess
IT Consultant
RedHat Certified Engineer
TBITC Pty Ltd
Professional Computer Support for Business
ti...@tb...
Mobile 0422 942 972
Office 85 662 016
http://www.tbitc.com
|
|
From: Ryan K. <rya...@gm...> - 2005-10-20 01:55:13
|
I still haven't gotten any input on the ** (python:8999): WARNING **: IPP request failed with status 1030 message. Anyone know why the WXAgg backend is causing this and how to get rid of it. On 10/19/05, Ken McIvor <mc...@ii...> wrote: > Charlies, Chris, and Arnd: thanks for your prompt responses to Ryan's > question! I'll write up a cookbook entry on the topic tomorrow. > > I've known about the missing wxPython headers for some time and have > been corresponding with the Debian package maintainer about it. > Apparently the headers weren't getting installed in 2.6 due to some > Extreme Cleverness on the part of wxPython's "setup.py" and in 2.4 > there wasn't even an attempt to install them. Last Thursday I filed > patches on sourceforge, so hopefully this'll get fixed sometime soon. > > Ken > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Ken M. <mc...@ii...> - 2005-10-20 01:26:51
|
Charlies, Chris, and Arnd: thanks for your prompt responses to Ryan's question! I'll write up a cookbook entry on the topic tomorrow. I've known about the missing wxPython headers for some time and have been corresponding with the Debian package maintainer about it. Apparently the headers weren't getting installed in 2.6 due to some Extreme Cleverness on the part of wxPython's "setup.py" and in 2.4 there wasn't even an attempt to install them. Last Thursday I filed patches on sourceforge, so hopefully this'll get fixed sometime soon. Ken |
|
From: Ken M. <mc...@ii...> - 2005-10-20 01:04:00
|
While writing this email, I noticed that the 0.83.2 package has been
pulled from the repository on anakonda. Samuel, try uninstalling and
then re-installing python2.3-matplotlib. That will hopefull end up
downgrading you to version 0.82, which I believe works fine under GTK.
On Oct 17, 2005, at 12:32 PM, John Hunter wrote:
> This is a problem with your debian packaging system, and unfortunately
> is outside our ability to help. I would report this to Vittorio, the
> debian package maintainer.
I believe that there is a problem with the Debian package itself,
rather than with Samuel's installation of Debian. I have been able to
reproduce this problem on a machine running Debian sarge. I hadn't
noticed it until now because I don't use the GTK backends:
kmcivor@ivory:~$ dpkg-query -l | fgrep python-matpl
ii python-matplot 0.83.2-2 python based plotting system in a
style simi
ii python-matplot 0.83.2-2 python based plotting system (data
package)
ii python-matplot 0.82-1 python based plotting system
(documentation
kmcivor@ivory:~$ ldd
/usr/lib/python2.3/site-packages/matplotlib/backends/_na_backend_gdk.so
| fgrep pangocairo
libpangocairo-1.0.so.0 => not found
> gtk recently started using cairo as its rendering engine, and it
> appears one of your package is linking to it but it is not provided, so
> it looks like a debian dependency error.
The problem Samuel is having appeared on the debian-science mailing
list about a week ago. At the time I couldn't figure out where the
dependency on libpangocairo was coming from, but your comment about gtk
made the light bulb go on.
According to the "search the contents of packages" function on Debian's
packages page, there are no files containing the phrase "pangocairo" in
any package in Debian sarge, testing, or sid. However, libpango-1.0 in
Ubuntu Breezy Badger (their current testing distribution?) does contain
libpangocairo and friends. My guess is that the package was built on a
machine running Ubuntu testing/unstable.
Ken
|
|
From: Alan I. <ai...@am...> - 2005-10-19 23:48:51
|
On Wed, 19 Oct 2005, Jeff Whitaker wrote: > Oh well. I'm satisified then that there really isn't anything out > there with acceptable license terms. I'm going to post my natgrid-based > griddata module on the wiki and call it done (for now). My view is that it is always worth asking for a different license before giving up. Many people choose licenses thoughtlessly. Some not, of course. Cheers, Alan Isaac PS I tried to find current contact info for the natgrid author and failed. |
|
From: Jeff W. <js...@fa...> - 2005-10-19 19:35:38
|
Robert Kern wrote: >Jeff Whitaker wrote: > > > >>The LICENSE reads: >> >>Bivariate Cubic Spline approximation library + standalone utility >>Version 1.14 >> >>Copyright 2002 CSIRO Marine Research >>GPO 1538 Hobart >>TAS 7001 >>Australia >>Please send comments and bugs to Pav...@cs... >> >>There is no warranty whatsoever. Use at your own risk. >> >>These code may be freely redistributed under the condition that the >>copyright >>notices are not removed. You may distribute modified versions of this code >>UNDER THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE >>SAME FILE REMAIN UNDER COPYRIGHT OF CSIRO, BOTH SOURCE AND OBJECT CODE ARE >>MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR NOTICE IS GIVEN OF THE >>MODIFICATIONS. >> >>If this sounds OK I'll investigate further. >> >> > >No, the CAPITALIZED part is very much not okay. It means we'd have to >sign over the copyright to our modifications to CSIRO, and that the code >can't be embedded in a commercial or proprietary project. > > > Oh well. I'm satisified then that there really isn't anything out there with acceptable license terms. I'm going to post my natgrid-based griddata module on the wiki and call it done (for now). -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/CDC R/CDC1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |
|
From: Robert K. <rk...@uc...> - 2005-10-19 18:15:41
|
Jeff Whitaker wrote: > The LICENSE reads: > > Bivariate Cubic Spline approximation library + standalone utility > Version 1.14 > > Copyright 2002 CSIRO Marine Research > GPO 1538 Hobart > TAS 7001 > Australia > Please send comments and bugs to Pav...@cs... > > There is no warranty whatsoever. Use at your own risk. > > These code may be freely redistributed under the condition that the > copyright > notices are not removed. You may distribute modified versions of this code > UNDER THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE > SAME FILE REMAIN UNDER COPYRIGHT OF CSIRO, BOTH SOURCE AND OBJECT CODE ARE > MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR NOTICE IS GIVEN OF THE > MODIFICATIONS. > > If this sounds OK I'll investigate further. No, the CAPITALIZED part is very much not okay. It means we'd have to sign over the copyright to our modifications to CSIRO, and that the code can't be embedded in a commercial or proprietary project. -- Robert Kern rk...@uc... "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter |
|
From: Todd M. <jm...@st...> - 2005-10-19 14:00:28
|
John Hunter wrote: >>>>>>"Todd" == Todd Miller <jm...@st...> writes: >>>>>> >>>>>> > > Todd> Either an extension in your application forgot to call > Todd> import_libnumarray() or the numarray distributed as part of > Todd> your application is incomplete or broken and the import > Todd> failed. numarray CVS now makes a better report of which is > Todd> true. > >Could that someone be us? > > I don't think so. For matplotlib we use import_array() because that's the init call for numarray's Numeric compatible interface. I think Tim's import_libnumarray() message is originating from numarray as it tries to call it's own API, most likely because the numarray installation is broken so the import failed. Here's a couple other facts: 1. The import_libnumarray() message is confusing because I didn't think numarray import failures would occur in a sane world... so import failures in numarray-1.3.3 look the same as uninitialized extensions. 2. numarray uses it's own API to share code internally, so when numarray's rather complex import fails, the first internal call to it's own API generates the cryptic fatal error. numarray CVS does two new things that are about a week old: 1. It correctly reports numarray's own import failure with a fatal error. This should clarify future problems if there are any. 2. Explicit imports of core extensions were added to numarray.__init__ so that py2exe can figure out what extensions must be included in an installer. This should actually solve the problem. Those fixes address "exactly the same symptoms" (py2exe + cryptic fatal unitialized API error message) seen by another user who tested the fix on two different installer tools. >I tried > > > grep -ri import_libnumarray . > >in my src tree and got zippo. > >We call > > import_array(); > >.... > >Is this a matplotlib bug. If so, I'll be happy to patch it and roll >out a bug-fix release. > > Nope, don't think so. Todd |
|
From: John H. <jdh...@ac...> - 2005-10-19 13:15:13
|
>>>>> "Todd" == Todd Miller <jm...@st...> writes:
Todd> Either an extension in your application forgot to call
Todd> import_libnumarray() or the numarray distributed as part of
Todd> your application is incomplete or broken and the import
Todd> failed. numarray CVS now makes a better report of which is
Todd> true.
Could that someone be us?
I tried
> grep -ri import_libnumarray .
in my src tree and got zippo.
We call
import_array();
....
Is this a matplotlib bug. If so, I'll be happy to patch it and roll
out a bug-fix release.
JDH
|
|
From: Jeff W. <js...@fa...> - 2005-10-19 11:31:42
|
John Hunter wrote: >>>>>> "Robert" == Robert Kern <rk...@uc...> writes: >>>>>> > > Robert> In any case, natgrid isn't Delaunay triangulation, but > Robert> natural neighbors interpolation which is better (and > Robert> probably state of the art for these kinds of graphics). It > Robert> might be easiest to contact Dave Watson and ask if we can > Robert> distribute his code in matplotlib under matplotlib's > Robert> license. I can't find any contact information for him, > Robert> however. > > I'm all for this but am not optimistic. It's my understanding that > the NCAR folks are under a fairly heavy legal burden. Jeff: could you > spearhead this effort and see if there is any interest on their part > in relicensing their griddata code under a more permissive license? > > JDH > > John: I will do this and let you know. I agree with Robert on qhull - it's not the way to go. I did find this however: http://www.marine.csiro.au/~sakov/ Bivariate spline-based techniques offer robust and efficient approximation solutions. Here `csa' (standing for "cubic spline approximation") is a small library for approximating 2D irregular (scattered) data with bivariate C1-continuous cubic splines <http://www.math.uni-mannheim.de/%7Elsmath4/paper/VIS2001.pdf.gz>. For uniformly distributed data this algorithm is clearly superior than Natural Neighbours interpolation: it is faster (O(n)!), more robust (approximation, not interpolation) and better performing (C1!). (But take care when dealing with clustered data.) From version 1.09, `csa' can take advantage of the known variance of the data. The LICENSE reads: Bivariate Cubic Spline approximation library + standalone utility Version 1.14 Copyright 2002 CSIRO Marine Research GPO 1538 Hobart TAS 7001 Australia Please send comments and bugs to Pav...@cs... There is no warranty whatsoever. Use at your own risk. These code may be freely redistributed under the condition that the copyright notices are not removed. You may distribute modified versions of this code UNDER THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE SAME FILE REMAIN UNDER COPYRIGHT OF CSIRO, BOTH SOURCE AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR NOTICE IS GIVEN OF THE MODIFICATIONS. If this sounds OK I'll investigate further. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 325 Broadway Web : http://www.cdc.noaa.gov/~jsw Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124 |
|
From: Todd M. <jm...@st...> - 2005-10-19 11:09:38
|
Tim Burgess wrote: > Hi, > Still tryin' to freeze my wxmpl matplotlib application.... sigh. > > This is wxpython + wxmpl + matplotlib. This has turned into one hell > of a fight - BUT I think I am about to win. You have to keep the faith > :-} > > Name the py2exe issue with freezing matplotlib / wxmpl and I have been > there fought that. I have slayed many dragons... > > I now have a problem that has been asked before on this list. I have > tried the answer that was offered- it didnt help. I think I am in a > postion to ask a simple solid question... > > When I run my application I see this.... > > Fatal Python error: Call to API function without first calling > import_libnumarray() in Src\_convmodule.c Either an extension in your application forgot to call import_libnumarray() or the numarray distributed as part of your application is incomplete or broken and the import failed. numarray CVS now makes a better report of which is true. > I added import numarray all over the place... a previous post > suggested that maybe Wxpython was calling numarray before I was... no > I dont think wxpython and numarray ever need each other. > > To help prove this I changed my application to this: (a boa app - so > this code occurs early in execution but not before wxpython has been > used... > > def __init__(self, parent): > > import numarray > import numarray.numarrayall # desperate attempt to stop error > api call without first calling import_libnumarray > self._init_ctrls(parent) # init wxpython controls > > print numarray.__version__ > > and bang my application no longer runs. If I comment out this print > line, the application runs perfectly except when you click the button > to draw the graph. Then you get the same error message as above. > > BTW in the development environments - application works fine - and > that's because the development environs are loading the modules from > the python installation - is my call... My guess is that in the development environments numarray is already correctly installed. > > In my library file you can see that numarray is definitely included - > it's there. > > So my question is: > Q: How do you force the loading (not the inclusion) of the nummary module? I may not understand you, but when numarray is all there, "import numarray" should work just like for any other Python package. I think your problem is that numarray is not being included correctly in your installer because it's extension dependencies are hard for py2exe to detect correctly. I believe this is fixed now in numarray CVS. > Or how do you get import_libnumarray to run? import_libnumarray() is something an extension writer must explicitly call in their extension init() if they want to use the numarray API. > Can some one tell me more about the mechanism python uses to load the > modules.. What triggers the load call? Where? > > I know I am close. Rest of the application is 95% finished. Customer > loves it. 2 week delay coz I cant freeze the @#$@$%@ thing. Try using numarray CVS to generate your installer. Last week someone had a similar issue with this and I added code to numarray.__init__ to explicitly import all numarray's core extensions. That user reported that the extra "hints" in numarray.__init__ helped py2exe detect the necessary numarray extension set correctly, numarray was thus installed correctly, and the installer worked. Regards, Todd |
|
From: Alexander B. <ale...@gm...> - 2005-10-19 09:35:29
|
On 10/13/05, Nadezhda Dencheva <den...@st...> wrote: > > As a final desperate act, install libpng from source in a new directory > and try linking to it (using MPLIB_BASE). So, if I got it right, I compile and install libpng in a local directory, point an environment variable MPLIB_BASE to the /usr/local equivalent (not to the actual directory containing libpng.so, usually /usr/local/lib) and then run python setup.py build python setup.py install --prefix $HOME/local This is getting really frustrating, did it, same error: ImportError: /homes/morlet/aborghgr/local/lib/python2.3/site-packages/matplotlib/_nc_ima= ge.so: undefined symbol: png_set_sBIT And png_set_sBIT is present in the local install of libpng, that one isn't stripped of symbols. -- Alex Borghgraef |
|
From: Rob M. <rob...@in...> - 2005-10-19 08:46:59
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Suddenly I feel less alone.<br> <br> .<br> I'm engaged in exactly the same process right now, I've tried moving the whole of numarray into the dist a dir out of sheer desperation....but no go- my traceback looks like this.....<br> <br> Traceback (most recent call last):<br> Traceback (most recent call last):<br> File "HacGui.py", line 21, in ?<br> File "activity.pyc", line 17, in ?<br> File "matplotlib\axes.pyc", line 5, in ?<br> File "C:\DOCUME~1\ROBMAR~1\REPO\Hydra2\hydra\admin\client\HAC\build\dist\__init__.pyc", line 95, in ?<br> <br> ImportError: No module named random_array<br> <br> As soon as I remove numarray fropm the dist dir this resolves to <br> <br> <br> Fatal Python error: Call to API function without first calling import_libnumarray() in Src\_convmodule.c<br> <br> I came across a post yesterday <a class="moz-txt-link-freetext" href="http://aspn.activestate.com/ASPN/Mail/Message/numpy-discussion/2852995">http://aspn.activestate.com/ASPN/Mail/Message/numpy-discussion/2852995</a> that suggests that it's possible to <br> 'force' the whole of numarray into an app. I'd like to know how though<br> <br> <b>Russell E. Owen wrote: <span class="mail_quotation">> If I convert my python code to an application (Windows via py2exe or Mac </span><span class="mail_quotation">> via bundlebuilder) it fails with the following error:</span> <span class="mail_quotation">> </span><span class="mail_quotation">> Fatal Python error: Call to API function without first calling </span><span class="mail_quotation">> import_libnumarray() in Src/_convmodule.c</span> <span class="mail_quotation">> </span><span class="mail_quotation">> </span>This currently (1.3.3) happens when a numarray API function is called before the API is successfully initialized. Although the message was intended as an aid to extension writers, in this case numarray is failing to import altogether. At one point numarray had a fatal error for import failures but I removed it at someone's request. I've restored it because I think it's most commonly fatal anyway and removing the message just obfuscated the problem. The non-fatal behavior is now in the _import_libnumarray() macro. <span class="mail_quotation">> I can force *all* of numarray into the application, which avoids the </span><span class="mail_quotation">> </span><span class="mail_quotation">> </span> This is what you need to do. It should be possible to factor out (or not explicitly list) numarray's Packages, but core numarray is not meant to be distributed in pieces. The many type-specific extensions were only added to work around a compiler problem, not to lighten binary distributions. .</b> <br> <br> <br> <br> <br> ('.', glob.glob(r'C:\PROGRA~1\Python24\share\MATPLO~1\matplotlibrc')),<br> ('.', glob.glob(r'C:\PROGRA~1\Python24\Lib\SITE-P~1\numarray\*.py')), <br> <br> .....seems to take care of an earlier error ( can't find matplotlibrc file) <br> <br> You have my complete empathy on this problem. In the event I come up with some sort of magic bullet, I'll mail you ASAP.<br> <br> Have fun <span class="moz-smiley-s1"><span> :-) </span></span><br> <br> Rob M.<br> <br> <br> <br> Tim Burgess wrote: <blockquote cite="mid...@tb..." type="cite">Hi, <br> Still tryin' to freeze my wxmpl matplotlib application.... sigh. <br> <br> This is wxpython + wxmpl + matplotlib. This has turned into one hell of a fight - BUT I think I am about to win. You have to keep the faith :-} <br> <br> Name the py2exe issue with freezing matplotlib / wxmpl and I have been there fought that. I have slayed many dragons... <br> <br> I now have a problem that has been asked before on this list. I have tried the answer that was offered- it didnt help. I think I am in a postion to ask a simple solid question... <br> <br> When I run my application I see this.... <br> <br> Fatal Python error: Call to API function without first calling import_libnumarray() in Src\_convmodule.c <br> <br> This application has requested the Runtime to terminate it in an unusual way. <br> Please contact the application's support team for more information. <br> <br> I added import numarray all over the place... a previous post suggested that maybe Wxpython was calling numarray before I was... no I dont think wxpython and numarray ever need each other. <br> <br> To help prove this I changed my application to this: (a boa app - so this code occurs early in execution but not before wxpython has been used... <br> <br> def __init__(self, parent): <br> <br> import numarray <br> import numarray.numarrayall # desperate attempt to stop error api call without first calling import_libnumarray <br> self._init_ctrls(parent) # init wxpython controls <br> <br> print numarray.__version__ <br> <br> and bang my application no longer runs. If I comment out this print line, the application runs perfectly except when you click the button to draw the graph. Then you get the same error message as above. <br> <br> BTW in the development environments - application works fine - and that's because the development environs are loading the modules from the python installation - is my call... <br> <br> In my library file you can see that numarray is definitely included - it's there. <br> <br> So my question is: <br> Q: How do you force the loading (not the inclusion) of the nummary module? Or how do you get import_libnumarray to run? <br> <br> Can some one tell me more about the mechanism python uses to load the modules.. What triggers the load call? Where? <br> <br> I know I am close. Rest of the application is 95% finished. Customer loves it. 2 week delay coz I cant freeze the @#$@$%@ thing. <br> <br> BTW kudos to py2exe developers and maintainers - as I learn more about the challenges in identifying the modules and the packaging of them etc - I appreciate it. This is not a sucking up effort to get an answer - but if it helps.... :-} <br> <br> thanks <br> <br> PS I have cross posted this to matploblib and py2exe lists - I am desperate! <br> <br> </blockquote> <br> <pre class="moz-signature" cols="72">-- O__ _/`.\ `=( ' </pre> </body> </html> |
|
From: Randewijk P-J, M. <pjr...@su...> - 2005-10-19 08:26:28
|
Dear Kristen,
Make sure that in Gsview, EPS Clip is "ticked"
See under Options -> EPS Clip
The problem is that the EPS picture in not an A4 (or letter) canvas but
on a bigger canvas...
By editing the EPS, you'll find a line that read something like, e.g.:
...
%%BoundingBox: 162 744 1171 1753
...
The left boundingbox margin is set at 1171/72=3D16.26in (413.1mm), much
wider than an A4 (or letter) Media type
You can also set the Media size to, say, A0...
See under Media -> A0 or User Defined...
But for an EPS picture, EPS Clip would suffice...
Regards,
Peter-Jan
PS:
Because of the width of the EPS picture in LaTeX, you would need a line
like, e.g.
...
\centerline{\includegraphics[width=3D16cm]{myepsfile.eps}}
...
To scale the EPS picture for A4 paper (depending on you margins or
number of columns etc.)
-----Original Message-----
From: Kristen Kaasbjerg [mailto:co...@fy...]=20
Sent: 19 October 2005 10:00
To: Randewijk P-J, Mnr <pjr...@su...>
Subject: Re: [Matplotlib-users] savefig(epsfilename) Bug on XP
Hi again
This solved the problem, however, the figure is
placed in the corner of the eps files, implying that
only the bottom left corner of the figure is actually
visible. Any idea why ?
Kristen
----- Original Message -----=20
From: <pjr...@su...>
To: "Kristen Kaasbjerg" <co...@fy...>
Cc: <jdh...@ac...>
Sent: Wednesday, October 19, 2005 9:44 AM
Subject: RE: [Matplotlib-users] savefig(epsfilename) Bug on XP
Dear Kristen,
Try this one.
I'll put a post on the mailinglist as well.
Kind regards,
Peter-Jan
-----Original Message-----
From: Kristen Kaasbjerg [mailto:co...@fy...]=20
Sent: 19 October 2005 09:30
To: Randewijk P-J, Mnr <pjr...@su...>; John Hunter
Cc: mat...@li...
Subject: Re: [Matplotlib-users] savefig(epsfilename) Bug on XP
Hi folks
I can still not succeed saving my figures in ps or eps format with the
new ps backend file you send out. I'm using python 2.4, mpl .84. Have
tried with both Numeric and numarray.
Kristen
----- Original Message -----=20
From: "John Hunter" <jdh...@ac...>
To: <pjr...@su...>
Cc: <mat...@li...>
Sent: Wednesday, October 19, 2005 4:20 AM
Subject: Re: [Matplotlib-users] savefig(epsfilename) Bug on XP
>>>>>> ""Randewijk" =3D=3D "Randewijk P-J, Mnr <pjr...@su...>"=20
>>>>>> <pjr...@su...> writes:
>
> "Randewijk> Dear (newbie like myself) XP or more specific win32
> "Randewijk> users, The problem was not with the 'dvips' command,
> "Randewijk> but with the 'latex' command in version 0.83.2.
>
> "Randewijk> After changing the line 1086 in backend_ps.py 0.83.2
> "Randewijk> to read:
>
> I've made the suggested changes to backend_ps.py. Because I don't
> have access to a win32 box with TeX, could I ask win32 / TeX users to=20
> test the attached backend_ps file to make sure it is OK?
>
>=20
|
|
From: Tim B. <ti...@tb...> - 2005-10-19 08:08:17
|
Hi,
Still tryin' to freeze my wxmpl matplotlib application.... sigh.
This is wxpython + wxmpl + matplotlib. This has turned into one hell of
a fight - BUT I think I am about to win. You have to keep the faith :-}
Name the py2exe issue with freezing matplotlib / wxmpl and I have been
there fought that. I have slayed many dragons...
I now have a problem that has been asked before on this list. I have
tried the answer that was offered- it didnt help. I think I am in a
postion to ask a simple solid question...
When I run my application I see this....
Fatal Python error: Call to API function without first calling
import_libnumarray() in Src\_convmodule.c
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
I added import numarray all over the place... a previous post suggested
that maybe Wxpython was calling numarray before I was... no I dont think
wxpython and numarray ever need each other.
To help prove this I changed my application to this: (a boa app - so
this code occurs early in execution but not before wxpython has been used...
def __init__(self, parent):
import numarray
import numarray.numarrayall # desperate attempt to stop error
api call without first calling import_libnumarray
self._init_ctrls(parent) # init wxpython controls
print numarray.__version__
and bang my application no longer runs. If I comment out this print
line, the application runs perfectly except when you click the button to
draw the graph. Then you get the same error message as above.
BTW in the development environments - application works fine - and
that's because the development environs are loading the modules from the
python installation - is my call...
In my library file you can see that numarray is definitely included -
it's there.
So my question is:
Q: How do you force the loading (not the inclusion) of the nummary
module? Or how do you get import_libnumarray to run?
Can some one tell me more about the mechanism python uses to load the
modules.. What triggers the load call? Where?
I know I am close. Rest of the application is 95% finished. Customer
loves it. 2 week delay coz I cant freeze the @#$@$%@ thing.
BTW kudos to py2exe developers and maintainers - as I learn more about
the challenges in identifying the modules and the packaging of them etc
- I appreciate it. This is not a sucking up effort to get an answer -
but if it helps.... :-}
thanks
PS I have cross posted this to matploblib and py2exe lists - I am desperate!
--
Tim Burgess
IT Consultant
RedHat Certified Engineer
TBITC Pty Ltd
Professional Computer Support for Business
ti...@tb...
Mobile 0422 942 972
Office 85 662 016
http://www.tbitc.com
|