Commit 3a8a60e4 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Some trivial, almost cosmetical fixes

parent 4a61be54
......@@ -26,7 +26,7 @@ except ImportError:
# module
from dl import RTLD_LAZY, RTLD_GLOBAL
all = ["dl_import"]
__all__ = ["dl_import"]
def dl_import(import_expr):
......@@ -425,7 +425,7 @@ def graph_draw(g, pos=None, size=(15, 15), pin=False, layout=None, maxiter=None,
aset(n, "label", "")
# user supplied position
if pos != None:
if pos is not None:
aset(n, "pos", "%f,%f" % (pos[0][v], pos[1][v]))
aset(n, "pin", pin)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment