Ask Your Question

Revision history [back]

That would be nice to have as an option indeed. As a workaround, you could define something like nrcomps = lambda t, **kwargs: t.display_comp(only_nonredundant=True, **kwargs) so you can do nrcomps(Ric) but also pass extra arguments like nrcomps(Ric, only_nonzero=True).

That would be nice to have as an option indeed. As a workaround, you could define something like

nrcomps = lambda t, **kwargs: t.display_comp(only_nonredundant=True, **kwargs)**kwargs)
 

so you can do nrcomps(Ric) but also pass extra arguments like nrcomps(Ric, only_nonzero=True).