[Matplotlib-users] 1.4.3 does not build on Ubuntu 14 with python3

2015-03-18 Thread keith.briggs
kbriggs:~/Downloads/matplotlib-1.4.3 python3 setup.py build

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
matplotlib: yes [1.4.3]
python: yes [3.4.0 (default, Apr 11 2014, 13:05:11)  [GCC
4.8.2]]
  platform: yes [linux]

REQUIRED DEPENDENCIES AND EXTENSIONS
 numpy: yes [version 1.8.2]
   six: yes [using six version 1.5.2]
  dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it after matplotlib.]
  pytz: yes [pytz was not found. pip will attempt to install
it after matplotlib.]
   tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
 pyparsing: yes [using pyparsing version 2.0.1]
 pycxx: yes [Official versions of PyCXX are not compatible
with matplotlib on Python 3.x, since they lack
support for the buffer object.  Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
Traceback (most recent call last):
  File setup.py, line 155, in module
result = package.check()
  File /home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py, line 961, in 
check
min_version='2.3', version=version)
  File /home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py, line 445, in 
_check_for_pkg_config
if (not is_min_version(version, min_version)):
  File /home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py, line 173, in 
is_min_version
return found_version = expected_version
  File /usr/lib/python3.4/distutils/version.py, line 76, in __ge__
c = self._cmp(other)
  File /usr/lib/python3.4/distutils/version.py, line 343, in _cmp
if self.version  other.version:
TypeError: unorderable types: str()  int()


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread keith.briggs
How's this for minimal?

from matplotlib import pyplot as plt
plt.matshow([[0.0]])

It crashes with the FigureManagerGTK3Cairo error.
Keith


-Original Message-
From: Thomas Caswell [mailto:tcasw...@gmail.com] 
Sent: 15 September 2014 13:23
To: Briggs,KM,Keith,TUB2 R
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Error in atexit._run_exitfuncs

Can you provide a minimal example that will trigger the bug?

From the description you have given we don't have enough information to 
diagnose the problem.

Ben thinks this is related to some long-standing issues, if you could help us 
track them down it would be greatly appreciated.

Tom

On Mon, Sep 15, 2014 at 7:19 AM, keithbriggs keith.bri...@bt.com wrote:
 I am still getting this error, this time with matplotlib.pyplot.matshow, and
 I do not get any plot.   This bug really needs to be fixed!



 --
 View this message in context: 
 http://matplotlib.1069221.n5.nabble.com/Error-in-atexit-run-exitfuncs-
 tp43566p43947.html Sent from the matplotlib - users mailing list 
 archive at Nabble.com.

 --
 
 Want excitement?
 Manually upgrade your production database.
 When you want reliability, choose Perforce Perforce version control. 
 Predictably reliable.
 http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.
 clktrk ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users



--
Thomas Caswell
tcasw...@gmail.com
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread keith.briggs
python 3.3.2, everything else is whatever Ubuntu 14.04 amd64 uses in its latest 
updates.

kbriggs:~ cat bug.py 
#!/usr/bin/env python3
from matplotlib import pyplot as plt
plt.matshow([[0.0]])

kbriggs:~ ./bug.py 
Error in atexit._run_exitfuncs:
AttributeError: 'FigureManagerGTK3Cairo' object has no attribute 'canvas'




From: Thomas Caswell [tcasw...@gmail.com]
Sent: 15 September 2014 13:38
To: Briggs,KM,Keith,TUB2 R
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Error in atexit._run_exitfuncs

What versions of things are you using (python, mpl, gtk, gtk's python
bindings, and cairo) and how did you install them?

Can you also include the full backtrace?

