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
matrix_plot should also accept numpy arrays #4717
Comments
Attachment: matrix_plot.patch.gz |
Attachment: trac_4717.patch.gz |
comment:1
Everything looks good except that it's the transpose of what is what wanted. I attached a patch which removes the transpose. I'm not sure if that needs an additional review or not. Wilfried, do you want to take a look? Apply only trac_4717.patch. |
comment:2
With the transpose removed, the following doctest fails,
and the rows of matrices are plottet as columns. Greetings, Wilfried |
comment:3
Weird, with the transpose I get that the rows are plotted as columns. For example, with your original patch,
produces http://sage.math.washington.edu/home/mhansen/4717.png . |
Attachment: trac_4717.2.patch.gz final version |
comment:4
You are right, the transpose was wrong. The new patch fixes it. Now matrix_plot behaves the same as Apply only trac_4717.2.patch Greetings, Wilfried. |
comment:6
Merged trac_4717.2.patch in Sage 3.2.2.alpha1 |
Component: graphics
Issue created by migration from https://trac.sagemath.org/ticket/4717
The text was updated successfully, but these errors were encountered: