왕현성
코딩발자취
왕현성
전체 방문자
오늘
어제
  • 코딩 (277)
    • Python (71)
    • Java (16)
    • MySQL (34)
    • 인공지능 (48)
      • 머신러닝 (16)
      • 딥러닝 (32)
    • 영상처리 (4)
    • Rest API (21)
    • Android Studio (25)
    • streamlit (13)
    • DevOps (22)
      • AWS (9)
      • PuTTY (5)
      • Git (4)
      • Serverless (2)
      • Docker (2)
    • IT 기술 용어 (6)
    • 디버깅 ( 오류 해결 과정 ) (17)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • pip install labelme
  • matplotlib
  • alibidetect
  • encoding='utf-8'
  • maskimage
  • 딥러닝
  • 영상처리
  • 영상기술
  • 비지도학습
  • TensorFlow
  • OpenCV
  • unsupervised
  • 의료이미징
  • numpy
  • 영상처리역사
  • alibi-detection
  • labelme
  • tune()
  • 컴퓨터비전
  • imageprocessing
  • yolov8
  • PYTHON
  • UnboundLocalError
  • PIL
  • ComputerVision
  • labelme UnocodeDecodeError
  • get_long_description
  • pytorch
  • 기상탐사
  • ckpt_file

최근 댓글

최근 글

티스토리

250x250
hELLO · Designed By 정상우.
왕현성

코딩발자취

Python파이썬 데이터 시각화 matplotlib pie chart(파이 차트)
Python

Python파이썬 데이터 시각화 matplotlib pie chart(파이 차트)

2022. 11. 28. 12:13
728x90

데이터를 퍼센티이지로 비교해서 보고싶을 때 사용한다.

 

 

plt.pie(sorted_data,autopct='%.1f', #소수점 첫번째 자리까지
	labels=sorted_data.index, #데이터 넣기
        startangle=90, #시작하는 각도 90으로 설정하시면 12시부터 시작합니다.
        wedgeprops={'width':0.7})  # 가운데 구멍 뚫어줍니다.
plt.legend() #밑에 부가적인 표 출력
plt.title('Generation ID PIE Chart') #차트 이름 출력
plt.show() #메모리글 삭제

'Python' 카테고리의 다른 글

Python파이썬 데이터 시각화 matplotlib subplot()  (0) 2022.11.28
Python파이썬 데이터 시각화 matplotlib histogram(히스토그램)  (0) 2022.11.28
Python파이썬 matplotlib, seaborn을 이용한 데이터 시각화 countplot  (0) 2022.11.28
Python파이썬 Pandas의 dataframe 합치기 concat(),merge()  (0) 2022.11.25
파이썬Python pandas DataFrame 포함되는 문자 찾기 contains()  (0) 2022.11.25
    'Python' 카테고리의 다른 글
    • Python파이썬 데이터 시각화 matplotlib subplot()
    • Python파이썬 데이터 시각화 matplotlib histogram(히스토그램)
    • Python파이썬 matplotlib, seaborn을 이용한 데이터 시각화 countplot
    • Python파이썬 Pandas의 dataframe 합치기 concat(),merge()
    왕현성
    왕현성
    AI 머신비전 학습일지

    티스토리툴바