Why doesn't this fail? You call `_check_legend_labels` with when `legend=False`. Shouldn't this only pass with `_check_legend_labels(ax, None)`?

Perhaps it's passing because you're plotting on the same `ax`, which I guess is the point of the PR. That's intentional right?