Skip to content

Commit db9712f

Browse files
committed
Get docs building (#177)
1 parent 1c0c830 commit db9712f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

anki_vector/annotate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class ImageText: # pylint: disable=too-few-public-methods
105105
- such as AnnotationPosition.TOP_LEFT or AnnotationPosition.BOTTOM_RIGHT
106106
:param align: Text alignment for multi-line strings
107107
:param color: Color to use for the text - see :mod:`PIL.ImageColor`
108-
:param font: Font to use (None for a default font)
108+
:param font: ImageFont to use (None for a default font)
109109
:param line_spacing: The vertical spacing for multi-line strings
110110
:param outline_color: Color to use for the outline - see
111111
:mod:`PIL.ImageColor` - use None for no outline.
@@ -115,7 +115,7 @@ class ImageText: # pylint: disable=too-few-public-methods
115115
"""
116116

117117
def __init__(self, text: str, position: int = AnnotationPosition.BOTTOM_RIGHT, align: str = "left", color: str = "white",
118-
font: PIL.ImageFont = None, line_spacing: int = 3, outline_color: str = None, full_outline: bool = True):
118+
font = None, line_spacing: int = 3, outline_color: str = None, full_outline: bool = True):
119119
self.text = text
120120
self.position = position
121121
self.align = align

anki_vector/vision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async def enable_motion_detection(self, detect_motion: bool = True):
155155
from anki_vector.util import degrees
156156
157157
def on_robot_observed_motion(robot, event_type, event):
158-
print(f"--------- Vector observed motion --------- \n{event}")
158+
print("Robot observed motion")
159159
160160
with anki_vector.Robot(show_viewer=True) as robot:
161161
robot.events.subscribe(on_robot_observed_motion, Events.robot_observed_motion)

0 commit comments

Comments
 (0)