):                     # Construct the array one row at a time (note that order                     # matters here, hence the list comprehension!)                     row = [longitude[index], latitude[index], depth[index]] + [                         spec[key][index] for key in foc_params                     ]                      # Add in plotting options, if given, otherwise add 0s as                     # required by GMT                     for arg in plot_longitude, plot_latitude:                         if arg is None:                             row.append(0)                         else:                             if "C" not in kwargs:                                 kwargs["C"] = True                             row.append(arg[index])                     spec_array.append(row)                 spec = spec_array              