Superscription and subscription in legend and colorbar in pygmt

Hello @Y-Tang99,

pleased I could help out!

Cheers,
Yvonne