GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Figure.grdcontour: Deprecate parameter "interval" to "levels" (FutureWarning since v0.12.0, will be removed in v0.16.0) by yvonnefroehlich · Pull Request #3209 · GenericMappingTools/pygmt Conversation
|
| interval=250, | ||
| grid=grid, | ||
| ) | ||
| fig.grdcontour(annotation=1000, levels=250, grid=grid) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you please update this example to always put grid as the first parameter?
| fig.grdcontour(annotation=1000, levels=250, grid=grid) | |
| fig.grdcontour(grid=grid, annotation=1000, levels=250) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| fig.grdcontour( | ||
| annotation=1000, | ||
| interval=250, | ||
| levels=250, | ||
| grid=grid, | ||
| limit=[-4000, -2000], | ||
| ) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This code block and many others can be rewritten into a single line after we set the line length limit to 88 characters.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, I should find the time to make both updates. Should these be included in this PR, or better in separate PR and have this PR for the deprecation?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
OK. Let's keep this PR small.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Just submitted PR #3212 for working on this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Consistent (non-common) aliases between modules
There was an error while loading. Please reload this page.