zjffdu commented on issue #3302: [ZEPPELIN-3988] Paragraph Text output includes 
\r\n is not displayed correctly.
URL: https://github.com/apache/zeppelin/pull/3302#issuecomment-462212340
   @Leemoonsoo I tested this PR, but unfortunately it break the function of 
progress bar that #2729 implements. Progress bar is very important in machine 
learning libraries, specially for deep learning libraries, such as tensorflow, 
keras. Is it possible to keep the progress bar behavior ?  You can use the 
following code snippet to test the progress bar. 
   import time,sys
   end_val = 10
   bar_length = 20
   for i in xrange(0, end_val + 1):
       percent = float(i) / end_val
       hashes = '#' * int(round(percent * bar_length))
       spaces = ' ' * (bar_length - len(hashes))
       sys.stdout.write("\rPercent: [{0}] {1}%".format(hashes + spaces, 
int(round(percent * 100))))
       #print "Percent: [{0}] {1}%".format(hashes + spaces, int(round(percent * 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to