Frykit

Latest version: v0.6.4

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.6.4

- 增加中国区县数据。相关函数:
- `get_cn_district`
- `get_cn_district_table`
- `get_cn_district_names`
- `add_cn_distict`
- `label_cn_district`
- `clip_by_cn_district`
- `get_cn_xxx` 系列函数重新添加 `as_dict` 参数(没有还是不太方便)。
- `get_cn_xxx` 系列函数现支持用整型的 adcode 查询。
- `get_cn_xxx_names` 系列函数新增查询参数。
- `get_cn_city` 里直辖市名称发生改变:
- 北京市 -> 北京城区
- 天津市 -> 天津城区
- 上海市 -> 上海城区
- 重庆市 -> 重庆城区、重庆郊县
- `label_cn_xxx` 系列函数在用户不通过参数或 rcParams 指定字体时默认使用思源黑体。
- `BinaryPacker` 和 `BinaryReader` 类新增 `region` 参数。

0.6.3

- 去除 `Frame` 中的默认 style,让外部的 style sheets 和 rcParams 能影响到 `Frame`。

0.6.2

- 修正 `clip_by_poylgon` 对 `clabel` 的返回值和任意 `Text` 的处理。
- 新增同时裁剪 `contour` 和 `contourf` 的例子 `clabel.py`。

0.6.1

- 把 `get_cn_province_names` 和 `get_cn_city_names` 函数又加回来了,同时修改了用法。

0.6.0

- 新增 `_typing` 模块。
- `BinaryConverter` 类更名为 `BinaryPacker`。
- `BinaryPacker` 和 `BinaryReader` 类现支持多种几何对象。
- `shp` 模块中获取行政区划的函数新增缓存功能。
- 移除 `get_cn_province_names`、`get_cn_province_lonlats`、`get_cn_city_names`、`get_cn_city_lonlats` 函数。
- 新增 `get_cn_province_table` 和 `get_cn_city_table` 函数。
- 新增 `path_to_polygon` 函数,修改 `polygon_to_path` 函数的行为。
- 提高 `plot` 模块中绘制行政区划函数多次调用的效率。
- 移除 `use_fast_transform` 函数,绘制行政区划和做裁剪的函数新增 `fast_transform` 参数,手动选择是否快速变换。
- 新增生成圆的 `get_ellipse` 和 `get_circle` 函数。
- 修改 `hms_to_degrees2` 函数的输出类型。
- 修改 docstring。

0.5.3

- 新增保存图片的 `savefig` 函数,相当于有默认参数的 `Figure.savefig`。
- `add_mini_axes` 函数新增 `aspect` 参数,用于修改 `Axes` 的宽高。
- 新增经纬度换算成球面 xyz 坐标的 `lon_lat_to_xyz` 函数。
- 移除 `add_polygon` 函数,现在 `add_polygons` 函数也能绘制单个多边形。
- 移除 `clip_by_polygons` 函数。
- 更新 README。

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.