-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
125 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -287,12 +287,12 @@ images: $(IMAGES) | |
|
||
# Rule to process each image | ||
$(IMAGES): | ||
python $(EXAMPLES_DIR)/$@.py | ||
jupytext --execute --run-path . --set-kernel chalk --to ipynb -o $(EXAMPLES_DIR)/output/$@.ipynb $(EXAMPLES_DIR)/$@.py | ||
jupyter nbconvert --to html $(EXAMPLES_DIR)/output/$@.ipynb | ||
CHALK_CHECK=1 python $(EXAMPLES_DIR)/$@.py | ||
# jupytext --execute --run-path . --set-kernel chalk --to ipynb -o $(EXAMPLES_DIR)/output/[email protected] $(EXAMPLES_DIR)/[email protected] | ||
# jupyter nbconvert --to html $(EXAMPLES_DIR)/output/[email protected] | ||
|
||
# List of images to be generated | ||
VISTESTS := alignment arc broadcast combinators envelope names path rendering shapes styles subdiagram trails transformations text | ||
VISTESTS := alignment arc broadcast combinators envelope names path rendering shapes styles subdiagram trails transformations trace text | ||
|
||
VT_DIR := api | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
from chalk import * | ||
|
||
print(arc(1, 0, 90)) | ||
arc(1, 0, 270) | ||
|
||
|
||
|
||
square(2).fill_color("orange") + arc(1, 0, 90) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.