Skip to content

Remove max_size parameter #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions displayio_cartesian.py
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ class Cartesian(Widget):
.. code-block:: python
my_plane= Plane(20, 30) # instance the plane at x=20, y=30
my_group = displayio.Group(max_size=10) # make a group that can hold 10 items
my_group = displayio.Group() # make a group
my_group.append(my_plane) # Add my_plane to the group
#
@@ -183,7 +183,7 @@ def __init__(
**kwargs,
) -> None:

super().__init__(**kwargs, max_size=3)
super().__init__(**kwargs)

self._background_color = background_color

2 changes: 1 addition & 1 deletion examples/displayio_cartesian_advanced_test.py
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@


# Create different Cartesian widgets
my_group = displayio.Group(max_size=10)
my_group = displayio.Group()

car = Cartesian(
x=25,
2 changes: 1 addition & 1 deletion examples/displayio_cartesian_simpletest.py
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@
font_color=0xFFFFFF, # ticks line color
)

my_group = displayio.Group(max_size=3)
my_group = displayio.Group()
my_group.append(my_plane)
display.show(my_group) # add high level Group to the display