Source code for threeML.io.rich_display

from __future__ import print_function

# This module handle the lazy dependence on IPython


[docs]def fallback_display(x): print(x)
try: from IPython.display import display except ImportError: display = fallback_display