Skip to content

Add more sections to documentation for the Figure plotting methods #1633

Closed

Description

@maxrjones

Description of the desired feature

There are many methods in the plotting section for the Figure API documentation: https://www.pygmt.org/dev/api/index.html#plotting. I expect it could help people unfamiliar with GMT modules find relevant methods if there were more sections. Here is one idea:

  • Plotting tabular data
    • Figure.contour
    • Figure.histogram
    • Figure.meca
    • Figure.plot
    • Figure.plot3d
    • Figure.rose
    • Figure.velo
    • Figure.wiggle
  • Plotting gridded data
    • Figure.grdcontour
    • Figure.grdimage
    • Figure.grdview
    • Figure.image
  • Plotting map elements
    • Figure.basemap
    • Figure.coast
    • Figure.colorbar
    • Figure.inset
    • Figure.legend
    • Figure.logo
    • Figure.solar
    • Figure.text
  • Configuring layout
    • Figure.set_panel
    • Figure.shift_origin
    • Figure.subplot

Which would look like (in part):

Proposed structure of Figure API docs

What do others think?

Activity

  1. added
    question
    documentation
    on Nov 23, 2021
  2. willschlitzer commented on Dec 4, 2021

    @willschlitzer
    Contributor

    I think this is a good idea

  3. added
    enhancement
    and removed
    question
    on Dec 4, 2021
  4. self-assigned this
    on Dec 9, 2021
  5. added this to the 0.6.0 milestone on Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationenhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions