Hi,
I am wondering what is the pyGMT equivalent in fig.colorbar() to the -Q option in psscale (GMT 5) or colorbar (GMT 6).
Thanks!
Sam
Hi,
I am wondering what is the pyGMT equivalent in fig.colorbar() to the -Q option in psscale (GMT 5) or colorbar (GMT 6).
Thanks!
Sam
Welcome to the forum! Currently, there is no PyGMT alias for colorbar -Q. You can open a feature request on the PyGMT GitHub repository and optionally use the following workaround, which is undocumented because single character options will not be supported long-term (https://github.com/GenericMappingTools/pygmt/issues/262):
fig.colorbar(Q=True)