File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1765,6 +1765,7 @@ def virtualfile_from_stringio(
1765
1765
seg .header = None
1766
1766
seg .text = None
1767
1767
1768
+ # TODO(PyGMT>=0.20.0): Remove the deprecated parameter 'required_z'.
1768
1769
def virtualfile_in ( # noqa: PLR0912
1769
1770
self ,
1770
1771
check_kind = None ,
@@ -1836,12 +1837,11 @@ def virtualfile_in( # noqa: PLR0912
1836
1837
... print(fout.read().strip())
1837
1838
<vector memory>: N = 3 <7/9> <4/6> <1/3>
1838
1839
"""
1839
- # TODO(PyGMT>=0.20.0): Remove the deprecated 'required_z' parameter.
1840
1840
if required_z is True :
1841
1841
warnings .warn (
1842
- "The parameter 'required_z' is deprecated and will be removed in "
1843
- "v0.20.0. Use parameter 'ncols' instead. E.g., ``required_z=True`` is "
1844
- "equivalent to ``ncols=3``." ,
1842
+ "The parameter 'required_z' is deprecated in v0.16.0 and will be "
1843
+ "removed in v0.20.0. Use parameter 'ncols' instead. E.g., "
1844
+ "``required_z=True`` is equivalent to ``ncols=3``." ,
1845
1845
category = FutureWarning ,
1846
1846
stacklevel = 1 ,
1847
1847
)
You can’t perform that action at this time.
0 commit comments