Skip to content

Commit b2b2271

Browse files
committed
📚 update en doc on the new feature pyecharts#84
1 parent bb31508 commit b2b2271

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

document/en-us/documentation.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,21 @@ bar.render()
6161
* ```render()```
6262
creat a file named render.html in the root directory defaultly,which supports path parameter and set the location the file save in,for instance render(r"e:\my_first_chart.html"),open file with your browser.
6363

64+
### A note on Jupyter notebook
65+
66+
To play with this new feature, it is recommended that 1) the old version must be uninstalled. 2) Your existing notebooks must be refreshed and re-ran. 3) to use your browser
67+
in privacy mode. Once you have verified all works, life will go as usual.
68+
69+
The required echarts javascript libraries are copied into nbextensions directory. In order to find out where it is on your operating system, you can do these:
70+
71+
```python
72+
from jupyter_core.paths import jupyter_data_dir
73+
print(jupyter_data_dir())
74+
```
75+
76+
Should you enforce pyecharts to reload all echarts javascript libraries, you will need to delete the hidden signature file: <<jupyter data dir>>/nbextensions/.pyecharts.signature.
77+
Upon next rendering, all javascript libraries will be copied again.
78+
6479
### Python2 Coding Problem
6580
default code type is UTF-8, there's no problem in Python3, because Python3 have a good support in chinese. But in Python2, please use the following sentence to ensure avoiding wrong coding problem:
6681
```

test/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
nose
22
codecov
33
coverage
4-
54
pandas
65
numpy
76
mock;python_version<"3"

0 commit comments

Comments
 (0)