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
plotting sparse matrices converts the matrix to a dense matrix #6554
Comments
comment:1
Attachment: trac-6554-sparse-matrix-plot.patch.gz This took a very long time before, if it was even possible.
|
comment:2
(To those I'm adding as CC): if you have time, could you review this ticket? This is a simple change that makes plotting sparse matrices possible. Currently, it is very, very slow or is not even really possible to plot large sparse matrices because Sage immediately converts the matrix to a dense matrix. |
comment:3
It would be really great if this was reviewed in time for the Monday deadline for 4.1.1. This is a simple change that makes plotting sparse matrices possible. Currently, it is very, very slow or is not even really possible to plot large sparse matrices because Sage immediately converts the matrix to a dense matrix. |
comment:4
This installs fine (amd64 ubuntu 9.04, sage 4.1.1.alpha0) and I'm running tests now. However, why is it that
returns a ble-and white scatterplot, but
returns a multi-colored plot? The docstring indicates that the colors plotted |
Attachment: trac-6554-matrix-plot-docs.patch.gz apply on top of previous patch |
comment:5
Good point; the docstring should be updated. I've attached a small patch that updates the docstring. Can you review this docstring change? |
comment:6
Yes, looks good and passes sage -testall (intel macbook, OS 10.4.11) except for
They seem unrelated. As far as I am concerned, this gets a positive review. |
comment:7
Merged both patches. |
Reviewer: David Joyner |
Merged: Sage 4.1.1.rc0 |
Plotting big sparse matrices doesn't even work since it automatically converts the matrix to a dense matrix, instead of calling the spy() function.
CC: @rbeezer @mwhansen @williamstein @sagetrac-wcauchois @robertwb
Component: linear algebra
Author: Jason Grout
Reviewer: David Joyner
Merged: Sage 4.1.1.rc0
Issue created by migration from https://trac.sagemath.org/ticket/6554
The text was updated successfully, but these errors were encountered: