본문 바로가기

소란한 블로그

검색하기
소란한 블로그
프로필사진 소란

  • 분류 전체보기 (17)
    • Today I Learned (5)
    • Python (4)
      • Errors (1)
      • Pandas (1)
    • C&C++ (0)
      • Errors (0)
    • Computer Engineering (4)
      • Data Structures (3)
      • Computer Sciences (1)
    • Data Sciences (1)
      • Statistics (1)
      • Mathematics (0)
    • Git (1)
    • Archive (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
  • Python
  • python error
  • pygame
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Python/Pandas (1)

소란한 블로그

[matplotlib, seaborn] exponential(scientific) notation 변환 e 표기법 일반 표기법으로 바꾸기

matplotlib으로 plot을 그리다보면 표기법이 exponential notation (e notation)으로 바뀌어서 그려지기도 한다. 이렇게 자동으로 바꿔서 표기해주는 것이 편할 때도 있지만 의도한 것이 아닐 때, 일반 표기법으로 바꿔서 표기해주는 것이 필요하다. 대부분 구글에 (쓰인 plot 함수이름 + exponential notation)과 같은 형식으로 검색하면 스택오버플로우에 자세히 나와있긴 하지만, 그래도 블로그에 정리해본다. - seaborn의 heatmap의 경우, import seaborn as sns import matplotlib.pyplot as plt fig = plt.figure() sns.set(rc={'figure.figsize':(15, 10)}) ax = sns..

Python/Pandas 2021. 2. 8. 14:46
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바