Urban Grammar AI研究项目的视觉样式
项目描述
Urban Grammar AI图形
Urban Grammar AI研究项目的视觉样式
查看examples
中的Jupyter笔记本,了解使用示例。
可用的视觉预设
-
RGB
- 0-256 RGB代码 -
COLORS
- 0-1 RGB代码 -
HEX
- HEX代码 (['#333432', '#3b6e8c', '#bc5b4f', '#8fa37e', '#efc758', '#94666e']
) -
DIVERGING
- seaborn渐变调色板 -
DIVERGING_MPL
- matplotlib渐变调色板 -
CMAP
- matplotlib颜色映射(6种基本颜色) -
get_colormap(n=18, randomize=True)
- 获取扩展颜色映射 -
get_tiles(tiles, token)
- 获取Mapbox瓦片链接。tiles
可以是"roads"
、"labels"
或"background"
-
north_arrow(f, ax, rotation=0, loc="upper left", size=0.02, linewidth=3, color="k", pad=0, alpha=1,)
- 创建北箭头
north_arrow parameters
----------------------
f : figure
ax: axis
rotation : float
rotation of an arrow (in case map is rotated)
loc : string
location of an arrow
size : float
float denoting the length/width in terms
of a fraction of the axis.
linewidth : float
linewidth
color : string
color of an arrow
pad : float
additional padding
alpha : float
alpha
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源分布
urbangrammar_graphics-1.2.3.tar.gz (5.1 kB 查看哈希值)
构建分发版
关闭
urbangrammar_graphics-1.2.3.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 9254d2f74acb427fd7ba79dad8c2d363b055fda23d0d9c2f3380e6b0e3b7f311 |
|
MD5 | 382f89b699f0cf51121e7701106adb4f |
|
BLAKE2b-256 | f1aeb7134f8514edcbd4d07f8861cb68fab44122f727ed2b02e44b2c24852a3a |
关闭
urbangrammar_graphics-1.2.3-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 901dc974d638255babf3d088f3610ae5c194a8f1a1cf9107c25ebdab0fda87d8 |
|
MD5 | d364067078dc5d65f32f1760d16b7261 |
|
BLAKE2b-256 | 1e1281590baf8815cf03142ae8cf82688272259ca3cb65dadcc22e188d6de8d4 |