Skip to content

Commit 125b469

Browse files
committed
fix: remove unnecessary import and simplify color assignment in README.md example
1 parent a0f16e8 commit 125b469

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ pip install tppt
1414

1515
```python
1616
import tppt
17-
from tppt.types import Color
1817

1918
# Create a presentation using the builder pattern
2019
presentation = (
@@ -39,7 +38,7 @@ presentation = (
3938
size=(60, "pt"),
4039
bold=True,
4140
italic=True,
42-
color=Color("#0000FF"),
41+
color="#0000FF",
4342
)
4443
.text(
4544
"Example of using tppt library",

0 commit comments

Comments
 (0)