Skip to content

Commit 97ba1a0

Browse files
authored
Figure.grdimage: Remove deprecated parameter 'bit_color', use 'bitcolor' instead (deprecated since v0.8.0) (#3036)
1 parent a868fc6 commit 97ba1a0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

doc/changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
### Deprecations
140140

141141
* Remove the unused pygmt.test() function ([#2652](https://github.com/GenericMappingTools/pygmt/pull/2652))
142-
* Figure.image: Deprecate parameter "bit_color" to "bitcolor" (remove in v0.12.0) ([#2635](https://github.com/GenericMappingTools/pygmt/pull/2635))
142+
* Figure.grdimage: Deprecate parameter "bit_color" to "bitcolor" (remove in v0.12.0) ([#2635](https://github.com/GenericMappingTools/pygmt/pull/2635))
143143
* Figure.text: Remove the deprecated "incols" parameter (deprecated since v0.8.0) ([#2473](https://github.com/GenericMappingTools/pygmt/pull/2473))
144144
* NEP29: Set minimum required version to Python 3.9+ ([#2487](https://github.com/GenericMappingTools/pygmt/pull/2487))
145145
* NEP29: Set minimum required version to NumPy 1.22+ ([#2586](https://github.com/GenericMappingTools/pygmt/pull/2586))

pygmt/src/grdimage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from pygmt.exceptions import GMTInvalidInput
66
from pygmt.helpers import (
77
build_arg_string,
8-
deprecate_parameter,
98
fmt_docstring,
109
kwargs_to_strings,
1110
use_alias,
@@ -15,7 +14,6 @@
1514

1615

1716
@fmt_docstring
18-
@deprecate_parameter("bit_color", "bitcolor", "v0.10.0", remove_version="v0.12.0")
1917
@use_alias(
2018
B="frame",
2119
C="cmap",

0 commit comments

Comments
 (0)