Skip to content

Commit 612574c

Browse files
authored
Figure.plot/plot3d/rose: Remove deprecated 'color' parameter, use 'fill' instead (deprecated since v0.8.0) (#3032)
1 parent 5098af0 commit 612574c

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

pygmt/src/plot.py

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from pygmt.helpers import (
77
build_arg_string,
88
data_kind,
9-
deprecate_parameter,
109
fmt_docstring,
1110
is_nonstr_iter,
1211
kwargs_to_strings,
@@ -16,7 +15,6 @@
1615

1716

1817
@fmt_docstring
19-
@deprecate_parameter("color", "fill", "v0.8.0", remove_version="v0.12.0")
2018
@use_alias(
2119
A="straight_line",
2220
B="frame",

pygmt/src/plot3d.py

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from pygmt.helpers import (
77
build_arg_string,
88
data_kind,
9-
deprecate_parameter,
109
fmt_docstring,
1110
is_nonstr_iter,
1211
kwargs_to_strings,
@@ -16,7 +15,6 @@
1615

1716

1817
@fmt_docstring
19-
@deprecate_parameter("color", "fill", "v0.8.0", remove_version="v0.12.0")
2018
@use_alias(
2119
A="straight_line",
2220
B="frame",

pygmt/src/rose.py

-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
from pygmt.clib import Session
66
from pygmt.helpers import (
77
build_arg_string,
8-
deprecate_parameter,
98
fmt_docstring,
109
kwargs_to_strings,
1110
use_alias,
1211
)
1312

1413

1514
@fmt_docstring
16-
@deprecate_parameter("color", "fill", "v0.8.0", remove_version="v0.12.0")
1715
@use_alias(
1816
A="sector",
1917
B="frame",

0 commit comments

Comments
 (0)