summaryrefslogtreecommitdiff
path: root/examples/cairo_example.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2019-01-26 13:52:32 -0500
committerGitHub <noreply@github.com>2019-01-26 13:52:32 -0500
commitf59d78b7fe92fffcc0afc56c5bec1dd211cc30c6 (patch)
tree37ea4ae8f0c6936ec7d525c8da19d102f00ae0e9 /examples/cairo_example.py
parent292f74dee92bc8c11e7ad51864ee96c411d14094 (diff)
parent5245fb925684b4ebe056e6509bfeca6b167903b5 (diff)
downloadgerbonara-f59d78b7fe92fffcc0afc56c5bec1dd211cc30c6.tar.gz
gerbonara-f59d78b7fe92fffcc0afc56c5bec1dd211cc30c6.tar.bz2
gerbonara-f59d78b7fe92fffcc0afc56c5bec1dd211cc30c6.zip
Merge pull request #92 from curtacircuitos/subclass-bugfix
Fix hard requirement of cairo per #83, and add stubs for required sub…
Diffstat (limited to 'examples/cairo_example.py')
-rw-r--r--examples/cairo_example.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/cairo_example.py b/examples/cairo_example.py
index fcd7a44..ecfed4d 100644
--- a/examples/cairo_example.py
+++ b/examples/cairo_example.py
@@ -25,7 +25,8 @@ a .png file.
import os
from gerber import load_layer
-from gerber.render import GerberCairoContext, RenderSettings, theme
+from gerber.render import RenderSettings, theme
+from gerber.render.cairo_backend import GerberCairoContext
GERBER_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), 'gerbers'))