allow 'display_family' to work even in the absence of IPython
Compare changes
- Joseph Weston authored
Just fallback to regular printing.
+ 10
− 3
@@ -298,9 +298,11 @@ def hamiltonian_from_family(family, coeffs=None, nsimplify=True, tosympy=True):
@@ -316,6 +318,11 @@ def display_family(family, summed=False, coeffs=None, nsimplify=True):