first
member of the meta variable passed in by the calling function. I'm using gcc
4.1.1.
steve
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/seg-fault-installing-tp44049p44050.html
Sent from the matplotlib - users mailing list archive at Nabbl
stall
mapplotlib. Only matplotlib has this issue. Other packages can uninstall
and reinstall fine.
steve
# pip install matplotlib
Downloading/unpacking matplotlib
Downloading matplotlib-1.4.0.tar.gz (51.2MB): 51.2MB downloaded
Running setup.py (path:/tmp/pip_build_root/matplotlib/set
nstalled via Homebrew. But no matter what I
do, I end up with the same problem.
I'm considering that something is wrong with my Snow Leopard installation and
perhaps (reluctantly) upgrading to Lion, something I haven't really felt
compelled to do. I'm hoping that there is a se
= ax.legend(numpoints=1, title='legend title')
leg = ax.legend(title='legend title')
print(leg.numpoints)
plt.show()
#
Why does legend.numpoints default to 2? It looks
ust be >= 0; it was 0
The exception message doesn't match the condition that raises it. I
think it should say "numpoints must be > 0". I'm using matplotlib
version 0.99.3.
Steve
--
Edit
e 9
subticks between the major ticks because the first subtick is on a
major tick. Am I wrong?
Steve
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
t subtick is on a major tick.
Am I wrong?
I'm using matplotlib version 0.99.3.
Thanks,
Steve
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Int
frame. When calling these example outside the GUI, they
produce the dynamic visualizations and expected.
Can anyone provide me with guidance in generalizing the animated
examples within embedded GUIs.
Thanks
Steve
--
I attempted a complete reinstall of python (hoping it would reinstall
Tcl with correct file paths), but I get the same error. Any
suggestions would be appreciated.
Thanks!
Steve Skripnik, P.E.
Project Engineer
LimnoTech
1705 DeSales St NW
Suite 600
Washington, DC 20036
sskrip.
s not helped (I'm running Windows 7
and Python 2.6). The actual error I get is below. Any thoughts?
Thanks,
Steve
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\matplotlib\backends\backend_qt4.py", line
215, in resizeEvent
self.draw()
File "C:\P
.
- steve
On Jul 14, 2010, at 6:18 PM, Eric Firing wrote:
> On 07/14/2010 12:52 PM, Steve McFarlin wrote:
>> Hello,
>>
>> I am trying to create a color map that maps 18 colors across 50 levels. As
>> an example let say I have three colors [r,g,b] and want everything be
for your help.
Steve
On Jul 14, 2010, at 6:17 PM, Benjamin Root wrote:
> Steve,
>
> Which backend are you using? For TkAgg, this works:
>
> m.contourf(x, y, z, levels=levels, cmap=cmap, antialiased=False)
>
> Ben Root
>
>
>
> On Wed, Jul 14, 2010 at
s'. I will play around with some
of the arguments. It looks to me as if contour is being called with a line
width of 1 and a color of white. Setting these line width to 0 did not make a
difference.
Thanks,
Steve
On Jul 14, 2010, at 5:24 PM, Benjamin Root wrote:
> Steve,
>
> The
Ben -
You can see the image at http://www.surfguru.com/smc/TestRender.png . With a
continuous level array [1 .. 18] the image looks like
http://www.surfguru.com/smc/TestRender2.png
Thanks,
Steve
On Jul 14, 2010, at 4:12 PM, Benjamin Root wrote:
> Steve,
>
> Could you please
I am rendering is from a GRIB file from NOAA.
Is this possible?
Thanks,
Steve
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http:/
On Jul 13, 2010, at 11:36 AM, Jeff Whitaker wrote:
> On 7/13/10 11:41 AM, Steve McFarlin wrote:
>> On Jul 12, 2010, at 6:15 PM, Jeff Whitaker wrote:
>>
>>> On 7/12/10 5:34 PM, Steve McFarlin wrote:
>>>> Hello,
>>>>
>>>> I have an
On Jul 12, 2010, at 6:15 PM, Jeff Whitaker wrote:
> On 7/12/10 5:34 PM, Steve McFarlin wrote:
>> Hello,
>>
>> I have an issue rendering with basemap on a Debian server using Agg. I have
>> confirmed that matplotlib does render using the following example.
>&g
I was wrong in my last email. I was running another script and has a residual
image from when I uploaded. I will test this and and post back.
On Jul 12, 2010, at 6:15 PM, Jeff Whitaker wrote:
> On 7/12/10 5:34 PM, Steve McFarlin wrote:
>> Hello,
>>
>> I have an issue rend
Hello Jeff,
Again this was an issue with my lack of understanding. Installing
python-matplotlib-data solved the issue.
Thanks once again.
- Steve (aka. AbstractMapping)
On Jul 12, 2010, at 6:15 PM, Jeff Whitaker wrote:
> On 7/12/10 5:34 PM, Steve McFarlin wrote:
>> Hello,
>>
xesSubplot' object has no attribute 'spines'
I am using basemap 1.0 and all the latest libraries for everything required by
PIL, matplotlib, pygrib, pyproj etc
On Jul 12, 2010, at 4:34 PM, Steve McFarlin wrote:
> Hello,
>
> I have an issue rendering with basemap on a D
all to
bmpa.drawcoastlines is the first call to basemap I make in my scripts. This
works on a system with a windowing toolkit. Any ideas?
- steve
--
This SF.net email is sponsored by Sprint
What will you do first wi
From: John Hunter
Subject: Re: [Matplotlib-users] MPL with PyQt: different behavior on Windows
vs. Linux
To: "Steve Nicholes"
Cc: matplotlib-users@lists.sourceforge.net
Date: Friday, June 12, 2009, 7:02 AM
On Wed, Jun 10, 2009 at 12:55 AM, Steve
Nicholes wrote:
> Thanks John. I ho
Thanks for the tip Darren. Adding this line seems to have done the trick!
Very much appreciated.
--- On Fri, 6/12/09, Darren Dale wrote:
From: Darren Dale
Subject: Re: [Matplotlib-users] MPL with PyQt: different behavior on Windows
vs. Linux
To: "Steve Nicholes"
Cc: matplo
haves properly). I'm wondering if there is
some issue with qt and Windows at work.
Any thoughts?
Thanks,
Steve
--- On Tue, 6/9/09, John Hunter wrote:
From: John Hunter
Subject: Re: [Matplotlib-users] MPL with PyQt: different behavior on Windows
vs. Linux
To: "Steve Nicholes"
self.label_etad.setText('%.3f' % (a*self.R/self.facet_fraction))
self.label_ith.setText('%.3f' % (-b/a) + ' mA')
else:
self.abort_run = 0
--- On Tue, 6/9/09, John Hunter wrote:
From: John Hunter
Subject:
Windows? I'm really lost on this one
and would appreciate it someone can tell me what I'm doing wrong. If you need
more info on what I'm doing, please let me know.
Thanks in advance,
Steve
self.data = loadtxt('test_data2.csv',comments = '#',delimiter = '
I get FIVE box plots (not 2)! It appears the matlab boxplot
converts vals into an array
12345
10 20 30 40 50
and makes a box plot of each COLUMN, not row.
How can I get boxplot working with different numbers of
observations for each position?
Thanks!
Steve
http://ipython.scipy.org/moin/Py4Science/InstallationOSX
Hopefully that will get you up and running, but if creating a
universal binary is important to you, you can try looking here:
http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes
HTH,
-steve
On Jul 27, 2008, at 7:44 PM, Ari Ehrmann wrote:
e the enthought distribution (if their
licensing is OK with you):
http://enthought.com/products/epddownload.php
It installs its on Python framework in:
"/Library/Frameworks/Python.framework/Versions/2.5.2001"
And numpy,scipy,ipython,matplotlib all just work out of the box.
-steve
= 0
lseek(6, 0, SEEK_CUR)= 0
close(6)= 0
brk(0x101116C00)= 0
brk(0x10111AC00)= 0
brk(0x10111AC00)= 0
brk(0x10111EC00)= 0
Any ideas what my problem could be? I'm happy to provide any additional
info as
equired no additional tweaking.
You can give that a go and see if it works.
If the numpy/scipy versions fall sufficiently out of data w/o a re-
release of the superpack, I reckon you can install those from SVN (and
remove the inst
On Tue, Mar 11, 2008 at 01:23:55PM -0700, eliss wrote:
> On 3/11/08, Steve Schmerler <[EMAIL PROTECTED]> wrote:
> >
> > On Tue, Mar 11, 2008 at 12:45:21PM -0700, eliss wrote:
> > > The API for the plot function states that the line thickness can only be
> >
On Tue, Mar 11, 2008 at 12:45:21PM -0700, eliss wrote:
> The API for the plot function states that the line thickness can only be a
> single floating point number.
>
Really? Try
plot([1,2,3], lw=math.pi)
chee
d with 0.91.2.
[1]
http://packages.ubuntu.com/search?keywords=matplotlib&searchon=names&suite=all§ion=all
[2] http://matplotlib.sourceforge.net/whats_new.html
cheers,
steve
-
This SF.net email is sponsored by: Microso
ssue?
Is there any tricks in gtk to speed up the draw()
Attached is a heavily snipped example of bits and pieces of my code,
maybe I have structured my program incorrectly?
Thanks for any comments
Steve
--
NO to the Microsoft Office format as an ISO standard
http://www.noooxml.org/petition
rex wrote:
> massimo sandal <[EMAIL PROTECTED]> [2007-12-04 09:18]:
>> On a related note, I *hate* that hitting "reply" uses the mail address
>> of the parent poster, instead than that of the mailing list. The scipy
>> and the gentoo mailing list (two other examples I know) behave more
>> prop
than just
that. For instance, I just (relatively) recently was made aware of the
"%debug" trick that will drop you into where your last Error was
raised if your script bombs out so that you can poke around to see
what went wrong. So cool ... but, hey, whatever floats your boat :-)
Johann Cohen-Tanugi wrote:
> hello,
> is there a quick way to get a figure in greyscale?
You can do something like plot([1,2,3], color='0.9'), where the string '0.9'
denotes the gray scale of the plotted line. See also `help plot`, `help colors`.
--
cheers,
steve
R
.PIPE)
revnr = p.stdout.read().strip()
print revnr
--
cheers,
steve
I love deadlines. I like the whooshing sound they make as they fly by. --
Douglas Adams
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping thr
You mean something like two_scales.py in the mpl examples? (in svn or download
from the homepage)
--
cheers,
steve
Random number generation is the art of producing pure gibberish as quickly as
possible.
-
This SF.net ema
Norbert Nemec wrote:
>
>> 2) Is there a way to calculate the magnitude (length) of a vector?
> numpy.linalg.norm(X)
>
This makes more sense than len(). I've got confused by "length" :)
--
cheers,
steve
I love deadlines. I like the whooshing sound they make as
])
len(a)
a.size # only for a rank-1 array
a.shape[0]
For some basics on numpy, you may also check out:
http://scipy.org/Documentation
HTH
--
cheers,
steve
I love deadlines. I like the whooshing sound they make as they fly by. --
Douglas Adams
.0
SSyy = dot(y,y) - n*ym**2.0
SSxy = dot(x,y) - n*xm*ym
r = sqrt(SSxy**2.0 / (SSxx*SSyy))
s = sqrt((SSyy - (SSxy**2.0 / SSxx)) / (n-2.0))
sea = s / sqrt(SSxx)
seb = s * sqrt(1.0/n + (xm**2.0 / SSxx))
The values of sea, seb agree with gnuplot's "Asymptotic Standard Error".
--
che
* /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages
Not sure how it might happen, but it wouldn't hurt to ensure that
there isn't a matplotlib install in both of those places :-)
Thanks again,
-steve
-
ng all of
their dependencies were upgraded as well).
Anybody have any ideas on what to do from here?
Thanks,
-steve
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problem
;$\sum_{n=1}^{100}$ with $\Omega$'), i.e.
mathmode and textmode combined.
Here, indeed, with usetex False, using r'' produces the \sum sign in the .svg
but
"n=1" and "100" are not alinged correctly (they both appear above
m
symbol missing when I open the .svg in Inkscape).
See also
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg03340.html
--
cheers,
steve
Random number generation is the art of producing pure gibberish as
quickly as possible.
-
back in production use.
Steve Sweet wrote:
> Hi Edin,
>
> If I try without a matplotlibrc file at all I get the same error. When
> I first installed I didn't have one other than the one installed by the
> distribution. I thought that might be the problem so I created one (and
rrors.
Steve
Edin Salkovic wrote:
> Hi Steve,
>
> On 6/27/07, Steve Sweet <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I've installed matplotlib-0.90.1 on a Centos 5.0 box (Centos is
>> identical to RedHat Enterprise). One of my users is running a script
>
Hi,
I've installed matplotlib-0.90.1 on a Centos 5.0 box (Centos is
identical to RedHat Enterprise). One of my users is running a script
that previously worked with matplotlib on another system. I'm seeing
the following errors
[Wed Jun 27 12:25:17 2007] [error] [client 10.0.0.92] PythonHandle
DeprecationWarning, stacklevel=1)
>
In your ~/.matplotlib/matplotlibrc file set "numerix: numpy" in order to
use numpy. AFAIK, the support for Numeric and numarray will be dropped
sooner or later.
--
cheers,
steve
Random number generation is the art of prod
WOW - I delayed my bed time when I saw this come in.
It certainly seems to do what I want in your example.
Tomorrow at work I'll try and fit it into my frame work, and see what
happens.
Thanks a lot,
Steve
John Hunter wrote:
> On 6/14/07, Stephen George <[EMAIL PROTECTED]> wro
me happens for e.g. plot(array([1,2,3])+1e5), i.e.
if the values' changes are small compared to their magnitude. Without
that, the tick numbers would read 11.0, 12.0, 13.0 in this
example, which may not look
invent the wheel?
Thanks for any input
Steve
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it
hon 2.5, matplotlib 0.90.
>>
>> Jordan
>>
>>
>
> I get a 600x300 png with that script, using the latest SVN.
>
> -Jeff
>
Me too, on Linux, mpl 0.90dev3131. If it's adding a constant border of 6 on two
sides, can you tell mpl to export e.g. 588x288 (mo
but:
What version of Inkscape & friends are you using? I'm using pstoedit 3.44,
Inkscape
0.44.1. The Latex-formula-feature of Inkscape is also not working and the error
seems
related to pstoedit. Maybe someone had similar experiences ...
Thanks for any hint!
--
cheers,
steve
I love de
reate any set of Python packages + other programs,
with just a few lines of code (example available).
have fun,
and let me hear what you think of it.
""""
Lastly, I can't really vouch for any of these things since I don't
use Windows, hopefully they work easily enough.
-s
in graphviz format for external processing
via dot/graphviz, which is handy ...
Hope that helps,
-steve
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
c
necessary here. Another
lin. reg. function is scipy.stats.linregress All roads lead to Rome.
--
cheers,
steve
Random number generation is the art of producing pure gibberish as
quickly as possible.
-
Take Surveys.
two subplots.
> The problem is that I want to label each figure like in the following
> example:
>
> 'name1_name2.png'
>
> How do I concatenate those names in the savefig() function?
>
How about
name = "%s_%s.png" %(listNames[0], listNames[1])
savegig(na
= N.asarray(data, dtype)
# check byteorder of the system, convert to little endian if needed
if sys.byteorder == 'big':
_data = _data.byteswap()
f.write(_data)
f.close()
hth
--
cheers,
steve
Random number generation is the art of producing pure gibberis
Python, but you will need to test it for me.
Steve
Send instant messages to your online friends http://au.messenger.yahoo.com
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel
ot;
f = open(fname,"a")
nrows,ncols = a.shape
for i in range(nrows) :
save2(f, a[i,:], fmt="%f", delimiter=";")
f.close()
aaa = P.load("data1.csv", delimiter= ";")
print aaa
print "---"
# (B)
# do it without a s
oblem in the next matplotlib release.
Running contour_demo.py works for figure 1,2,3 but figure 4 highlights
another problem.
Steve
Send instant messages to your online friends http://au.messenger.yahoo.com
-
Take Surveys. E
ared among backends.
> Yours, Achim
>
> (Sorry, I could not provide a running program, because I am
> short in
> time. The code is working in a bigger project
> http://www.fkp.physik
_gdk import
pixbuf_get_pixels_array
34 else:
---> 35 from matplotlib.backends._ns_backend_gdk import
pixbuf_get_pixels_array
36
37
ImportError: No module named _ns_backend_gdk
I am new to this and would appreciate
,'o')
Out[39]: []
In [40]: matplotlib.__version__
Out[40]: '0.87.7'
In [41]: matplotlib.__revision__
Out[41]: '$Revision: 2835 $'
--
cheers,
steve
Random number generation is the art of producing pure gibberish as
quickly as possible.
install the *-dev
versions of the packages.
Seems that you need (list may not exhaustive) python-gtk2-dev (pygtk)
and tk8.4-dev, python-tk, ... (TkInter, this is a little tricky to
search for, check the dependencies)
--
cheers,
steve
Random number generation is the art of producing pure gibber
Darren Dale wrote:
> On Monday 11 December 2006 09:59, Nicolas Champavert wrote:
>> Steve Schmerler a écrit :
>>> Nicolas Champavert wrote:
>>>> Hello,
>>>>
>>>> I have some problems when trying to save a figure with usetex=True.
>>>
test.eps')
In [79]: matplotlib.__version__
Out[79]: '0.87.7'
In [80]: matplotlib.__revision__
Out[80]: '$Revision: 2835 $'
Maybe you need to upgrade, but that's just a guess.
--
cheers,
steve
Random number generation is the art of producing pure gibberish as
qu
ashes with your package manager (I experienced such things).
--
cheers,
steve
Random number generation is the art of producing pure gibberish as
quickly as possible.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
I am getting an error from the 'hist' function. It occurs when running
the 'histogram_demo.py' example from http://matplotlib.sourceforge.net/.
I'm using matplotlib version 0.87.4 and Numeric 24.2. Has anyone had
this problem? Thanks.
Steve
# histogram_demo.
chopping off) example?
>
> I had problems building latest version from source last night. Do you
> know where I can find the latest rpm for fc5?
>
No, sry. I'm still building from source myself.
--
cheers,
steve
Random number generation is the art of producing
away. Strange. Again
> this is under 0.87.3.
>
Hmmm I don't really get it :). You replaced
numpy.random.normal(-0.37727, 0.1, size=10) with an array? But this
already returns one ...
Anyway I would suggest upgrading (the latest is 0.87.7).
--
cheers,
steve
Random number generati
(vmin), abs(vmax))
> ZeroDivisionError: float division
>
> Any ideas?
>
Works fine here.
pylab.matplotlib.__version__
'0.87.5'
pylab.matplotlib.__revision__
'$Revision: 2761 $'
Which version are you using?
cheers,
steve
Random number generation is the art o
pplied GUI widget?
Do I need to start thinking of using the plot widget directly, create my
own GUI interface, and writing code to handle the scaling of axis in the
way I like?
Thanks
Steve
-
Using Tomcat but need to do
. Returning
/usr/share/matplotlib/mpl-data/cmtt10.ttf
warnings.warn('Could not match %s, %s, %s. Returning %s' % (name,
style, variant, self.defaultFont))
Out[1]: []
--
cheers,
steve
Random number generation is the art of producing pure gibberish as
quickly a
uts and they
should work fine.
2) You can get rc1 of numpy by playing with the url from the
sourceforge d/l page.
It looks like this will get you an rc1 binary for windows:
http://prdownloads.sourceforge.net/numpy/numpy-1.0rc1.win32-py2.3.exe?
downloa
Woops -- sent from the wrong email address ... here's a reply for the
list:
On Oct 24, 2006, at 12:04 AM, Steve Lianoglou wrote:
>> Once when I found that NumPy released its version 1.0rc3,
>> I happily upgraded NumPy from 1.0rc1 to 1.0rc3 under WindowsXP.
>> A
Cheers
> Christian
>
I think you have to fiddle with the axes (see figlegend_demo.py in the
examples folder). As far as I know, there is no such thing like
gnuplot's "set key out" switch.
cheer,
steve
--
R
Alexander Michael wrote:
On 8/3/06, *Steve Schmerler* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
Hi all
How can I change the default behavior of the tick labeling from say
1 2 3 4 x1e-5
to
1e-5 2e-5 3e-5 4e-5 ?
My thesis supervisor w
Darren Dale wrote:
> On Thursday 03 August 2006 11:59, Alexander Michael wrote:
>> On 8/3/06, Steve Schmerler <[EMAIL PROTECTED]> wrote:
>>> Hi all
>>>
>>> How can I change the default behavior of the tick labeling from say
>>>
>>> 1
Hi all
How can I change the default behavior of the tick labeling from say
1 2 3 4 x1e-5
to
1e-5 2e-5 3e-5 4e-5 ?
My thesis supervisor wants it that way :(
cheers,
steve
--
Random number generation is the art of producing pure gibberish as
quickly as possible
on, right? (at least I don't have it)
cheers,
steve
--
Random number generation is the art of producing pure gibberish as
quickly as possible.
--- _mathtext_data.py.orig 2006-07-14 07:28:59.0 +0200
+++ _mathtext_data.py 2006-03-17 03:17:12.0 +0100
@@ -4,7 +4,7 @@
# this dic
Ryan Krauss wrote:
> Sorry, I didn't scroll down low enough in the message to see the png
> you already attached.
>
> Ryan
>
The latest update (Darren's mail) makes the plots (exponents etc.) look
just cool. Thanks!
cheers,
steve
--
Random number generation is
With usetex mpl creates different fonts on the axes ticks and the
$\times 10^$ labels.
In [1]: matplotlib.__version__
Out[1]: '0.87.3'
(from svn)
--
Random number generation is the art of producing pure gibberish as
quickly as possible.
___
Matplot
re-use
close(f)
cheers,
steve
--
Random number generation is the art of producing pure gibberish as
quickly as possible.
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
87 matches
Mail list logo