You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In practice, whenever an image is plotted using shading ("grdimage -I...") it is common to use the "-I" option for the colorbar as well. At present there is no documentation of the colorbar "-I" option, but it turns out that you can get this to work anyways. Two calling options are
fig.colorbar(I='')
or
fig.colorbar(I=True)
For simplicity, I would probably document the second option.
Furthermore, for consistency with grdimage the colobar function should have an alias called shading so that we don't have to use the cryptic gmt short commands.
The text was updated successfully, but these errors were encountered:
In practice, whenever an image is plotted using shading ("grdimage -I...") it is common to use the "-I" option for the colorbar as well. At present there is no documentation of the colorbar "-I" option, but it turns out that you can get this to work anyways. Two calling options are
or
For simplicity, I would probably document the second option.
Furthermore, for consistency with
grdimage
the colobar function should have an alias calledshading
so that we don't have to use the cryptic gmt short commands.The text was updated successfully, but these errors were encountered: