Skip to content

colorbar is missing documentation for "-I" and lacks a "shading" alias #749

Closed

Description

@MarkWieczorek

In practice, whenever an image is plotted using shading ("grdimage -I...") it is common to use the "-I" option for the colorbar as well. At present there is no documentation of the colorbar "-I" option, but it turns out that you can get this to work anyways. Two calling options are

fig.colorbar(I='')

or

fig.colorbar(I=True)

For simplicity, I would probably document the second option.

Furthermore, for consistency with grdimage the colobar function should have an alias called shading so that we don't have to use the cryptic gmt short commands.

Activity

  1. added
    documentation
    help wanted
    on Dec 18, 2020
  2. seisman commented on Dec 22, 2020

    @seisman
    Member

    Closed by #752.

  3. added this to the 0.3.0 milestone on Dec 22, 2020
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

    documentationhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions