Frykit

Latest version: v0.6.4

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

Scan your dependencies

Page 2 of 5

0.5.2

- 新增快速创建中国地图的 `quick_cn_map` 函数。
- `add_side_axes` 函数的 `depth` 参数更名为 `width`。
- 修改 `add_texts` 函数的默认效果。
- 修改 `make_gif` 函数的参数。

0.5.1

- 版本号被浪费了,遂跳过。

0.5.0

- 新增 `_artist` 模块,将风矢量图例、指北针、比例尺和 GMT 边框改用 `Artist` 实现,保证它们能自动更新状态。
- `add_map_scale` 函数更名为 `add_scale_bar`。
- `gmt_style_frame` 函数更名为 `add_frame`,内部不再修改 `ax` 的刻度样式。
- 移除 `move_axes_to_corner` 函数,新增功能更强的 `add_mini_axes` 函数。
- 移除 `get_cn_shp` 函数。
- 修改 `get_cn_xxx` 系列函数的参数名,修改它们查询地名的方式,现在只要有一个地名出错就会报错。另外移除了它们的 `as_dict` 参数(因为没见有人用过……)。
- 改进 `calc` 模块里角度转换的函数输出的数值范围。
- `deprecator` 装饰器新增 `raise_error` 参数。
- 将 `loc` 参数的取值 `bottom left` 和 `bottom right` 修改为 `lower left` 和 `lower right`。
- 修正一些函数的类型提示。
- 所有代码用 isort 做了格式化。
- 添加 license。

0.4.5

- 新增 `add_texts` 函数。
- `ntick` 参数更名为 `nticks`。

0.4.4

- `set_extent_and_ticks` 函数更名为 `set_map_ticks` 函数,新增 `dx` 和 `dy` 参数,`nx` 和 `ny` 参数改名为 `mx` 和 `my`。非等经纬度投影现已支持开启次刻度。
- `load_test_nc` 函数更名为 `load_test_data`,移除对 xarray 和 netCDF4 的依赖。
- `image` 模块各函数的输入现在可以是 `Image` 对象。
- 新增墨卡托投影的例子。为避免错误,简化 `contourf.py` 例子。

0.4.3

- 将影响坐标变换速度的 `Projection._as_mpl_transform` 修改成了 `Axes.transData`。
- 新增时分秒转换度数的 `hms_to_degrees2` 函数。
- 新增比较两张图片的 `compare_images` 函数。

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.