You should also define a `_print_contents_pretty` - for these things it is very easy. Here is an example from `sho1d.py`:

https://github.com/sympy/sympy/blob/master/sympy/physics/quantum/sho1d.py#L157