astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v0.3 »
- Units and Quantities (`astropy.units`) »
- Unicode

# Unicode

class `astropy.units.format.unicode_format.``Unicode`

  Bases: `astropy.units.format.console.Console`

  Output-only format to display pretty formatting at the console using Unicode characters.

  For example:

      >>> import astropy.units as u
      >>> print(u.Ry.decompose().to_string('unicode'))
                   m² kg
      2.1...×10⁻¹⁸ ─────
                    s²