pygmt icon indicating copy to clipboard operation
pygmt copied to clipboard

Deprecated parameters that are planned to be removed in PyGMT 0.20.0

Open seisman opened this issue 3 months ago • 5 comments

Many deprecated parameters are planned to be removed in v0.20.0. Better to work on them in separate PRs so that we can have separated entries in the changelog.

Use grep -r "# TODO(PyGMT.*)" --include="*.py" . or grep -r 'remove_version="v0.20.0"' --include="*.py" . to find related files.

  • [x] ./pygmt/clib/session.py @seisman #4828
  • [x] ./pygmt/io.py #4837
  • [x] ./pygmt/tests/test_io.py #4837
  • [x] ./pygmt/tests/test_clib_virtualfile_in.py @seisman #4828
  • [x] ./pygmt/src/grdview.py #4830
  • [x] ./pygmt/src/wiggle.py #4831
  • [x] ./pygmt/src/histogram.py #4827
  • [x] ./pygmt/src/velo.py #4835
  • [x] ./pygmt/src/inset.py #4826
  • [x] ./pygmt/src/grdfill.py #4836
  • [x] ./pygmt/src/select.py #4825
  • [x] ./pygmt/src/x2sys_cross.py #4834
  • [x] ./pygmt/src/grdlandmask.py #4833
  • [x] ./pygmt/src/surface.py #4832
  • [x] ./pygmt/src/meca.py #4829

Help is wanted. An example RP is at #4825.

seisman avatar Aug 14 '26 03:08 seisman

I’ll take the pygmt/src/histogram.py item in a focused PR, removing the deprecated arwidth compatibility decorator and its now-unused import, following #4825/#4826.

Johnkothapalli avatar Aug 14 '26 04:08 Johnkothapalli

Hi! I’d like to take the pygmt/io.py and pygmt/tests/test_io.py item. I plan to remove the deprecated pygmt.io.load_dataarray function, its tests, and its top-level export, following the pattern established by #4825–#4830. I’ll keep the PR limited to this subtask. Please let me know if someone is already working on it.

yogirajh007 avatar Aug 14 '26 08:08 yogirajh007

Hi! I’d like to take the pygmt/io.py and pygmt/tests/test_io.py item. I plan to remove the deprecated pygmt.io.load_dataarray function, its tests, and its top-level export, following the pattern established by #4825–#4830. I’ll keep the PR limited to this subtask. Please let me know if someone is already working on it.

OK. Assiging the pygmt/io.py PR to @yogirajh007

seisman avatar Aug 14 '26 08:08 seisman

Hi Dongdong,

Thanks for the update. I noticed that #4824 has now been closed as completed. Since the pygmt/io.py task was assigned to me earlier, should I still continue working on it, or has that task already been completed?

Thanks!

On Fri, Aug 14, 2026 at 3:36 PM Dongdong Tian @.***> wrote:

Closed #4824 https://github.com/GenericMappingTools/pygmt/issues/4824 as completed.

— Reply to this email directly, view it on GitHub https://github.com/GenericMappingTools/pygmt/issues/4824?email_source=notifications&email_token=BGG3S6EG62ULFPTI7GQ2A635J3QD5A5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTEOJUGUYTOMBTGU4TBJTSMVQXG33OU5RW63LNMVXHJJLFOZSW45FMMZXW65DFOJPWG3DJMNVQ#event-29451703590, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGG3S6DPC6JWKWVDHCYTXTT5J3QD5AVCNFSNUABEKJSXA33TNF2G64TZHM4DKMZVGIZDKMJ3JFZXG5LFHM2TCNBYGEZDAOJYG2QXMAQ . You are receiving this because you commented.Message ID: @.***>

Johnkothapalli avatar Aug 14 '26 10:08 Johnkothapalli

@Johnkothapalli Thanks for providing help. The task has been completed.

seisman avatar Aug 14 '26 10:08 seisman