강의

멘토링

커뮤니티

Inflearn Community Q&A

davidkim198401013150's profile image
davidkim198401013150

asked

Getting started with Python data analysis using public data

[9/20] Expressing grouped data in various forms using Pandas' visualization function

시각화 한글 네모박스

Written on

·

584

1

안녕하세요 맥북 유저입니다. 시각화하기에서 알려주신대로 plt.re(“font”, family=“AppleGothic”)했는데 그림은 잘 나오는데 밑에 한글이 안나오고 네모 박스로 출력이 되네요., 왜 그런걸까요?

pandasnumpypython

Answer 7

1

kim david님의 프로필 이미지
kim david
Questioner

아 그러네요. 제가 실수했습니다^^ 강의 잘 듣고 있습니다. 감사합니다. 이제 제대로 나오네요

1

kim david님의 프로필 이미지
kim david
Questioner

에러 메시지가 따로 뜨진않고 보시듯이 네모박스로 한글이 나옵니다.

1

kim david님의 프로필 이미지
kim david
Questioner

아.. 제가 질문에 오타를 쓴거네요..명령문에는 제대로 했었습니다.

plt.rc로 했었는데 네모박스가 나왔습니다(아래 한글 지명)

당연히 plt.re는 작동자체가 안하고 에러메세지가 뜨네요

0

todaycode님의 프로필 이미지
todaycode
Instructor

네 감사합니다 :)

0

todaycode님의 프로필 이미지
todaycode
Instructor

안녕하세요.

올려주신 스크린샷을 보니 AppleGothic 에 오타가 있어요. 확인해 보세요!

0

todaycode님의 프로필 이미지
todaycode
Instructor

import matplotlib.pyplot as plt 

위의 코드로 matplotlib의 pyplot을 로드해 주셨나요? 코드에 대한 스크린샷과 에러메시지를 텍스트로 올려주세요.

0

todaycode님의 프로필 이미지
todaycode
Instructor

안녕하세요.

plt.re => plt.rc 로 바꿔주세요! 오타가 있어요!

davidkim198401013150's profile image
davidkim198401013150

asked

Ask a question