It was my intention that the "official" API is a sequence of objects; accepting a single object was a special case, for convenience, when you're playing with things interactively.
I do not think that
show_graph(obj, single=True)
is nicer than
show_graph([obj])
Perhaps a docstring update mentioning the latter as an example of handling a single object of arbitrary type would suffice?
It was my intention that the "official" API is a sequence of objects; accepting a single object was a special case, for convenience, when you're playing with things interactively.
I do not think that
show_graph(obj, single=True)
is nicer than
show_ graph([ obj])
Perhaps a docstring update mentioning the latter as an example of handling a single object of arbitrary type would suffice?