Skip to content

Wrapper for makecpt #214

@mlmarius

Description

@mlmarius

cpt = gmt.makecpt(C='jet', T=[mag.min(), mag.max()])

AttributeError: module 'gmt' has no attribute 'makecpt'

Python 3.6, GMT 6

  • Operating system:
  • Python installation: system (inside docker container):
  • Version of GMT/Python: 6, 3.6
  • How you installed GMT/Python: Docker image

Apparently the examples shown here: https://www.gmtpython.xyz/latest/design.html#the-gmt-python-api are not working. How do i generate a colorbar and a legend for my plot ? Is there a way to work directly with the gmt modules ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions