-
Notifications
You must be signed in to change notification settings - Fork 388
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
A bash script to reproduce the issue:
gmt begin
gmt figure makecpt1 pdf
gmt makecpt -Ccategorical -W
gmt colorbar -C -R10/70/-5/10 -B -DJBC
gmt figure other pdf
gmt coast -R0/10/-20/-10 -JM6i -B -Gblack
gmt figure makecpt2 pdf
gmt makecpt -Ccategorical -W
gmt colorbar -C -R10/70/-5/10 -B -DJBC
gmt end
In this example, three figures are generated. The 1st and the 3rd figure uses the same code, so we expect makecpt1.pdf and makecpt2.pdf are the same, but actually, these two images are slightly different. However, if we remove the code for the 2nd figure, makecpt1.pdf and makecpt2.pdf are the same again.
I think it may mean that the "settings" for each "figure" are not fully isolated and it looks like a GMT bug.
Originally posted by @seisman in GenericMappingTools/pygmt#1289 (comment)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working