Skip to content

Bring all customization points into one or more dataclasses and document them #3

@rec

Description

@rec

"Customization points" are the places that an end user can set values to change the behavior of the colorsphere.

Because of the dependency on matplotlib, this package can only use Python 3.7 and above. This is good news!, because we can use dataclasses, which are a great way to implement and document an API at the same time.

You can see I sketched out a single class here, but it's glued together with the callback handler. In the final state, there would be an almost pure dataclass with all the user settings in it, and the callback handler would simply contain that dataclass and nothing else.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions