mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Return stroke_width as 1d array
This commit is contained in:
parent
ed2e3e80d9
commit
0e326c7ac5
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class VMobject(Mobject):
|
|||
return self.data['stroke_rgba'][:, 3]
|
||||
|
||||
def get_stroke_widths(self):
|
||||
return self.data['stroke_width']
|
||||
return self.data['stroke_width'][:, 0]
|
||||
|
||||
# TODO, it's weird for these to return the first of various lists
|
||||
# rather than the full information
|
||||
|
|
Loading…
Add table
Reference in a new issue