<div dir="ltr">The defaults will be improved in 2.0 (see <a href="http://matplotlib.org/devdocs/users/dflt_style_changes.html#autodateformatter-format-strings">http://matplotlib.org/devdocs/users/dflt_style_changes.html#autodateformatter-format-strings</a> )<div><br></div><div>Can you provide a more complete example of what you are doing that is not working?</div><div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 7, 2016 at 11:31 PM William Ray Wing <<a href="mailto:wrw@mac.com">wrw@mac.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I need to plot some time series data in which the time axis is specified by numpy/pandas 64-bit date-time values.  I’m only interested in hours, minutes, and seconds, and the seconds value is only accurate to hundredths.  I’m formatting the time axis as:<br class="gmail_msg">
<br class="gmail_msg">
x_format = mathplotlib.dates.DateFormatter('%H:%M:%S’)<br class="gmail_msg">
<br class="gmail_msg">
which gives me hours, minutes, and seconds, BUT gives me six digits of bogus precision after the seconds decimal point.  Is there any way to truncate those six digits to three.  I’ve tried several Google searches, but have been unsuccessful in coming up with anything.<br class="gmail_msg">
<br class="gmail_msg">
Thanks,<br class="gmail_msg">
Bill<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Matplotlib-users mailing list<br class="gmail_msg">
<a href="mailto:Matplotlib-users@python.org" class="gmail_msg" target="_blank">Matplotlib-users@python.org</a><br class="gmail_msg">
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" class="gmail_msg" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br class="gmail_msg">
</blockquote></div>