GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove the deprecated parameter and alias names in v0.12.0 · Issue #3033 · GenericMappingTools/pygmt

Remove the deprecated parameter and alias names in v0.12.0 #3033

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove the deprecated parameter and alias names in v0.12.0#3033
Copy link
Labels
deprecationDeprecating a feature
Milestone
0.12.0

Description

@michaelgrund
michaelgrund
opened on Feb 2, 2024
Issue body actions

Several parameters and a few aliases are deprecated since v0.8.0, v0.9.0 or v0.10.0 and the deprecation warnings need to be removed before release v0.12.0.

This issue is created to track the progress of removing these deprecation warnings:

  • All plotting methods: Remove aliases xshift (X) and yshift (Y) (FutureWarning raised since PyGMT v0.8.0) Figure: Remove deprecated "xshift" ("X") and "yshift" ("Y") parameters, use "Figure.shift_origin" instead (deprecated since v0.8.0) #3044
  • All plotting methods: Remove alias timestamp (U) (FutureWarning raised since PyGMT v0.9.0) Figure: Remove deprecated "timestamp" ("U") parameter, use "Figure.timestamp" instead (deprecated since v0.9.0) #3045
  • Figure.plot, Figure.plot3d, Figure.rose: Remove parameter color, use fill instead (FutureWarning raised since PyGMT v0.8.0) Figure.plot/plot3d/rose: Remove deprecated 'color' parameter, use 'fill' instead (deprecated since v0.8.0) #3032
  • Figure.velo: Figure.velo: Remove deprecated parameters color/uncertaintycolor, use fill/uncertaintyfill (deprecated since v0.8.0) #3034
    • Remove parameter uncertaintycolor, use uncertaintyfill instead (FutureWarning raised since PyGMT v0.8.0)
    • Remove parameter color, use fill instead
  • Figure.wiggle: Remove parameter color, use fillnegative or fillpositive instead (FutureWarning raised since PyGMT v0.8.0) Figure.wiggle: Remove deprecated parameter 'color', use fillpositive/fillnegative instead (deprecated since v0.8.0) #3035
  • Figure.grdimage: Remove parameter bit_color, use bitcolor instead (Future Warning raised since PyGMT v0.10.0) Figure.grdimage: Remove deprecated parameter 'bit_color', use 'bitcolor' instead (deprecated since v0.8.0) #3036

Activity

  1. michaelgrund
    added
    deprecationDeprecating a feature
    on Feb 2, 2024
  2. michaelgrund
    added this to the 0.12.0 milestone on Feb 2, 2024
  3. weiji14 commented on Feb 2, 2024

    @weiji14
    weiji14
    on Feb 2, 2024
    Member
    More actions

    Thanks @michaelgrund for keeping track! Ok to open the PRs, but let's wait for a week or two (around mid-Feb) before merging, in case there's some serious bug with PyGMT v0.11.0 and we need to release v0.11.1 to patch it.

  4. michaelgrund commented on Feb 2, 2024

    @michaelgrund
    michaelgrund
    on Feb 2, 2024
    MemberAuthor
    More actions

    Sure @weiji14 , definitely fine for me.

  5. michaelgrund
    changed the title [-]Remove the deprecated parameter and alias names in v0.12.0 (deprecated since v0.8.0)[/-] [+]Remove the deprecated parameter and alias names in v0.12.0[/+] on Feb 2, 2024
  6. seisman commented on Feb 2, 2024

    @seisman
    seisman
    on Feb 2, 2024
    Member
    More actions

    let's wait for a week or two (around mid-Feb) before merging, in case there's some serious bug with PyGMT v0.11.0 and we need to release v0.11.1 to patch it.

    We don't have to wait. We can always create a patch release from the v0.11.0 tag if there are any serious bugs.

  7. weiji14 commented on Feb 2, 2024

    @weiji14
    weiji14
    on Feb 2, 2024
    Member
    More actions

    We don't have to wait. We can always create a patch release from the v0.11.0 tag if there are any serious bugs.

    Sure, we can do that, just slightly more work since we need a commit on the main branch, and a backport commit on a patch branch going off from v0.11.0.

  8. seisman
    closed this as completedon Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecationDeprecating a feature

    Type

    No type

    Projects

    No projects

      Milestone

      • 0.12.0

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.