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
{{ message }}
Repository navigation
Figure.text sometimes doesn't work if the text contains single/double quotation marks #3104
I want to write text of A' on a figure with text box filled by a colour of fill='230'. When I use position='CM' to specify the position of the text, the A' -G230 is shown in the figure. I think the attribute fill='230' have not been correctly parsed.
changed the title [-]Error in pygmt.text triggered by specific conditions [/-][+]Figure.text sometimes doesn't work if the text contains single/double quotation marks[/+]on Mar 13, 2024
Activity
seisman commentedon Mar 13, 2024
I can reproduce the issue. It's the single quote
'that causes the trouble. A temporary workaround is usingxumi1993 commentedon Mar 13, 2024
Thanks you very much for the temporary solution. Looking forward to the next version solving this issue.
seisman commentedon Mar 13, 2024
PR #3105 should fix the issue.
Edit: wait. PR #3105 causes more troubles.
[-]Error in pygmt.text triggered by specific conditions [/-][+]Figure.text sometimes doesn't work if the text contains single/double quotation marks[/+]