sympy/sympy — pull request #7400 by amitsaha (2014-04-13 08:19:20+00:00)
Title: plot_implicit and legend

The return value of self.ax.legend() should be checked first and then
the call to set_visible() be made.