<div dir="ltr">I can not reproduce this on 2.0.0b1 which means we fixed this bug at some point between 1.3.1 and now.<div><br></div><div>Is it possible to get a newer version of mpl?</div><div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 1, 2016 at 6:13 PM Nishan Singh Mann <<a href="mailto:nishan.singh.mann@gmail.com">nishan.singh.mann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div>               First up, the prerequisites, </div><div><ul><li><span style="line-height:1.5">uname -a: <span style="line-height:1.5">Linux macallan3 3.16.0-71-generic #92~14.04.1-Ubuntu SMP Thu May 12 23:31:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</span></span></li><li><span style="line-height:1.5">matplotlib version: </span>'1.3.1'</li><li>install location: '/usr/lib/python3/dist-packages/matplotlib/__init__.py'</li><li>installed via apt-get.</li><li>no customizations to my rc file have been done</li></ul><span style="line-height:1.5">Consider the following test code</span><br></div><div><span style="line-height:1.5"># ----------------------------- #</span></div><div><div>import numpy as np</div><div>import matplotlib as mpl</div><div>from matplotlib import pyplot as plt</div><div>from mpl_toolkits.mplot3d import Axes3D</div><div><br></div><div>fig = plt.figure()</div><div>ax = fig.gca(projection='3d')</div><div>x = np.linspace(-1, 1)</div><div>y = np.linspace(-1, 1)</div><div>(xx, yy) = np.meshgrid(x, y)</div><div>ax.plot(x, y, x+y)</div><div># ax.set_zticklabels(['-2', '-1.5', '-1.0', '-0.5', '0', '0.5', '1.0', '1.5', '2.0'])</div><div>plt.savefig('test.pdf')</div><div>plt.show()</div></div><div># ----------------------------- #<br></div><div>On my machine, this saves the figure as a pdf but the minus signs in front of the negative zticklabels are missing. If I now manually set the zticklabels by un-commenting the line above, the minus signs appear in the pdf. This only occurs when saving as a .pdf. Saving as .jpg, .png, .eps, .ps file has no problems. Can anyone else reproduce this issue?</div><div><br></div><div>Regards,</div><div>Nishan Mann</div><div><span style="line-height:1.5"><br></span></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Nishan Singh Mann</div></div>
_______________________________________________<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>