mirror of
https://github.com/helblazer811/ManimML.git
synced 2025-07-03 05:58:29 +08:00
Update parent_layers.py
This commit is contained in:
@ -8,7 +8,7 @@ class NeuralNetworkLayer(ABC, Group):
|
|||||||
super(Group, self).__init__()
|
super(Group, self).__init__()
|
||||||
self.title_text = kwargs["title"] if "title" in kwargs else " "
|
self.title_text = kwargs["title"] if "title" in kwargs else " "
|
||||||
if "title" in kwargs:
|
if "title" in kwargs:
|
||||||
self.title = Text(self.title_text, font_size=DEFAULT_FONT_SIZE / 3).scale(0.6)
|
self.title = Text(self.title_text, font_size=DEFAULT_FONT_SIZE // 3).scale(0.6)
|
||||||
self.title.next_to(self, UP, 1.2)
|
self.title.next_to(self, UP, 1.2)
|
||||||
else:
|
else:
|
||||||
self.title = Group()
|
self.title = Group()
|
||||||
|
Reference in New Issue
Block a user