Possible fix for issue #371. An old axs handle was being passed to the add_legend function on line 426.