From 97ba1a0672e9bce95fe5600f9ce4e4a4312f4f14 Mon Sep 17 00:00:00 2001 From: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:09:57 +0100 Subject: [PATCH] Figure.grdimage: Remove deprecated parameter 'bit_color', use 'bitcolor' instead (deprecated since v0.8.0) (#3036) --- doc/changes.md | 2 +- pygmt/src/grdimage.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index dbd9105a99e..e435bb4abc1 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -139,7 +139,7 @@ ### Deprecations * Remove the unused pygmt.test() function ([#2652](https://github.com/GenericMappingTools/pygmt/pull/2652)) -* Figure.image: Deprecate parameter "bit_color" to "bitcolor" (remove in v0.12.0) ([#2635](https://github.com/GenericMappingTools/pygmt/pull/2635)) +* Figure.grdimage: Deprecate parameter "bit_color" to "bitcolor" (remove in v0.12.0) ([#2635](https://github.com/GenericMappingTools/pygmt/pull/2635)) * Figure.text: Remove the deprecated "incols" parameter (deprecated since v0.8.0) ([#2473](https://github.com/GenericMappingTools/pygmt/pull/2473)) * NEP29: Set minimum required version to Python 3.9+ ([#2487](https://github.com/GenericMappingTools/pygmt/pull/2487)) * NEP29: Set minimum required version to NumPy 1.22+ ([#2586](https://github.com/GenericMappingTools/pygmt/pull/2586)) diff --git a/pygmt/src/grdimage.py b/pygmt/src/grdimage.py index 1c85a3f0541..5c476c13df4 100644 --- a/pygmt/src/grdimage.py +++ b/pygmt/src/grdimage.py @@ -5,7 +5,6 @@ from pygmt.exceptions import GMTInvalidInput from pygmt.helpers import ( build_arg_string, - deprecate_parameter, fmt_docstring, kwargs_to_strings, use_alias, @@ -15,7 +14,6 @@ @fmt_docstring -@deprecate_parameter("bit_color", "bitcolor", "v0.10.0", remove_version="v0.12.0") @use_alias( B="frame", C="cmap",