--- examples/drawing/plot_directed.py.orig 2022-08-22 07:33:18.000000000 -0600 +++ examples/drawing/plot_directed.py 2022-08-31 11:24:11.204178840 -0600 @@ -42,5 +42,6 @@ pc.set_array(edge_colors) ax = plt.gca() ax.set_axis_off() +pc.axes = ax plt.colorbar(pc) plt.show()