Skip to content

Commit a0b0d3f

Browse files
committed
Merge pull request BVLC#2579 from lukeyeager/draw-fix
small platform-specific bugfix for draw.py
2 parents 4190ebd + cdab89a commit a0b0d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/caffe/draw.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_layer_label(layer, rankdir):
7272
else:
7373
# If graph orientation is horizontal, vertical space is free and
7474
# horizontal space is not; separate words with newlines
75-
separator = '\n'
75+
separator = '\\n'
7676

7777
if layer.type == 'Convolution':
7878
# Outer double quotes needed or else colon characters don't parse

0 commit comments

Comments
 (0)