summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/README.md b/README.md
index ef8fe50..1821c0a 100644
--- a/README.md
+++ b/README.md
@@ -15,10 +15,8 @@ Example:
nc_drill = gerber.read('example.txt')
# Rendering context
- ctx = GerberSvgContext
+ ctx = GerberSvgContext()
# Create SVG image
- top_copper.render('top_copper.svg', ctx)
- nc_drill.render('composite.svg', ctx)
-
-
+ top_copper.render(ctx)
+ nc_drill.render(ctx, 'composite.svg')