Rich == Rich Shepard [EMAIL PROTECTED] writes:
From 'python setup.py build':
Rich src/_ns_backend_gdk.c:17:25: pygtk/pygtk.h: No such file or
Rich directory
RichHowever, ...
Rich [EMAIL PROTECTED] ~]$ locate pygtk.h
Rich /usr/local/pygtk-2.8.6/gtk/pygtk.h
Rich
On Thu, 11 Jan 2007, John Hunter wrote:
In your build environment, see if these directories show up with
pkg-config --cflags-only-I pygtk-2.0
John,
Nobody's home.
That is what mpl uses to find your pygtk headers. If not, set your
PKG_CONFIG_PATH environment variable accordingly, and
Rich == Rich Shepard [EMAIL PROTECTED] writes:
RichRegardless, I added 'export
Rich PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/' to .bash_profile
Rich and sourced that file. Did the same for root's
Rich .bash_profile. Now it's building.
You may also want to append
On Thu, 11 Jan 2007, John Hunter wrote:
You may also want to append /usr/local/pkgconfig/ to that path...
John,
pkgconfig is only in /usr/local/lib.
Glad it's working for you.
Well, let's not be too hasty.
I replaced ~/.matplotlib/matplotlibrc with the newer copy from today's
Rich == Rich Shepard [EMAIL PROTECTED] writes:
Rich In [3]: show() Segmentation fault
sudo rm -rf your build dir and site-packages/matplotlib and
rebuild/reinstall.
JDH
-
Take Surveys. Earn Cash. Influence the Future
Is this a bug ?
ax1.xlabel(r'Frequency $f$ (Hz)')
AttributeError: Subplot instance has no attribute 'xlabel'
ax1
matplotlib.axes.Subplot instance at 0x2aaab468d3f8
Nils
-
Take Surveys. Earn Cash. Influence the Future
Nils == Nils Wagner [EMAIL PROTECTED] writes:
Nils Is this a bug ? ax1.xlabel(r'Frequency $f$ (Hz)')
Nils AttributeError: Subplot instance has no attribute 'xlabel'
Yes, but it is a bug in your code (wink). See help(ax1). The method
is ax1.set_xlabel.
KDJ
On Thu, 11 Jan 2007, John Hunter wrote:
sudo rm -rf your build dir and site-packages/matplotlib and
rebuild/reinstall.
John,
Rats! That did not change the result.
Is matplotlib-0.87.7 dependent on specific versions of gcc or glibc?
Rich
--
Richard B. Shepard, Ph.D. |
Perhaps you have a second installation that you are not aware of.
On Jan 11, 2007, at 12:18 PM, Rich Shepard wrote:
On Thu, 11 Jan 2007, John Hunter wrote:
sudo rm -rf your build dir and site-packages/matplotlib and
rebuild/reinstall.
John,
Rats! That did not change the result.
Rich == Rich Shepard [EMAIL PROTECTED] writes:
RichIs matplotlib-0.87.7 dependent on specific versions of
Rich gcc or glibc?
Not that I know of... I'm pasting in our SEGFAULTS instructions
below, which are located in the svn repository
# How to diagnose where a segfault is
On Thu, 11 Jan 2007, Simson Garfinkel wrote:
Perhaps you have a second installation that you are not aware of.
Good thought, Simon. I have the new /usr/local/matplotlib-0.87.7,
/usr/share/matplotlib (with images and fonts), and another directory with
docs and examples. That's all. There are
On Thu, 11 Jan 2007, John Hunter wrote:
# How to diagnose where a segfault is occurring
Try importing these packages individually
[EMAIL PROTECTED] ~]$ ipython
In [1]: import matplotlib._image
In [2]: import matplotlib._transforms
In [3]: import matplotlib.backends._ns_backend_agg
In [4]:
On Thu, 11 Jan 2007, John Hunter wrote:
If that shed additional light, again flush the build and install dirs, and
try setting VERBOSE=True in setup.py before doing a clean install. The
VERBOSE setting will generate lots of extra output and may help indicate
where the segfault is occurring
Hello all,
I am a new matplotlib user and am trying to plot simple polygons in 3D. Such
as cubes and tetrahedra.
As a start I began exploring the axes3D example listed on the scipy page.
There are two errors that occur one is a missed tab on line 364 - 365 before
the if statement. Removing
On Thu, 11 Jan 2007, John Hunter wrote:
# How to diagnose where a segfault is occurring
Try importing these packages individually
import matplotlib._image
import matplotlib._transforms
import matplotlib.backends._ns_backend_agg # for numpy
import matplotlib.backends._tkagg
import
Rich == Rich Shepard [EMAIL PROTECTED] writes:
If that shed additional light, again flush the build and
install dirs, and try setting VERBOSE=True in setup.py before
doing a clean install. The VERBOSE setting will generate lots
of extra output and may help indicate where the
On Thu, 11 Jan 2007, John Hunter wrote:
If you recompiled cleanly (ie removed the build subdir) with VERBOSE=True
as instructed, you should be getting tons and tons of output whenever you
run a script (eg can you run simple_plot.py?).
John,
I was looking for verbose output during the
Rich == Rich Shepard [EMAIL PROTECTED] writes:
Richsimple_plot.py and the output (matplot.log) are
Rich attached. It is when the show() command is run that the
Rich problem appears.
I didn't see the attachment.
Rich How do I specify the backend for a run of the script?
On Thu, 11 Jan 2007, John Hunter wrote:
I didn't see the attachment.
John,
Mea culpa! I forgot to stick them on.
python myscript.py --verbose-debug -dAgg runagg.out
python myscript.py --verbose-debug -dPS runps.out
python myscript.py --verbose-debug -dGTK rungtk.out
You may want
On Thu, 11 Jan 2007, John Hunter wrote:
Hmm, what version of wx are you using?
wxPython-2.6.3.2-i486-1asz (on Slackware)
Rich
--
Richard B. Shepard, Ph.D. |The Environmental Permitting
Applied Ecosystem Services, Inc.| Accelerator(TM)
Christopher Barker wrote:
Eric Firing wrote:
Even without the automatic-redraw difference, the OO interface requires
more typing, and more mental record-keeping, than the pylab interface.
Yes, but I don't think that's inherent in an OO interface, it's just
that the quickie
belinda thom wrote:
reports no differences. So, I went back and retried the plotting w/wx as
a backend and discovered that wx FAILS with PYTHONW and PYTHON (appended).
That's what I expected.
If you saw how many notes I've collected on the different installs I've
tried you'd laugh (except
Eric Firing wrote:
I think this may be a slippery slope. The problem is that for it to
work well, there has to be a clear distinction between methods that are
endpoints, requiring a redraw, and methods that will be used by other
methods. For example, errorbar makes multiple calls to
Jeff Whitaker wrote:
Chris: In the pylab interface, figure() returns a figure instance and
plot(x,y) returns a list of Line2d instances.
yes, but it's the axis instance that you are most likely to need!
- Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
Christopher Barker wrote:
Jeff Whitaker wrote:
Chris: In the pylab interface, figure() returns a figure instance
and plot(x,y) returns a list of Line2d instances.
yes, but it's the axis instance that you are most likely to need!
- Chris
Chris: Never noticed this before, but apparently
Christopher Barker wrote:
The MPL build system uses a nifty utility that comes with wx called
wx-config to find the wx libs. However, Apple delivered an old version
of wxPython with it's Python2.3. By default, the MPL build find the old
wx-config, and you end up building the wxAgg back-end
Jeff Whitaker wrote:
Chris: Never noticed this before, but apparently the parent axes
instance is attached to the Line2d instance:
from pylab import *
l = plot([1,2,3])
l[0].axes
matplotlib.axes.Subplot instance at 0x3240e90
cool! That could be handy.
thanks,
-Chris
--
PPS: Belinda, now that you've done all this work, I do hope you can
go the extra mile and figure out how to make a binary package of it
all for others!
I certainly would like to to do this, but its gonna have to wait
until after TheCurrentCrisis alleviates. Hopefully before Feb (in the
FWIW
On Jan 11, 2007, at 5:29 PM, Bob Ippolito wrote:
On 1/11/07, Nicholas Riley [EMAIL PROTECTED] wrote:
On Thu, Jan 11, 2007 at 02:21:19PM -0800, Christopher Barker wrote:
Is it that hard to make a binary to put up (OK, two - one for
PPC, one
for Intel), once you've gotten it all built?
Hi,
With the exception of ipython -pylab, noone is forcing you to import
*. And on the subject, Fernando, perhaps we should support a pylab
mode in ipython which doesn't dump the pylab namespace (or maybe just
dumps the required figure, show, close, nx), but does the interactive
backend
Christopher == Christopher Barker [EMAIL PROTECTED] writes:
Christopher F1 = OOlab.Figure() F2 = OOlab.Figure()
We have this:
fig1 = pylab.figure()
fig2 = pylab.figure()
ax1 = fig.add_subplot(111)
line, = ax1.plot([1,2,3])
line.set_color('green')
ax1.set_title('hi mom')
Yes,
31 matches
Mail list logo