afonit

Results 31 comments of afonit

I just ran into this when I was adding bqplot into the popup. Here is an example: ```python import ipyleaflet as ipyl import bqplot as bq import random random.seed(10) ####################...

Adding content from chrome developer tools when ```python geo_done.popup = widgets.HTML(value=f"""Truck: b, red""") ``` from the above script is executed. ``` manager-base.js:86 Uncaught (in promise) TypeError: Cannot read properties of...

I just ran your example and it worked: ![image](https://user-images.githubusercontent.com/1798497/176698680-4165a474-9a42-414a-9b58-b2105ebc1233.png) Not knowing your package versions - it would be easiest to create a new conda/mamba environment (or which ever environment/package manager...

Adding a reproducible example to this. ```python from ipyleaflet import ( Map, Circle, CircleMarker, DrawControl ) center = [34.6252978589571, -77.34580993652344] zoom = 10 m = Map(center=center, zoom=zoom) dc = DrawControl(...

@giswqs , thank you for confirming - I wanted to try it in raw leaflet without ipyleaflet but I could not find a leaflet site/playground anywhere. Is that a site...

Thanks, If I can cobble together an example in raw leaflet, I will post on their github. @giswqs , you said your example was in python - how did you...

@giswqs - ah thanks, I thought you were speaking of the leaflet versions, not the ipyleaflet versions, *my mistake*. I found their playground, here it is: https://leaflet.github.io/Leaflet.draw/docs/examples/full.html On their latest...

Here is a toy example that does what you want (the getting the filename and sending it to another function): ```python import ipywidgets as widgets from IPython.display import display main_display...

I don't think that gets exposed - but by virtue of uploading the file with the button its contents are now in memory - so you can pass that data...

Ah - thanks for that explanation, that is an interesting use case and I now understand the scenario. Someone else may be better equipped to answer than me. However, if...