I noticed that the presence of np.nan in an array of linewidths of a PolyCollection works but causes a major performance penalty (larger collections take forever to render). I know this is somewhat a ...
Expected behavior is that the draw_networkx_nodes function returns a matplotlib PathCollection object. This is the previous behavior of the function and is what the docstring reports: Returns ----- ...