Skip to content

An inset bug #4757

Closed
Closed
@seisman

Description

@seisman

Full script that generated the error

The issue was originally found in GenericMappingTools/pygmt#788

gmt begin map png
  gmt coast -Ba -Gbrown -RMG+r2 -Slightblue -Wthin
  gmt inset begin -DjTL+w3.5c+o0.2c -F+pgreen -M0
    gmt coast -EMG+gred -Ggray -JG47/-20/?c -Rg -Swhite
  gmt inset end
gmt end show

Full error message

coast [WARNING]: 1.37795i not a valid number and may not be decoded properly.
plot [WARNING]: 1.37795i not a valid number and may not be decoded properly.
inset [WARNING]: 1.37795i not a valid number and may not be decoded properly.
Actual outcome Expected outcome
image image

The red Madagascar is not incorrectly placed.

System information

  • Operating system: macOS
  • GMT version (gmt --version): 6.2.0_36c8106_2021.02.05

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions