<div dir="ltr">This is possible related to <a href="https://github.com/matplotlib/matplotlib/issues/13988">https://github.com/matplotlib/matplotlib/issues/13988</a> .  What backend are you using?<div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 17, 2019 at 5:19 AM FilipPersson <<a href="mailto:filip@ownit.nu">filip@ownit.nu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I spent several hours googling and trying myself to change my code to fix<br>
this. No luck in googling and the fact that there was a kind of doing brain<br>
surgery on Matplotlib by uninstall, re-install and update and change backend<br>
library for a similar but not quite the same problem made me think that I<br>
should post the solution somewhere since it was almost impossible to spot.<br>
<br>
If you get plots like this:<br>
<<a href="http://matplotlib.1069221.n5.nabble.com/file/t5236/Blank_plot.png" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/file/t5236/Blank_plot.png</a>> <br>
Which, as you see gives no error output - not even when clicking on the<br>
graph. Actually, nothing at all happens when clicking on the graph.<br>
Interactivity is lost.<br>
<br>
It could be a LaTeX problem causing it!<br>
The reason for the blank plot was that I had used a LaTeX escape character<br>
for the value 0 when creating nice labels for the x axis. Apparently, using<br>
'$\0$' to write the number zero in LaTeX makes the plots blank and kills the<br>
interactivity. Restarting the kernel did no good.<br>
If I instead write '$0$' as a label, everything works fine again.<br>
<br>
My environment is Mac OSX 10.13.6, Matplotlib 3.0.2, Python 3.7.1, running<br>
in Jupyter (notebook server version 5.7.4, IPython 7.2.0) in Safari Version<br>
12.0 (13606.2.11).<br>
<br>
If you want to see my code, please request it and then I will post it.<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html</a><br>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Thomas Caswell<br><a href="mailto:tcaswell@gmail.com" target="_blank">tcaswell@gmail.com</a></div>