[Python-modules-team] Bug#612529: Bug#612529: Bug#612529: python-matplotlib: Cairo update breaks matplotlib.image imgshow

Sandro Tosi morph at debian.org
Wed Feb 9 22:01:27 UTC 2011


reassign 612529 ipython
thanks

On Wed, Feb 9, 2011 at 21:52, Yannick Roehlly <yannick.roehlly at free.fr> wrote:
> Le Wednesday 09 February 2011 00:14:52 Sandro Tosi, vous avez écrit :
>> > For instance, launch ipython and execute this commands:
>> >
>> >  import matplotlib.pyplot as plt
>> >  import matplotlib.image as mpimg
>> >  img=mpimg.imread('/usr/share/gdm/themes/debian-greeter/debian.png')
>> >  imgplot=plt.imshow(img)
>>
>> do you have any backtrace and/or segfault stacktrace to attach here?
>
> Hi Sandro,
>
> Trying to get a backtrace, I discovered that it is not a problem of matplotlib
> but a problem of ipython. For instance, running this script works:
>
> #!/usr/bin/python
> import matplotlib.pyplot as plt
> import matplotlib.image as mpimg
> img=mpimg.imread('/usr/share/gdm/themes/debian-greeter/debian.png')
> imgplot=plt.imshow(img)
> plt.show()
>
> So it seems to be the "autoshow" feature of ipython that fails and this bug
> can be reassigned to it.

doing with this email.

> Do you know how to backtrace a ipython instance?

Looking at the manpage, I can see there is a -pdb and -pydb to start a
debugger in case of an uncaught exception, you might try that.

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Python-modules-team mailing list