사용자 도구

사이트 도구


ascii_plot

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
ascii_plot [2020/02/13 01:47] – 만듦 rex8312ascii_plot [2024/03/23 02:38] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
-====== Ascii Plot ======+====== Ascii Plot / Unicode Plot ======
  
-<code python>+===== Unicode (점자 문자) 사용 ===== 
 + 
 +  * https://pypi.org/project/plotille/ 
 +  * https://github.com/asciimoo/drawille 
 + 
 +===== Ascii 문자 사용 ===== 
 + 
 +  * https://github.com/justnoise/termplot 
 +  * https://github.com/kressi/terminalplot 
 +  * gnuplot 사용 
 + 
 +<code python ascii_plot.py>
  
 import os import os
-import logging 
 import platform import platform
 +from termcolor import cprint
  
  
줄 65: 줄 76:
         return output_string         return output_string
     except FileNotFoundError:     except FileNotFoundError:
-        logging.warning("Can't find gnuplot")+        cprint("Can't find gnuplot", 'red')
         return ''         return ''
  
ascii_plot.1581558426.txt.gz · 마지막으로 수정됨: (바깥 편집)