New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
legend not properly set in Graphics().matplotlib() #12960
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Hmm.. the matplotlib arguments are also changed it seems. I will revert that. |
Attachment: trac_12960-fix_legend.patch.gz apply to devel/sage |
comment:3
Does this really work? I'm unclear as to how this would work in the case |
comment:4
Whoever wrote the legend code probably didn't want unnecessary initializations. I kept it the same, that is the If |
Work Issues: check show_legend |
Changed work issues from check show_legend to none |
This comment has been minimized.
This comment has been minimized.
comment:6
Ok. This is a much better fix since it takes care of all cases, for example if you pass an incomplete set of options in the |
comment:7
Yes, this makes a lot more sense. Needs doctests! |
Changed keywords from legend matplotlib to legend matplotlib sd40.5 |
Reviewer: Karl-Dieter Crisman |
Author: Punarbasu Purkayastha |
Attachment: trac_12960-fix_legend.2.patch.gz apply to devel/sage |
comment:8
Updated the patch with a test. |
comment:9
Looks great, thanks for the good work! |
Merged: sage-5.1.beta2 |
Bug :) Should be easy to fix.
Apply attachment: trac_12960-fix_legend.2.patch to
devel/sage
Component: graphics
Keywords: legend matplotlib sd40.5
Author: Punarbasu Purkayastha
Reviewer: Karl-Dieter Crisman
Merged: sage-5.1.beta2
Issue created by migration from https://trac.sagemath.org/ticket/12960
The text was updated successfully, but these errors were encountered: