title: Python Complex Number Formatting of zero imaginary part
body: <p>Is it possible to format a complex number in such a way that the real part is not displayed if it is zero?</p>
  
  <p>I am currently using <code>'{:.3g}'.format(x)</code> which does a great job of suppressing unnecessary zeros, but I still get numbers of the form <code>0+0.5j</code>, which should be cast into <code>0.5j</code>.</p>
  
  <p>Thanks!</p>