Modifications on the directory and documentation

This commit is contained in:
Adafruit Adabot 2021-04-05 20:44:20 -04:00
parent ccaf3110a2
commit e16ea3dcce
3 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: MIT
"""
`adafruit_displayio_color_picker`
`color_picker`
================================================================================
CircuitPython helper library to select color using a color wheel in resistive

View file

@ -6,7 +6,7 @@
# SPDY-License-Identifier: Unlicense
"""
`adafruit_wheel_maker`
`wheel_maker`
================================================================================
Save a displayio.Bitmap (and associated displayio.Palette) in a BMP file.
@ -123,11 +123,11 @@ color_wheel = [
]
def make_wheel(image_name, img_size, bg_color):
def make_wheel(image_name, img_size, bg_color=0x000000):
"""
:param image_name: TBD
:param img_size: TBD
:param bg_color: TBD
:param image_name: Name of the ouput bitmap image
:param img_size: size of the bitmap image in pixels height=width
:param bg_color: color of the background in 24 bit format. Defaults 0x000000
:return: color
"""
img_size_width = img_size

View file

@ -30,8 +30,7 @@ autodoc_mock_imports = [
"busio",
"adafruit_sdcard",
"storage",
"adafruit_displayio_layout.widgets",
"adafruit_displayio_color_picker",
"adafruit_displayio_layout",
"adafruit_display_text",
"displayio",
]