Skip to content

Commit 8dfa10c

Browse files
committed
Add link to interactive hello world plot from Readme.md
Change-Id: I545f669ac3becf9f6a2dba0887de7b73d81022bb Link plot image in Readme to interactive version Change-Id: I0e2e7a44462aeb7091acddc36cfddcab66a0859f
1 parent 9699962 commit 8dfa10c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ KorAPConnection(verbose=True) \
6767
## Examples
6868
#### Frequencies of "Hello World" over years and countries
6969
```python
70+
from KorAPClient import KorAPClient, KorAPConnection
7071
import altair as alt
7172
import pandas as pd
72-
from KorAPClient import KorAPClient, KorAPConnection
7373

7474
QUERY = "Hello World"
7575
df = pd.DataFrame(range(2010, 2019), columns=["Year"], dtype=str) \
@@ -80,7 +80,8 @@ df = KorAPClient.ipm(KorAPConnection().frequencyQuery(QUERY, df.vc)).merge(df)
8080
alt.Chart(df).mark_line(point=True).encode(y="ipm", x="Year:T", color="Country", href="webUIRequestUrl") \
8181
.properties(title=QUERY).show()
8282
```
83-
![Frequency per million words of “Hello World“ in DE vs. AT from 2010 to 2018 in newspapers and magazines](figures/hello-world.png)
83+
[![Frequency per million words of “Hello World“ in DE vs. CH from 2010 to 2018 in newspapers and magazines](figures/hello-world.png)<!-- -->](https://korap.github.io/PythonKorAPClient/figures/hello_world.html)
84+
8485

8586
### Identify *in … setzen* light verb constructions by the `collocationAnalysis` method
8687
[![Lifecycle:experimental](https://lifecycle.r-lib.org/articles/figures/lifecycle-experimental.svg)](https://www.tidyverse.org/lifecycle/#experimental)

figures/hello-world.png

-9.9 KB
Loading

0 commit comments

Comments
 (0)