That’s a known issue with pygmt.meca for PyGMT <=v0.7.0. Fortunately, we have fixed the issue in the master branch, so you can install the master branch of PyGMT and see if it works for you.
Hello sir Seisman
I already upgrade my Pygmt version to 0.7 and install master branch of PyGMT based on your instruction. However, when I run my script for alternative plot focal mechanisme in order not overlaping , it’s not going to work.
This below is my script:
###############
import pygmt
import pandas as pd
#Read Data
data = pd.read_csv(‘eq_data_sulut-focmech2.csv’) #Region
minlon, maxlon = 117,131
minlat, maxlat = -4.0,8
region = [minlon,maxlon,minlat,maxlat]