GeezerVison is showing github.com — Remove the deprecated parameter and alias names in v0.12.0 · Issue #3033 · GenericMappingTools/pygmt
Remove the deprecated parameter and alias names in v0.12.0 #3033DescriptionSeveral parameters and a few aliases are deprecated since v0.8.0, v0.9.0 or v0.10.0 and the deprecation warnings need to be removed before release v0.12.0.
This issue is created to track the progress of removing these deprecation warnings:
- All plotting methods: Remove aliases
xshift (X) and yshift (Y) (FutureWarning raised since PyGMT v0.8.0) Figure: Remove deprecated "xshift" ("X") and "yshift" ("Y") parameters, use "Figure.shift_origin" instead (deprecated since v0.8.0) #3044
- All plotting methods: Remove alias
timestamp (U) (FutureWarning raised since PyGMT v0.9.0) Figure: Remove deprecated "timestamp" ("U") parameter, use "Figure.timestamp" instead (deprecated since v0.9.0) #3045
-
Figure.plot, Figure.plot3d, Figure.rose: Remove parameter color, use fill instead (FutureWarning raised since PyGMT v0.8.0) Figure.plot/plot3d/rose: Remove deprecated 'color' parameter, use 'fill' instead (deprecated since v0.8.0) #3032
-
Figure.velo: Figure.velo: Remove deprecated parameters color/uncertaintycolor, use fill/uncertaintyfill (deprecated since v0.8.0) #3034
- Remove parameter
uncertaintycolor, use uncertaintyfill instead (FutureWarning raised since PyGMT v0.8.0)
- Remove parameter
color, use fill instead
-
Figure.wiggle: Remove parameter color, use fillnegative or fillpositive instead (FutureWarning raised since PyGMT v0.8.0) Figure.wiggle: Remove deprecated parameter 'color', use fillpositive/fillnegative instead (deprecated since v0.8.0) #3035
-
Figure.grdimage: Remove parameter bit_color, use bitcolor instead (Future Warning raised since PyGMT v0.10.0) Figure.grdimage: Remove deprecated parameter 'bit_color', use 'bitcolor' instead (deprecated since v0.8.0) #3036
Activityweiji14 commented on Feb 2, 2024 Thanks @michaelgrund for keeping track! Ok to open the PRs, but let's wait for a week or two (around mid-Feb) before merging, in case there's some serious bug with PyGMT v0.11.0 and we need to release v0.11.1 to patch it. michaelgrund commented on Feb 2, 2024 changed the title [-]Remove the deprecated parameter and alias names in v0.12.0 (deprecated since v0.8.0)[/-] [+]Remove the deprecated parameter and alias names in v0.12.0[/+] on Feb 2, 2024seisman commented on Feb 2, 2024
let's wait for a week or two (around mid-Feb) before merging, in case there's some serious bug with PyGMT v0.11.0 and we need to release v0.11.1 to patch it.
We don't have to wait. We can always create a patch release from the v0.11.0 tag if there are any serious bugs. weiji14 commented on Feb 2, 2024
We don't have to wait. We can always create a patch release from the v0.11.0 tag if there are any serious bugs.
Sure, we can do that, just slightly more work since we need a commit on the main branch, and a backport commit on a patch branch going off from v0.11.0.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|