Skip to content

Commit 3f7905e

Browse files
committed
✨ option to use greek letters
1 parent 0fd49ac commit 3f7905e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

vis/nt2.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,22 @@ def EdgeToCenter(arr):
8484
}
8585

8686
CoordinateDict = {
87-
"minkowski": {"x": "x", "y": "y", "z": "z"},
87+
"minkowski": {"x": "x", "y": "y", "z": "z", "1": "x", "2": "y", "3": "z"},
8888
"spherical": {
8989
"r": "r",
9090
"theta": "θ" if useGreek else "th",
9191
"phi": "φ" if useGreek else "ph",
92+
"1": "r",
93+
"2": "θ" if useGreek else "th",
94+
"3": "φ" if useGreek else "ph",
9295
},
9396
"qspherical": {
9497
"r": "r",
9598
"theta": "θ" if useGreek else "th",
9699
"phi": "φ" if useGreek else "ph",
100+
"1": "r",
101+
"2": "θ" if useGreek else "th",
102+
"3": "φ" if useGreek else "ph",
97103
},
98104
}
99105

0 commit comments

Comments
 (0)