Skip to content

Commit a781c3e

Browse files
author
Gorshanov Vadim
committed
Add Angstrom as a supported Si unit
1 parent 6246102 commit a781c3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tikzplotlib/_axes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def _siunitx_texification(string: str) -> str:
1717
string = re.sub(r"\smm", r" \\si{\\mm}", string)
1818
string = re.sub(r"\s°C", r" \\si{\\celsius}", string)
1919
string = re.sub(r"\sA/s", r" \\si{\\angstrom\\per\\second}", string)
20+
string = re.sub(r"\sAngstrom", r" \\si{\\angstrom}", string)
2021
string = re.sub(r"\sg/s", r" \\si{\\gram\\per\\second}", string)
2122
string = re.sub(r"\shour", r" \\si{\\hour}", string)
2223
string = re.sub(r"\scc", r" \\si{\\cc}", string)

0 commit comments

Comments
 (0)