Update parent_layers.py

This commit is contained in:
Alec Helbling
2023-11-04 14:48:10 -04:00
committed by GitHub
parent e1d9db27c6
commit 5e8f7cb69f

View File

@ -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()