-
Notifications
You must be signed in to change notification settings - Fork 5
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
Leafmap Legend Not displaying in shiny python #157
Comments
Thanks @micboat, could you share the results of |
Thanks.
|
Thanks! I can reproduce the behavior -- the "Population" legend is expected in the map but not shown when used in Shiny via shinywidgets.
@cpsievert I think we can move this issue to posit-dev/py-shinywidgets. Just a note that I had to comment out ❯ uv pip install -r requirements.txt
× No solution found when resolving dependencies:
╰─▶ Because here-map-widget-for-jupyter==1.1.3 depends on branca>=0.3.1,<0.5 and you require branca==0.7.2, we can conclude that
your requirements and here-map-widget-for-jupyter==1.1.3 are incompatible.
And because you require here-map-widget-for-jupyter==1.1.3, we can conclude that your requirements are unsatisfiable. |
Hi, thanks for bringing shiny to python. Not sure if this is something you can help with:
Environment Information
Description
Describe what you were trying to get done.
Am trying to render leafmap (which uses ipyleaflet) within shiny app (python) using the chloropleth example here:
example. Am using leafmap because of its added functionality and ease of use. Chloropleth Map display as expected. Only issue is the legend doesnt display. it just show. up as a tiny white square. Raised the issue here: opengeos/leafmap#875 (comment) but was directed here
What I Did
If there was a crash, please include the traceback here.
The text was updated successfully, but these errors were encountered: