Tkinter Hide Legend

currentState = ax.legend().get_visible()
ax.legend().set_visible(not currentState)
draw()
Thoughtless Tapir