Metadata-Version: 2.4
Name: chinese_matplotlib
Version: 0.1.0
Summary: 自动设置Matplotlib中文字体
Author: wudong
Author-email: dongw1997@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: matplotlib

# chinese_matplotlib

自动设置Matplotlib支持中文字体的小工具。

## 功能特点
- 自动检测当前系统可用的中文字体
- 如果本地缺少中文字体，自动下载并安装思源黑体 (Source Han Sans SC)
- 缓存检测结果，避免每次重复扫描
- 支持跨平台（Windows, macOS, Linux）

## 安装方法
```bash
pip install chinese_matplotlib
```
## 使用
```python
from chinese_matplotlib import set_chinese_font
set_chinese_font()
```
## 测试
```python
from chinese_matplotlib import test_plot
```
