legume.set_print_backend
- legume.set_print_backend(name)
Set the print backend for legume. This function monkey-patches the backend object by changing its class. This way, all methods of the backend object will be replaced.
- Parameters:
name ({'rich', 'base'}) – Name of the backend. rich must be installed to use ‘rich’.