However, I ran into a problem showing the transparency effect.
The below is what I produced by running this example code.
Does anybody have an idea how to fix this problem?
Thanks a lot for your great advice!
While it seems that I can’t upgrade Ghostscript via conda channel (since the latest version it provides is 9.54 as well). check here
Do you have any idea how to upgrade Ghostscript via other paths?
ghostscript 9.54 here without any problems with transparency
changed the last line of the example script to fig.savefig('test_pygmt_transparency.png', transparent=True) to get the png figure shown below.