Skip to content

Figure.choropleth: Plot a choropleth map. #4414

@seisman

Description

@seisman

This issue serves as the central place for discussing and tracking the implementation of the choropleth method in PyGMT, which is a thin wrapper for plot. The issue will be closed when the initial implementation is complete. Progress is tracked at PyGMT: Wrapping GMT modules.

Documentation

GMT Option Flags and Modifiers

☑️: Implemented; ⬜: To be implemented/discussed; Strikethrough: Won't implement.

  • data
  • -C: cmap
  • column: specify the column name used for filling
  • Need to document the valid parameters that can passed to Figure.plot

Notes on Input Formats

  • Accepts geo-like objects implementing __geo_interface__ (e.g., GeoDataFrame) or OGR_GMT files.
  • Uses aspatial to map the column to Z for fill.

Linked Pull Requests

Related Issues and Discussions

  • Add links to related wrapper discussions, API design threads, or upstream GMT changes here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Ongoing maintenance

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions