Bug#502976: python-matplotlib: pylab.show() does nothing

2008-10-21 Thread Michael Hanke
Package: python-matplotlib
Version: 0.98.3-4
Severity: normal

Hi,

I installed the latest python-matplotlib package from unstable on a
lenny system to workaround a bug that prevents me from using matplotlib
on lenny at all.

I had to learn that the new package version does not allow for
interactive plotting. Please see this:


[EMAIL PROTECTED]:~$ ipython --pylab
Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13) 
Type copyright, credits or license for more information.

IPython 0.8.4 -- An enhanced Interactive Python.
? - Introduction and overview of IPython's features.
%quickref - Quick reference.
help  - Python's own help system.
object?   - Details about 'object'. ?object also works, ?? prints more.

  Welcome to pylab, a matplotlib-based Python environment.
For more information, type 'help(pylab)'.

In [1]: plot(range(5))
Out[1]: [matplotlib.lines.Line2D object at 0x8f574cc]

In [2]: show()

In [3]: isinteractive()
Out[3]: True

In [4]: savefig('test.png')

In [5]: !display test.png

In [6]:


The show() call in [2] has no effect whatsoever, but calling savefig()
does store the plot in a file.


Thanks,

Michael


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-matplotlib depends on:
ii  libatk1.0-01.22.0-1  The ATK accessibility toolkit
ii  libc6  2.7-14GNU C Library: Shared libraries
ii  libcairo2  1.6.4-6   The Cairo 2D vector graphics libra
ii  libfreetype6   2.3.7-2   FreeType 2 font engine, shared lib
ii  libgcc11:4.3.2-1 GCC support library
ii  libglib2.0-0   2.16.6-1  The GLib library of C routines
ii  libgtk2.0-02.12.11-3 The GTK+ graphical user interface 
ii  libpango1.0-0  1.20.5-2  Layout and rendering of internatio
ii  libpng12-0 1.2.27-2  PNG library - runtime
ii  libstdc++6 4.3.2-1   The GNU Standard C++ Library v3
ii  python 2.5.2-2   An interactive high-level object-o
ii  python-cairo   1.4.12-1.1Python bindings for the Cairo vect
ii  python-central 0.6.8 register and build utility for Pyt
ii  python-dateutil1.4-1 powerful extensions to the standar
ii  python-excelerator 0.6.3a-3.1module for reading/writing Excel s
ii  python-glade2  2.12.1-6  GTK+ bindings: Glade support
ii  python-gobject 2.14.2-1  Python bindings for the GObject li
ii  python-gtk22.12.1-6  Python bindings for the GTK+ widge
ii  python-matplotlib-data 0.98.3-4  Python based plotting system (data
ii  python-numpy   1:1.1.0-3 Numerical Python adds a fast array
ii  python-pyparsing   1.5.0-1   Python parsing module
ii  python-tk  2.5.2-1   Tkinter - Writing Tk applications 
ii  python-tz  2008c-2   Python version of the Olson timezo
ii  tcl8.4 8.4.19-2  Tcl (the Tool Command Language) v8
ii  tk8.4  8.4.19-2  Tk toolkit for Tcl and X11, v8.4 -
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages python-matplotlib recommends:
ii  dvipng1.11-1 convert DVI files to PNG graphics

Versions of packages python-matplotlib suggests:
ii  ipython0.8.4-1   enhanced interactive Python shell
pn  python-configobj   none(no description available)
pn  python-enthought-traitsnone(no description available)
pn  python-matplotlib-doc  none(no description available)
ii  python-scipy   0.6.0-12  scientific tools for Python
ii  texlive-extra-utils2007.dfsg.2-3 TeX Live: TeX auxiliary programs
pn  texlive-latex-extranone(no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502976: python-matplotlib: pylab.show() does nothing

2008-10-21 Thread matt . nottingham

Hi,

Can I add a me too and also another data point. show() was working
fine with the previous verion, and then stopped at the weekend.

Looking at my dpkg.log it says:

2008-10-19 12:12:35 upgrade python-matplotlib 0.98.3-3 0.98.3-4

so that implies version 0.98.3-3 works - but I've not tested that
hypothosis, it could be caused by another package that changed that
day.

I'm running on AMD64 (64 bit) in case that's an issue.

Thanks,

Matt Nottingham

I



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]