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

Fix solara app issue #2019

Merged
merged 1 commit into from
May 25, 2024
Merged

Fix solara app issue #2019

merged 1 commit into from
May 25, 2024

Conversation

giswqs
Copy link
Member

@giswqs giswqs commented May 25, 2024

This PR fixes the issue reported in #2018. This is strange issue. Somehow the widgets.Layout object gets closed when the Solara app is refreshed, causing the app to crash. One temporary around is to assign the widget layout attribute rather than passing a widgets.Layout object during widget initialization. In addition, plt.cm.get_cmap is being deprecated by matplotlib. So we need to change it to plt.get_cmap

Copy link

@github-actions github-actions bot temporarily deployed to pull request May 25, 2024 03:11 Inactive
@giswqs giswqs linked an issue May 25, 2024 that may be closed by this pull request
@giswqs giswqs merged commit 74a94d0 into master May 25, 2024
15 checks passed
@giswqs giswqs deleted the widget branch May 25, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

geemap's add_data causes solara app to crash
1 participant