Skip to content

Commit 3a2389b

Browse files
Merge pull request #4 from lesamouraipourpre/max-size
Remove max_size parameter
2 parents 6993d45 + 4400ad3 commit 3a2389b

3 files changed

+4
-4
lines changed

displayio_cartesian.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Cartesian(Widget):
102102
.. code-block:: python
103103
104104
my_plane= Plane(20, 30) # instance the plane at x=20, y=30
105-
my_group = displayio.Group(max_size=10) # make a group that can hold 10 items
105+
my_group = displayio.Group() # make a group
106106
my_group.append(my_plane) # Add my_plane to the group
107107
108108
#
@@ -183,7 +183,7 @@ def __init__(
183183
**kwargs,
184184
) -> None:
185185

186-
super().__init__(**kwargs, max_size=3)
186+
super().__init__(**kwargs)
187187

188188
self._background_color = background_color
189189

examples/displayio_cartesian_advanced_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222

2323
# Create different Cartesian widgets
24-
my_group = displayio.Group(max_size=10)
24+
my_group = displayio.Group()
2525

2626
car = Cartesian(
2727
x=25,

examples/displayio_cartesian_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
font_color=0xFFFFFF, # ticks line color
3636
)
3737

38-
my_group = displayio.Group(max_size=3)
38+
my_group = displayio.Group()
3939
my_group.append(my_plane)
4040
display.show(my_group) # add high level Group to the display
4141

0 commit comments

Comments
 (0)