Hi Anas,

I can reproduce this - so yes, it looks like there is a problem. I'm
posting a GitHub issue for it here:
https://github.com/bpython/bpython/issues/411 but can't commit to
investigating it for a while.

Tom

On Wed, Sep 24, 2014 at 8:07 PM, Anas Ghrab <[email protected]> wrote:

> Hi all,
>
> Is there a problem with the bpython and the show() command from matplotlib
> ?
>
> 1. Using the python interpreter on Mac OS X, when I close the window of
> the figure the prompt >>>  is back. With bpython I get this error :
> Traceback (most recent call last):
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py",
> line 382, in cl
> ose
>     def close(self):
> KeyboardInterrupt
>
> 2. The interactive mode doesn't work : :
>
>   >>> import matplotlib.pyplot as plt
>
> >>> plt.isinteractive()
>
> False
>
> >>> plt.ion()
>
> >>> plt.isinteractive()
> 0
> >>> plt.ioff()
> >>> plt.isinteractive()
> False
>
> -----------
> Python 2.7.8 (v2.7.8:ee879c0ffa11, Jun 29 2014, 21:07:35)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import matplotlib.pyplot as plt
> >>> plt.isinteractive()
> False
> >>> plt.ion()
> >>> plt.isinteractive()
> True
>
> --
> You received this message because you are subscribed to the Google Groups
> "bpython" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/bpython.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"bpython" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bpython.
For more options, visit https://groups.google.com/d/optout.

Reply via email to