>>> import igraph as ig
>>> ig.Graph([(0,1)]).layout_bipartite()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/szhorvat/miniconda3/envs/igdev/lib/python3.11/site-packages/igraph/layout.py", line 691, in result
layout = func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
igraph._igraph.InternalError: Error at src/_igraph/attributes.c:1701: No vertex attribute named "type" exists. -- Invalid value
See #772 for the motivation. Tested manually: