Closed dvezinet closed 9 months ago
show()
Fixes, in devel, issue #139
To overload just add a method:
def _get_show_obj(self, which=None): if which == 'inversions': def func(coll=None, which=None, lcol=None, lar=None, show=None): lcol.append(['inversions', 'b', 'c']) lar.append([['inv0', 'A', 'B'], ['inv1', 'C', 'D']]) return lcol, lar return func else: return super()._get_show_obj(which)
Main changes:
show()
now is cleaner + calls a _get_show_obj() method that can be overloaded for object-specific printingIssues:
Fixes, in devel, issue #139
Examples:
To overload just add a method: