Skip to content

Commit

Permalink
Fixing the Canvas example usage so that it actually works
Browse files Browse the repository at this point in the history
  • Loading branch information
CRImier committed Mar 11, 2018
1 parent f3d6166 commit 422fde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ui/canvas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Canvas
from ui import Canvas
...
c = Canvas(o)
c.text((0, 0), "Text you want to draw", fill="white")
c.text("Hello world", (10, 20))
c.display()
.. automodule:: ui.canvas
Expand Down

0 comments on commit 422fde3

Please sign in to comment.