Skip to content
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

Update intro-notebook to allow figure window resizing in colab #30

Closed
sugatoray opened this issue Jun 11, 2021 · 1 comment · Fixed by #31
Closed

Update intro-notebook to allow figure window resizing in colab #30

sugatoray opened this issue Jun 11, 2021 · 1 comment · Fixed by #31
Labels
Feature Request New feature or request

Comments

@sugatoray
Copy link
Contributor

Description

The fix for #21 should be incorporated in the intro-notebook.

Source code

I have added the following in the notebook and will submit it in new pull request.

## Run this cell once and then 
## comment it out after first run
import leafmap
leafmap.update_package()
print("Restarting notebook server...")
import os
os.kill(os.getpid(), 9)

Suggested change

image

@giswqs
Copy link
Member

giswqs commented Jun 11, 2021

leafmap_update_package() is only needed for new features that have not been released to PyPI and conda-forge. Running leafmap_update_package() in every notebook is discouraged as it will reinstall all the dependencies and this could result in issues for some users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants