Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
3a8a60e4
Commit
3a8a60e4
authored
Jun 16, 2011
by
Tiago Peixoto
Browse files
Some trivial, almost cosmetical fixes
parent
4a61be54
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/dl_import.py
View file @
3a8a60e4
...
...
@@ -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
):
...
...
src/graph_tool/draw/__init__.py
View file @
3a8a60e4
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment