| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Merging these three files does not just mean copy&paste together; redundant stuff needs to be removed and documentation needs to be made consistent.
Sorry, something went wrong.
| @@ -31,3 +31,56 @@ | |||
| ax2.streamplot(X, Y, U, V, density=0.6, color='k', linewidth=lw) | |||
|
|
|||
| plt.show() | |||
There was a problem hiding this comment.
Remove; there's one at the end.
Sorry, something went wrong.
|
|
||
| """ | ||
| ================================ | ||
| Streamplot function with masking |
There was a problem hiding this comment.
You'll need to merge this docstring with the one at the beginning to make something coherent.
Sorry, something went wrong.
| masked regions and NaN values. | ||
| """ | ||
| w = 3 | ||
| Y, X = np.mgrid[-w:w:100j, -w:w:100j] |
There was a problem hiding this comment.
Can X and Y be reused from above?
Sorry, something went wrong.
| ax.imshow(~mask, extent=(-w, w, -w, w), alpha=0.5, | ||
| interpolation='nearest', cmap=plt.cm.gray) | ||
|
|
||
| plt.show() |
There was a problem hiding this comment.
Remove.
Sorry, something went wrong.
|
|
||
| """ | ||
| ======================================== | ||
| Streamplot function with starting points |
There was a problem hiding this comment.
Again, you need to merge this with the first docstring.
Sorry, something went wrong.
| """ | ||
| Y, X = np.mgrid[-3:3:100j, -3:3:100j] | ||
| U = -1 - X**2 + Y | ||
| V = 1 + X - Y**2 |
There was a problem hiding this comment.
Can any of these be reused from before?
Sorry, something went wrong.
|
Wouldn't this be a duplicate effort of #8082? |
Sorry, something went wrong.
|
@afvincent @QuLogic Should I continue with the suggested changes in review? |
Sorry, something went wrong.
|
I suggest combining efforts with @tmcclintock . The comments between the two PRs are very similar. I suggest starting from the branch in #8082 , addressing both sets of comments and opening a new PR with the combined efforts. |
Sorry, something went wrong.
|
@patniharshit I agree with @tacaswell on the idea of merging the two PRs. In the case where some review comments about English are overlapping between @QuLogic's ones and mine, just trust @QuLogic ;). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
refs #7956