Package: python-matplotlib Version: 0.99.3-1 Severity: normal File: /usr/share/pyshared/matplotlib/backends/backend_gtk.py
In a GTK application, where a matplotlib plot is embedded, the "Zooming to rectangle" button causes the graph to "jump" upwards when selecting an area, corrupting the screen. This bug has been mentioned on the matplotlib mailinglist including a patch, which is included in matplotlib-1.0.
See http://www.mail-archive.com/[email protected]/msg17822.htmlI propose following patch, which corrects the problem. No side effects have been encountered.
backend_gtk.patch
Description: Binary data
-- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-matplotlib depends on:ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.5-8 GCC support libraryii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio
ii libpng12-0 1.2.44-1 PNG library - runtimeii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii python 2.6.6-3+squeeze6 interactive high-level object-orie ii python-cairo 1.8.8-1+b1 Python bindings for the Cairo vect ii python-dateutil 1.4.1-3 powerful extensions to the standar ii python-gobject 2.21.4+is.2.21.3-1 Python bindings for the GObject li ii python-matplotlib-dat 0.99.3-1 Python based plotting system (data ii python-numpy 1:1.4.1-5 Numerical Python adds a fast array
ii python-pyparsing 1.5.2-2 Python parsing moduleii python-support 1.0.10 automated rebuilding support for P ii python-tz 2010b-1 Python version of the Olson timezo ii tcl8.5 8.5.8-2 Tcl (the Tool Command Language) v8 ii tk8.5 8.5.8-1 Tk toolkit for Tcl and X11, v8.5 - ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages python-matplotlib recommends:ii python-glade2 2.17.0-4 GTK+ bindings: Glade support ii python-tk 2.6.6-1 Tkinter - Writing Tk applications
Versions of packages python-matplotlib suggests: pn dvipng <none> (no description available)ii ipython 0.10-2 enhanced interactive Python shell ii librsvg2-common 2.26.3-1 SAX-based renderer library for SVG
pn python-configobj <none> (no description available) pn python-excelerator <none> (no description available)ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
pn python-matplotlib-doc <none> (no description available) pn python-qt3 <none> (no description available) pn python-qt4 <none> (no description available) ii python-scipy 0.7.2+dfsg1-1 scientific tools for Python pn python-traits <none> (no description available)ii python-wxgtk2.8 2.8.10.1-3+b1 wxWidgets Cross-platform C ++ GUI t
pn texlive-extra-utils <none> (no description available) pn texlive-latex-extra <none> (no description available) -- no debconf information
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

