We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f21b09 commit 7ba04edCopy full SHA for 7ba04ed
src/tikzplotlib/_axes.py
@@ -24,6 +24,7 @@ def _siunitx_texification(string: str) -> str:
24
string = re.sub(r"\scc", r" \\si{\\cc}", string)
25
string = re.sub(r"\s\\%", r" \\si{\\percent}", string)
26
string = re.sub(r"\sg/um", r" \\si{\\g\\per\\um}", string)
27
+ string = re.sub(r"(\d+(\.\d+)?)\s?deg", r"\\SI{\1}{\\degree}", string)
28
return string
29
30
0 commit comments