Skip to content

Commit 906d7ff

Browse files
committed
change \n -> \n in .to_string() docstring
1 parent 71d3cc8 commit 906d7ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plotly/graph_objs/graph_objs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def to_string(self, level=0, indent=4, eol='\n',
217217
Keyword arguments:
218218
level (default = 0) -- set number of indentations to start with
219219
indent (default = 4) -- set indentation amount
220-
eol (default = '\n') -- set end of line character(s)
220+
eol (default = '\\n') -- set end of line character(s)
221221
pretty (default = True) -- curtail long list output with a '...'
222222
max_chars (default = 80) -- set max characters per line
223223
@@ -571,7 +571,7 @@ def to_string(self, level=0, indent=4, eol='\n',
571571
Keyword arguments:
572572
level (default = 0) -- set number of indentations to start with
573573
indent (default = 4) -- set indentation amount
574-
eol (default = '\n') -- set end of line character(s)
574+
eol (default = '\\n') -- set end of line character(s)
575575
pretty (default = True) -- curtail long list output with a '...'
576576
max_chars (default = 80) -- set max characters per line
577577
@@ -725,7 +725,7 @@ def to_string(self, level=0, indent=4, eol='\n',
725725
Keyword arguments:
726726
level (default = 0) -- set number of indentations to start with
727727
indent (default = 4) -- set indentation amount
728-
eol (default = '\n') -- set end of line character(s)
728+
eol (default = '\\n') -- set end of line character(s)
729729
pretty (default = True) -- curtail long list output with a '...'
730730
max_chars (default = 80) -- set max characters per line
731731
@@ -927,7 +927,7 @@ def to_string(self, level=0, indent=4, eol='\n',
927927
Keyword arguments:
928928
level (default = 0) -- set number of indentations to start with
929929
indent (default = 4) -- set indentation amount
930-
eol (default = '\n') -- set end of line character(s)
930+
eol (default = '\\n') -- set end of line character(s)
931931
pretty (default = True) -- curtail long list output with a '...'
932932
max_chars (default = 80) -- set max characters per line
933933

0 commit comments

Comments
 (0)