-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ipyleaflet basemap library modified #924
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,9 +111,67 @@ | |
"\n", | ||
"m.add_control(search)\n", | ||
"\n", | ||
"\n", | ||
"m" | ||
"\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "049eafa5-e939-442a-a24e-cfd69ef3372d", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"from ipyflex import FlexLayout\n", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you mind adding There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No problem ! |
||
"w={\"dashboard\": m } \n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "54d29b4f-682c-4991-8758-1af10ded84cc", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"a = FlexLayout(w, template='kk.json', editable=False)" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "30b41636-a1fe-45db-8ae9-a14b8bc8f6df", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"a" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "f01ea9ca-6c51-442b-aeb6-e8d76a120802", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"slider = IntSlider()" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "68e6ed4f-a38e-4508-a9b7-004d86a6bde2", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"a.add('hh', slider)" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "3c9cf06f-e32b-4495-a521-6e7395aeeb78", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind adding
ipyflex
to the binder requirements here: https://github.com/jupyter-widgets/ipyleaflet/blob/master/environment.yml ? That way this example will still work on Binder :)