Frykit

Latest version: v0.6.4

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

Scan your dependencies

Page 4 of 5

0.3.3

- 新增 `_shp` 模块,改用自定义的二进制格式存储 shapefile 文件,减半文件体积的同时加快读取速度。
- 将 `get_cn_shp` 函数拆分为三个函数:
- `get_cn_border`
- `get_cn_province`
- `get_cn_city`
- 新增模仿 GMT 边框风格的 `gmt_style_frame` 函数。
- 新增参考中央气象台雷达图配色的 `get_dBZ_palette` 函数。
- `add_polygons` 和 `add_cn_xxx` 系列函数现在能自动调整 `Axes` 的显示范围。
- 修正 `clip_by_polygon` 函数在 `matplotlib>=3.8.0` 时关于 `collections` 属性的问题。
- `add_compass` 函数新增 `circle` 样式。
- `plot_colormap` 函数新增 `extend` 参数。
- `make_qualitative_cmap` 函数改名为 `get_qualitative_palette`。

0.3.2

- 新增 `image` 模块,提供拼图和切图的函数。
- 修正 `binned_statistic_2d` 函数颠倒 xy 的问题。

0.3.1

- `clip_by_polygon` 函数可以接受一组 `Artist`。
- `add_box` 函数会对方框坐标做插值,保证方框在 `GeoAxes` 中平滑。
- 新增用于测试的 `load_test_nc` 函数。

0.3.0

- 要求 `python>=3.9.0`。
- 所有代码加入类型提示。
- 修改 `interp_nearest` 函数对数组维度的要求。

0.2.5

- `add_compass` 函数可以通过 `angle` 参数指定角度。

0.2.4

- 修正 `add_map_scale` 函数里取线段的方式。
- 修正 `_transform` 函数里的 Shapely 版本问题。

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.