Skip to content

Commit 3a31d04

Browse files
committed
fixed paths
1 parent 66950ef commit 3a31d04

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

chartlets.py/demo/my_extension/my_panel_1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
from chartlets import Component, Input, Output, State
44
from chartlets.components import VegaChart, Box, Select
55

6-
from demo.server.contribs import Panel
7-
from demo.server.context import Context
6+
from server.contribs import Panel
7+
from server.context import Context
88

99

1010
panel = Panel(__name__, title="Panel A")

chartlets.py/demo/my_extension/my_panel_2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
from chartlets import Component, Input, State, Output
44
from chartlets.components import VegaChart, Box, Select
55

6-
from demo.server.contribs import Panel
7-
from demo.server.context import Context
6+
from server.contribs import (Panel)
7+
from server.context import Context
88

99

1010
panel = Panel(__name__, title="Panel B")

chartlets.py/demo/my_extension/my_panel_3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from chartlets import Component, Input, State, Output
22
from chartlets.components import Box, Select, Checkbox, Typography
33

4-
from demo.server.contribs import Panel
5-
from demo.server.context import Context
4+
from server.contribs import Panel
5+
from server.context import Context
66

77

88
panel = Panel(__name__, title="Panel C")

chartlets.py/demo/server/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncio
22

3-
from demo.server.app import run_app
3+
from server.app import run_app
44

55

66
def main():

docs/guide/providers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Panel(Contribution):
7171

7272
Define the possible contribution points in your application.
7373

74-
As an example, see [`server.py` of the demo](https://github.com/bcdev/chartlets/tree/main/chartlets.py/demo/server/server.py):
74+
As an example, see [`app.py` of the demo server](https://github.com/bcdev/chartlets/tree/main/chartlets.py/demo/server/app.py):
7575

7676
```python
7777
from chartlets import Extension
@@ -84,7 +84,7 @@ Extension.add_contrib_point("panels", Panel)
8484

8585
Load the extensions that augment your application.
8686

87-
As an example, see [`server.py` of the demo](https://github.com/bcdev/chartlets/tree/main/chartlets.py/demo/server/server.py):
87+
As an example, see [`app.py` of the demo server](https://github.com/bcdev/chartlets/tree/main/chartlets.py/demo/server/app.py):
8888

8989
```python
9090
from chartlets import ExtensionContext
@@ -97,7 +97,7 @@ ext_ctx = ExtensionContext.load(app_ctx, extension_refs)
9797
Implement the Chartlets API in your application-specific webserver using
9898
the controller implementations in `chartlets.controllers`.
9999

100-
As an example, see [`server.py` of the demo](https://github.com/bcdev/chartlets/tree/main/chartlets.py/demo/server/server.py).
100+
As an example, see [`app.py` of the demo server](https://github.com/bcdev/chartlets/tree/main/chartlets.py/demo/server/app.py).
101101

102102
## Frontend integration
103103

0 commit comments

Comments
 (0)