Releases: rentainhe/visualization
Releases · rentainhe/visualization
version 0.5.1
New Features
- Draw Line Chart
#example
from visualize import draw_line_chart
# test data
data1 = {"data": [13.15, 14.64, 15.83, 17.99], "name": "data 1"}
data2 = {"data": [14.16, 14.81, 16.11, 18.62], "name": "data 2"}
data_list = []
data_list.append(data1["data"])
data_list.append(data2["data"])
name_list = []
name_list.append(data1["name"])
name_list.append(data2["name"])
draw_line_chart(data_list=data_list,
labels=name_list,
xlabel="test_x",
ylabel="test_y",
save_path="./test.jpg",
legend={"loc": "upper left", "frameon": True, "fontsize": 12},
title="example")
result will be saved to ./test.jpg
it's a naive version but enough to use, I will update a plus draw_line_chart
function in the next version.
version 0.5.0
更新内容如下
重构项目 (rebuild repo)
- 更新README,看起来更加简洁干净
- 新增pip安装方式,使用起来更加方便
Rebuild Repo
- Update README to make it cleaner
- Add pip installation to make it easier for usage