Skip to content

Commit 2f38426

Browse files
authored
fix: initialize a_tex to prevent UnboundLocalError in PolarPlane (#4557)
1 parent bbdcda1 commit 2f38426

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manim/mobject/graphing/coordinate_systems.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3245,6 +3245,7 @@ def get_coordinate_labels(
32453245
}
32463246
for i in a_values
32473247
]
3248+
a_tex = []
32483249
if self.azimuth_units == "PI radians" or self.azimuth_units == "TAU radians":
32493250
a_tex = [
32503251
self.get_radian_label(

0 commit comments

Comments
 (0)