Skip to content

Commit a995e53

Browse files
committed
*
1 parent db44b49 commit a995e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wikigraphviz.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def edge(n, h):
128128
penwidth=round(size / 2, 2),
129129
arrowsize=round(size / 4, 2),
130130
color=str(round(h, 2)) + ' 1 0.7',
131-
labelfontsize=int(size),
131+
labelfontsize=int(3 * size),
132132
labelfontcolor=str(round(h, 2)) + ' 1 0.5')
133133
return e
134134

@@ -156,7 +156,7 @@ def edge(n, h):
156156
self.fw[e.get_source()].append(e.get_destination())
157157

158158
def run(self) -> None:
159-
"""Run main function of CategoryGraphBot."""
159+
"""Main function of CategoryGraphBot."""
160160
self.scan_level(self.cat, int(self.args.depth))
161161
# reduce too big graph
162162
if self.counter > 1000:

0 commit comments

Comments
 (0)