ironflow.utils module

Stuff that doesn’t fit anywhere yet.

ironflow.utils.display_string(string)[source]

Format a python string to look nice in an IPython.display.display context.

If we just pass a string, display doesn’t resolve newlines. If we pass a print`ed string, `display also shows the None value returned by print So we use this ugly hack.