How do I use the `_backend` attribute of a Sympy `plot`
问题 In the following example I use Sympy to make a plot: from sympy import symbols, plot x = symbols('x') p = plot(x*x, x**3, (x, -2, 2), show=False) for n, line in enumerate(p, 2): line.label='$x^{%d}$'%n line.line_color = ['k', 'r'][n-2] p.legend = True As you can see, the legend is placed over the lines and Sympy doesn't offer a direct way to change the position of the legend. After some research I found, directly in the source code of */sympy/plotting/plot.py , this comment: Especially if you