-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my project, there are Chinese characters, and when I use the creat_plot() method to create a chart, the characters appear as garbage. #50
Comments
import matplotlib.pyplot as plt 设置中文字体plt.rcParams['font.sans-serif'] = ['SimHei'] 设置中文显示plt.rcParams['axes.unicode_minus'] = False |
I'm afraid I can't be much help with this. The static plots rely on matplotlib's |
Hey @superseanyoung , I was having the same issue when my data contained many types of scripts. Here's how I solved it:
Hope this helps! |
I believe to have found the easier fix to this. It seems specifying the font name explicitly worked
|
datamapplot.create_plot(reduced_embeddings, doc_name)
The text was updated successfully, but these errors were encountered: