	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=MIC-06-5+Digging+into+Jupyter+widgets%2C+specifically+pyleaflet&amp;rft.aulast=Yee&amp;rft.aufirst=Raymond&amp;rft.subject=Uncategorized&amp;rft.source=Hypotyposis+on+a+Good+Day&amp;rft.date=2023-10-28&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=https://hypotyposis.net/blog/2023/10/28/mic-06-5-digging-into-jupyter-widgets-specifically-pyleaflet/&amp;rft.language=English"></span>
	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=MIC-06-5+Digging+into+Jupyter+widgets%2C+specifically+pyleaflet&amp;rft.aulast=Yee&amp;rft.aufirst=Raymond&amp;rft.subject=Uncategorized&amp;rft.source=Hypotyposis+on+a+Good+Day&amp;rft.date=2023-10-28&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=https://hypotyposis.net/blog/2023/10/28/mic-06-5-digging-into-jupyter-widgets-specifically-pyleaflet/&amp;rft.language=English"></span>
{"id":1605,"date":"2023-10-28T08:49:26","date_gmt":"2023-10-28T15:49:26","guid":{"rendered":"https:\/\/hypotyposis.net\/blog\/?p=1605"},"modified":"2023-10-28T08:49:26","modified_gmt":"2023-10-28T15:49:26","slug":"mic-06-5-digging-into-jupyter-widgets-specifically-pyleaflet","status":"publish","type":"post","link":"https:\/\/hypotyposis.net\/blog\/2023\/10\/28\/mic-06-5-digging-into-jupyter-widgets-specifically-pyleaflet\/","title":{"rendered":"MIC-06-5 Digging into Jupyter widgets, specifically pyleaflet"},"content":{"rendered":"<p>As I work on integrating data across the different sources in iSamples, I'm getting my brain back into using <a href=\"https:\/\/ipywidgets.readthedocs.io\/en\/latest\/\">Jupyter widgets<\/a>. A place I chose to start was <a href=\"https:\/\/ipyleaflet.readthedocs.io\/en\/latest\/\">ipyleaflet: Interactive maps in the Jupyter notebook \u2014 ipyleaflet documentation<\/a>, a wrapper around the awesome <a href=\"https:\/\/leafletjs.com\/\">Leaflet - a JavaScript library for interactive maps<\/a>. <\/p>\n<p>The first I tried was to run the demo that uses <a href=\"https:\/\/jupyter.org\/try-jupyter\/lab\/\">JupyterLite<\/a> -- but got an error. When I went to report the problem, I <a href=\"https:\/\/github.com\/jupyter-widgets\/ipyleaflet\/issues\/1127#issuecomment-1783410754\">saw that the bug had been noted months ago<\/a>.<\/p>\n<p>No problem. Next up was cloning the repo and running the examples. I picked one that caught my eye -- the one to load KML into leaflet. Unfortunately, the demo didn't work out of the box with the current version of pyleaflet. I was able to make the simple fix and issued a pull request: <a href=\"https:\/\/github.com\/jupyter-widgets\/ipyleaflet\/pull\/1141\">fix examples\/KML.ipynb to work with recent versions of geopandas by rdhyee \u00b7 Pull Request #1141 \u00b7 jupyter-widgets\/ipyleaflet<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I work on integrating data across the different sources in iSamples, I&#8217;m getting my brain back into using Jupyter widgets. A place I chose to start was ipyleaflet: Interactive maps in the Jupyter notebook \u2014 ipyleaflet documentation, a wrapper &hellip; <a href=\"https:\/\/hypotyposis.net\/blog\/2023\/10\/28\/mic-06-5-digging-into-jupyter-widgets-specifically-pyleaflet\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[150],"class_list":["post-1605","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-150"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7I6qs-pT","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/posts\/1605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/comments?post=1605"}],"version-history":[{"count":2,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/posts\/1605\/revisions"}],"predecessor-version":[{"id":1607,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/posts\/1605\/revisions\/1607"}],"wp:attachment":[{"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/media?parent=1605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/categories?post=1605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/tags?post=1605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}