Here, I have a plot work to do with pandas, like this :
most_active_posts.plot(x = 'title',y = 'active_span',kind = 'barh')
most_active_posts
is an object of dataframe with index, I want a simple two-dimensional plot with two columns, one is 'title'
and the other is 'active_span'
.
title
is type of string, which contains Chinese characters, while active_span
is type of integer .
How can I display Chinese characters normally?