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
0380bdf5
Commit
0380bdf5
authored
Sep 09, 2014
by
Tiago Peixoto
Browse files
Change default colors in draw.cairo_draw
parent
124bbe06
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/draw/cairo_draw.py
View file @
0380bdf5
...
...
@@ -94,8 +94,8 @@ from .. draw import sfdp_layout, random_layout, _avg_edge_distance, \
_vdefaults
=
{
"shape"
:
"circle"
,
"color"
:
[
0
,
0
,
0
,
1
]
,
"fill_color"
:
[
0.64
0625
,
0
,
0
,
0.
9
]
,
"color"
:
(
0.6
,
0
.6
,
0
.6
,
0.8
)
,
"fill_color"
:
(
0.64
70588235294118
,
0.058823529411764705
,
0.08235294117647059
,
0.
8
)
,
"size"
:
5
,
"aspect"
:
1.
,
"anchor"
:
1
,
...
...
@@ -118,7 +118,7 @@ _vdefaults = {
}
_edefaults
=
{
"color"
:
[
0.1796875
,
0.203125
,
0.2109375
,
0.8
]
,
"color"
:
(
0.1796875
,
0.203125
,
0.2109375
,
0.8
)
,
"pen_width"
:
1
,
"start_marker"
:
"none"
,
"mid_marker"
:
"none"
,
...
...
@@ -129,7 +129,7 @@ _edefaults = {
"gradient"
:
[],
"dash_style"
:
[],
"text"
:
""
,
"text_color"
:
[
0.
,
0.
,
0.
,
1.
]
,
"text_color"
:
(
0.
,
0.
,
0.
,
1.
)
,
"text_distance"
:
5
,
"text_parallel"
:
True
,
"font_family"
:
"serif"
,
...
...
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