Skip to content

Commit

Permalink
docs: user guide link
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Aug 29, 2023
1 parent 804a3b9 commit 0d2c584
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions bindings/pyl7vp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
$ pip install pyl7vp
```

## Jupyter Notebook and JupyterLab
### Usage

### Jupyter Notebook and JupyterLab

```py
from pyl7vp import L7VP
Expand Down Expand Up @@ -50,7 +52,7 @@ l7vp_map.set_config({
l7vp_map.show()
```

## Save to HTML File
### Save to HTML File

```py
from pyl7vp import L7VP
Expand Down
10 changes: 6 additions & 4 deletions bindings/pyl7vp/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# PyL7VP

🌍 PyL7VP 是 [`@AntV/L7VP`](https://li.antv.antgroup.com) 在 Python3 上的封装
🌍 PyL7VP 是 [`@AntV/L7VP`](https://li.antv.antgroup.com) 在 Python3 上封装的地理可视分析工具

[![Latest Stable Version](https://img.shields.io/pypi/v/pyl7vp.svg)](https://pypi.python.org/pypi/pyl7vp) [![Test Status](https://github.com/antvis/L7VP/workflows/pyl7vp-test/badge.svg)](https://github.com/antvis/L7VP/actions?query=workflow:pyl7vp-test) [![Pypi Download](https://img.shields.io/pypi/dm/pyl7vp)](https://pypi.python.org/pypi/pyl7vp)

Expand All @@ -16,7 +16,9 @@
$ pip install pyl7vp
```

## 在 Notebook 或 JupyterLab
## 使用

### 在 Notebook 或 JupyterLab

```py
from pyl7vp import L7VP
Expand Down Expand Up @@ -50,7 +52,7 @@ l7vp_map.set_config({
l7vp_map.show()
```

## 保存为 HTML 文件
### 保存为 HTML 文件

```py
from pyl7vp import L7VP
Expand All @@ -66,7 +68,7 @@ l7vp_map.save_to_html("map.html")
- [快速开始](https://www.yuque.com/antv/htpfbw/usrw68bir8tt0yxy#C7cMY)
- [API 文档](https://www.yuque.com/antv/htpfbw/usrw68bir8tt0yxy#YdNaX)
- [数据格式](https://www.yuque.com/antv/htpfbw/usrw68bir8tt0yxy#ZaJB8)
- 在线的 [Google Colab](https://colab.research.google.com/drive/1KCTfPRv-NksUF3sVGLjSrYo7RgHmfeHH?usp=sharing)
- [Google Colab 示例](https://colab.research.google.com/drive/1KCTfPRv-NksUF3sVGLjSrYo7RgHmfeHH?usp=sharing)

## 本地研发

Expand Down
2 changes: 1 addition & 1 deletion bindings/pyl7vp/pyl7vp/l7vp.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self, height=600, datasets: list = [], config: dict = {}):
self.page_title = "PyL7VP"

print('User Guide: {}'.format(
'https://github.com/antvis/L7VP/bindings/pyl7vp/README.md#User Guide'))
'https://github.com/antvis/L7VP/bindings/pyl7vp/README.md##user-guide'))

'''
add dataset to l7vp datasets, documents [here](https://www.yuque.com/antv/htpfbw/yt98k1sgofg9wgqa#PlyNq)
Expand Down

0 comments on commit 0d2c584

Please sign in to comment.