[Matplotlib-devel] IPython terminal issues with matplotlib 3.0 on macOS

Matthias Bussonnier bussonniermatthias at gmail.com
Wed Oct 10 21:42:42 EDT 2018


The spurious escape sequence is an IPython bug for sure. We don't know
exactly how to fix it.
The loosing focus might also be, we're not sure where this came from, it
appear only when using the Python.app launcher. Maybe some changes in the
gui integration.

-- 
Matthias

On Wed, 10 Oct 2018 at 18:40, Daniele Nicolodi <daniele at grinta.net> wrote:

> Hello,
>
> I just upgraded to matplotlib 3.0 and I'm noticing an annoying issue
> using matplotlib in the IPython terminal.  When I import
> matplotlib.pyplot the terminal looses focus and some spurious escape
> sequences appear in the terminal (last line below):
>
> $ python.app -m IPython
> Python 3.6.6 |Anaconda custom (64-bit)| (default, Jun 28 2018, 11:07:29)
> Type 'copyright', 'credits' or 'license' for more information
> IPython 7.0.1 -- An enhanced Interactive Python. Type '?' for help.
>
> In [1]: import matplotlib.pyplot as plt
>
>
>
> ^[[47;1RIn [2]:
>
> I guess this is due to matplotlib probing the different backends, but I
> don't know where to look for the exact cause of this.
>
> Cheers,
> Dan
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20181010/b1dadcb0/attachment.html>


More information about the Matplotlib-devel mailing list