def draw_planar(G, **kwargs): """Draw a planar networkx graph with planar layout. Parameters ---------- G : graph A planar networkx graph kwargs : optional keywords See networkx.draw_networkx() for a description of optional keywords, with the exception of the pos parameter which is not used by this function. """ draw(G, planar_layout(G), **kwargs)