Skip to content

Commit

Permalink
Adjust figure sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
thoppe committed May 2, 2019
1 parent 1fe0290 commit 38f1008
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified examples/figures/resist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions unincorporated_demos/playground11.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def draw(self, cvs, t=0.0):
pal = ph.palette(13)
# w,h = 3*600, 3*200
scale = 4
w, h = scale * 600, scale * 400
w, h = scale * 600, scale * 200

C = ph.Canvas(w, h)
C += ph.text(
Expand Down Expand Up @@ -93,6 +93,6 @@ def draw(self, cvs, t=0.0):
X = C.render(len(C) // 2)
X += ph.transform.scale(1.0 / scale, 1.0 / scale)
X += ph.filters.gaussian_blur(0.50, 0)
X.show()

X.save("../examples/figures/resist.png")
C.show()
X.show()

0 comments on commit 38f1008

Please sign in to comment.