On Mon, Sep 15, 2014 at 8:28 AM,  keith.bri...@bt.com wrote:
 How's this for minimal?

 from matplotlib import pyplot as plt
 plt.matshow([[0.0]])

 It crashes with the FigureManagerGTK3Cairo error.
 Keith


 -Original Message-
 From: Thomas Caswell [mailto:tcasw...@gmail.com]
 Sent: 15 September 2014 13:23
 To: Briggs,KM,Keith,TUB2 R
 Cc: matplotlib-users@lists.sourceforge.net
 Subject: Re: [Matplotlib-users] Error in atexit._run_exitfuncs

 Can you provide a minimal example that will trigger the bug?

 From the description you have given we don't have enough information to 
 diagnose the problem.

 Ben thinks this is related to some long-standing issues, if you could help us 
 track them down it would be greatly appreciated.

 Tom

 On Mon, Sep 15, 2014 at 7:19 AM, keithbriggs keith.bri...@bt.com wrote:
 I am still getting this error, this time with matplotlib.pyplot.matshow, and
 I do not get any plot.   This bug really needs to be fixed!



 --
 View this message in context:
 http://matplotlib.1069221.n5.nabble.com/Error-in-atexit-run-exitfuncs-
 tp43566p43947.html Sent from the matplotlib - users mailing list
 archive at Nabble.com.

 --
 
 Want excitement?
 Manually upgrade your production database.
 When you want reliability, choose Perforce Perforce version control.
 Predictably reliable.
 http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.
 clktrk ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users



 --
 Thomas Caswell
 tcasw...@gmail.com



--
Thomas Caswell
tcasw...@gmail.com

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Error in atexit._run_exitfuncs

2014-06-25 Thread keith.briggs
I am running matplotlib 1.3.1 under Ubuntu 13 and python3.
Everything works fine, but I get this message every time:

  Error in atexit._run_exitfuncs:  
  AttributeError: 'FigureManagerGTK3Cairo' object has no attribute 'canvas'

What does it mean, and how do I stop it?

Keith


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] cannot understand http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.show

2013-08-07 Thread keith.briggs
The last line of text below seems to say that setting block to either True or 
False causes an override of the blocking behavior.  I don't think this is as 
intended.   Which way round is it (in fact I find it has no effect)?

The problem I have is that using pyplot.show at the top level of a python 
script works correctly, but as soon as I out the same code inside a function, I 
see no plot.

How do I fix this?

Keith

http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.show

matplotlib.pyplot.show(*args, **kw)

In non-interactive mode, display all figures and block until the figures have 
been closed; in interactive mode it has no effect unless figures were created 
prior to a change from non-interactive to interactive mode (not recommended). 
In that case it displays the figures but does not block.

A single experimental keyword argument, block, may be set to True or False to 
override the blocking behavior described above.
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] animation problems

2012-01-09 Thread keith.briggs
I just installed matplotlib 1.1.0.   When I try the animation examples from 
http://matplotlib.sourceforge.net/examples/animation/index.html, they just 
flash up a window for a fraction of a second, and then terminate with no 
message (animate_decay.py, strip_chart_demo.py, etc).Is this what they are 
supposed to do?The documentation at 
http://matplotlib.sourceforge.net/api/animation_api.html is very terse.When 
I include the line

im_ani.save('im.mp4')

in animate_basic_example.py, I get this crash:

kbriggs@gold:~ python animate_basic_example.py 

Traceback (most recent call last):
  File animate_basic_example.py, line 32, in module
im_ani.save('im.mp4')
  File /usr/local/lib/python2.7/site-packages/matplotlib/animation.py, line 
127, in save
self._make_movie(filename, fps, codec, frame_prefix)
  File /usr/local/lib/python2.7/site-packages/matplotlib/animation.py, line 
164, in _make_movie
stdout=PIPE, stderr=PIPE)
  File /usr/local/lib/python2.7/subprocess.py, line 679, in __init__
errread, errwrite)
  File /usr/local/lib/python2.7/subprocess.py, line 1228, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Keith
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] deficiencies at matplotlib.sourceforge.net

2008-06-23 Thread keith.briggs
1. requires python2.4 seems to imply that python 2.5 won't work.

2. produces publication quality figures should be produces 
publication-quality figures.

Keith


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] numerix backed??

2008-05-30 Thread keith.briggs
I got this message:

 /usr/lib64/python2.5/site-packages/matplotlib/numerix/__init__.py:65: 
 DeprecationWarning: numarray use as a numerix backed for matplotlib is 
 deprecated

What does numerix backed mean?

Keith



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] bug in 0.91.2

2008-05-20 Thread keith.briggs
ttconv/truetype.h needs an #include cstdio, otherwise it does not compile 
with gcc 4.3.

Keith

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users