Skip to content

Commit

Permalink
api/common/LightGrid: drop on() method
Browse files Browse the repository at this point in the history
This method is inconsistent with the on methods for other light related classes so it is better to delete it.
  • Loading branch information
laurensvalk committed Aug 25, 2020
1 parent b735a0b commit a98cacd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pybricks/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,15 +585,6 @@ def pixel(self, row, column):
"""
pass

def on(self, brightness=100):
"""Turns on all the pixels at the specified brightness.
Arguments:
brightness (:ref:`brightness`):
Brightness of the lights.
"""
pass

def off(self):
"""Turns off all the pixels."""
pass
Expand Down

0 comments on commit a98cacd

Please sign in to comment.