Davide-sd / sympy-plot-backends

An improved plotting module for SymPy
BSD 3-Clause "New" or "Revised" License
42 stars 9 forks source link

Only the legend of plot_implicit is shown #25

Closed imakn634 closed 1 year ago

imakn634 commented 1 year ago
p1=plot_implicit(x**2+y**2-1, "plot_implicit", 
                 (x, -1.2, 1.2), (y, -1.2, 1.5),legend=True,
                 aspect = "equal", show = False)
p2=plot_list([0],[1], "point", legend=True, is_point = True,
             xlim = (-1.2, 1.2), ylim=(-1.2, 1.5),
             aspect = "equal", show = False)
(p1+p2).show()

shows the legend "plot_implicit" only. It woud be nicer if both legends "plot_implicit" and "point" were shown.

p3=plot(sqrt(1-x**2), "plot", (x, -1, 1),legend=True, show=False)
(p3+p2).show()

shows both legends "plot" and "point".

Davide-sd commented 1 year ago

Thanks for pointing this out. I'll have a new release ready for the end of the week.

Davide-sd commented 1 year ago

I just released a new version that fixes the bug. I'm closing this issue.