-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update shapes_text.md #103
base: main
Are you sure you want to change the base?
Conversation
@@ -606,3 +606,33 @@ def draw(): | |||
Results in: | |||
|
|||
![text_size() example](img/text_size.png) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a title
#### Drawing Lines |
```python | ||
%%ignite | ||
|
||
def setup(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use consistent spacing in the example (i.e. 4 spaces per tab)
|
||
Example(s): | ||
|
||
```python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add line highlight
```python | |
```python hl_lines="6" |
|
||
Results in: | ||
|
||
[NEEDS PICTURE] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update this to point to the right spot. Also rename your PNG from draw-line
to draw_line
for consistency
[NEEDS PICTURE] | |
![draw_line() example](docs/draw_line.png) |
Still needs a picture but don't have right now because I'm on a different pc without the spark library installed.