Skip to content

Commit

Permalink
Update scadnano.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Aug 27, 2023
1 parent ddc8eee commit 34211de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scadnano/scadnano.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,17 @@ class Color(_JSONSerializable):
"""
Red component: 0-255.
Optional if :py:data:`Color.hex` is given."""
Optional if :data:`Color.hex_string` is given."""

g: Optional[int] = None
"""Green component: 0-255.
Optional if :py:data:`Color.hex` is given."""
Optional if :data:`Color.hex_string` is given."""

b: Optional[int] = None
"""Blue component: 0-255.
Optional if :py:data:`Color.hex` is given."""
Optional if :data:`Color.hex_string` is given."""

hex_string: InitVar[str] = None
"""Hex color preceded by # sign, e.g., "#ff0000" is red.
Expand Down

0 comments on commit 34211de

Please sign in to comment.