Closed
Description
Description of the problem
The following example (based on a failing PyGMT gallery example) worked in GMT 6.2 but no longer works in GMT 6.3. The regression was introduced by #5441. I think it is not a user error, because -B is usually interpreted as -Ba (e.g., gmt grdimage @earth_relief_05m -R0/10/0/10 -B -png test
).
Full script that generated the error
gmt begin test2 png
gmt subplot begin 1x2 -Fs15c/8c -A -M0.5c
gmt subplot set 0
gmt grdimage @earth_relief_05m -R0/10/0/10 -B
gmt subplot set 1
gmt grdimage @earth_relief_05m -R0/10/0/10 -B
gmt subplot end
gmt end show
Full error message
grdimage [ERROR]: Option -B parsing failure. Correct syntax:
-B Specify both (1) basemap frame settings and (2) axes parameters.
Frame settings are modified via an optional single invocation of -B[<axes>][+b][+g<fill>][+i[<val>]][+n][+o<lon>/<lat>][+s<subtitle>][+t<title>][+w[<pen>]][+x<fill>][+y<fill>]⏎
…[+z<fill>]
Axes parameters are specified via one or more invocations of -B[p|s][x|y|z]<intervals>[+a<angle>|n|p][+f][+l|L<label>][+p<prefix>][+s|S<secondary_label>][+u<unit>
<intervals> is composed of concatenated [<type>]<stride>[l|p] sub-strings. See basemap documentation for more details and examples of all settings.
grdimage [ERROR]: Offending option -B
System information
- Operating system: macOS
- GMT version (
gmt --version
): 6.4dev