mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
fix: initialize a_tex to prevent UnboundLocalError in PolarPlane (#4557)
This commit is contained in:
parent
bbdcda1ff5
commit
2f38426ceb
1 changed files with 1 additions and 0 deletions
|
|
@ -3245,6 +3245,7 @@ class PolarPlane(Axes):
|
|||
}
|
||||
for i in a_values
|
||||
]
|
||||
a_tex = []
|
||||
if self.azimuth_units == "PI radians" or self.azimuth_units == "TAU radians":
|
||||
a_tex = [
|
||||
self.get_radian_label(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue