<div dir="ltr">The spurious escape sequence is an IPython bug for sure. We don't know exactly how to fix it.<div>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. </div><div><br></div><div>-- </div><div>Matthias</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 10 Oct 2018 at 18:40, Daniele Nicolodi <<a href="mailto:daniele@grinta.net">daniele@grinta.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I just upgraded to matplotlib 3.0 and I'm noticing an annoying issue<br>
using matplotlib in the IPython terminal.  When I import<br>
matplotlib.pyplot the terminal looses focus and some spurious escape<br>
sequences appear in the terminal (last line below):<br>
<br>
$ python.app -m IPython<br>
Python 3.6.6 |Anaconda custom (64-bit)| (default, Jun 28 2018, 11:07:29)<br>
Type 'copyright', 'credits' or 'license' for more information<br>
IPython 7.0.1 -- An enhanced Interactive Python. Type '?' for help.<br>
<br>
In [1]: import matplotlib.pyplot as plt<br>
<br>
<br>
<br>
^[[47;1RIn [2]:<br>
<br>
I guess this is due to matplotlib probing the different backends, but I<br>
don't know where to look for the exact cause of this.<br>
<br>
Cheers,<br>
Dan<br>
_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org" target="_blank">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
</blockquote></div>