| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| @@ -10,17 +10,7 @@ def samplemat(dims): | |||
| aa[i, i] = i | |||
There was a problem hiding this comment.
Could be rewritten as np.fill_diagonal(aa, range(min(dims))).
Sorry, something went wrong.
There was a problem hiding this comment.
I think the current version is much more readable, which is important for an example.
Sorry, something went wrong.
There was a problem hiding this comment.
I'm fine either way.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| # Display a random matrix with a specified figure number and a grayscale | ||
| # colormap | ||
| plt.matshow(np.random.rand(64, 64), fignum=100, cmap=plt.cm.gray) | ||
| # Display matrix |
There was a problem hiding this comment.
two spaces, and trailing whitespace.
Sorry, something went wrong.
There was a problem hiding this comment.
Should I remove spaces ?
Sorry, something went wrong.
There was a problem hiding this comment.
one before "matrix" and whatever is after.
Sorry, something went wrong.
|
@anntzer I find your review confusing, you asked for changes with the comment 'LGTM' ;) |
Sorry, something went wrong.
|
I noticed the spaces issue afterwards and forgot to edit the main message :-) |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks!
Sorry, something went wrong.
Remove example of matrix of size (12, 12) and (64, 64)
| Back | FazBrowse Home | New Git URL |
refs #7956 Only keep middle plots
Remove first and third example and keep second one.