pygmt: pygmt.Figure.meca offset not working
I am using pygmt to graph focal mechanisms with magnitude scale. However, when I try to give it an offset so that they don’t pile up the function doesn’t seem to work.
I’m using :
spec = dict (strike=strikes[0], dip=dips[0], rake=rakes[0], magnitude=magnitude [0])
fig.meca (spec, scale=f ".{0.002 * (2 ** magnitude[0])}c", longitude = lons [0], latitude = lats [0], depth = 25.0, convention = "aki", plot_longitude = lons [0], plot_latitude = lats[0] -10, offset=True)
where all the objects are lists with real (float) values
System information
# Name Version Build Channel
pygmt 0.3.1 pyhd8ed1ab_0 conda-forge
Do I make something wrong?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (12 by maintainers)
I can reproduce the issue, and now know why it fails. Unfortunately, there is no workaround now.
I don’t know what happened to GitHub.
My reply to your comment https://github.com/GenericMappingTools/pygmt/issues/1129#issuecomment-962574090 is displayed before your comment at here: https://github.com/GenericMappingTools/pygmt/issues/1129#issuecomment-962576217