mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +08:00
Output \n as a string in example code
Current output is: $ echo "from numpy import random;" \ > "n = random.randn(10000);" \ > "print('\n'.join(str(i) for i in n))" from numpy import random; n = random.randn(10000); print(' '.join(str(i) for i in n)) After this change, I think it is originally expected string: $ echo "from numpy import random;" \ > "n = random.randn(10000);" \ > "print('\\\n'.join(str(i) for i in n))" from numpy import random; n = random.randn(10000); print('\n'.join(str(i) for i in n))
This commit is contained in:
parent
99e9e28ec9
commit
93f8efc60a
Loading…
Reference in New Issue
Block a user