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

Updates to exoplanet example #463

Merged
merged 4 commits into from
Dec 4, 2024
Merged

Updates to exoplanet example #463

merged 4 commits into from
Dec 4, 2024

Conversation

Azaya89
Copy link
Collaborator

@Azaya89 Azaya89 commented Dec 3, 2024

Updates to exoplanet example to close #189

@Azaya89 Azaya89 requested review from maximlt and jlstevens December 3, 2024 11:27
@Azaya89 Azaya89 self-assigned this Dec 3, 2024
Copy link
Contributor

github-actions bot commented Dec 3, 2024

Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR.

Copy link
Contributor

@maximlt maximlt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still need to check the dev site to see how it looks.

@@ -35,7 +35,7 @@
"import colorcet as cc\n",
"import hvplot.pandas # noqa\n",
"\n",
"hv.extension('bokeh')"
"hv.extension('bokeh', width=100)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"hv.extension('bokeh', width=100)"
"hv.extension('bokeh')"

"\n",
"dashboard = pn.template.BootstrapTemplate(title='Exoplanets Explorer')\n",
"dashboard.main.append('Filter, color, and size the displayed exoplanets using the available widgets, and explore trends in the scatterplot below.')\n",
"accordion = pn.Accordion(('Background', '''For the past 25+ years, NASA has used ground- and space-based methods to [identify exoplanets](https://exoplanets.nasa.gov/exep/about/missions-instruments) (planets outside of our solar system). In the past ten years in particular, campaigns like Kepler, K2, and TESS have produced an explosion of results. To date, approximately 4,400 exoplanets have been identified, and over 3,000 potential exoplanet candidates have been discovered. \n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be a way to better format this, e.g. most of the text is truncated on Github.

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@Azaya89 Azaya89 requested a review from maximlt December 4, 2024 10:18
Copy link
Contributor

github-actions bot commented Dec 4, 2024

Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR.

@maximlt
Copy link
Contributor

maximlt commented Dec 4, 2024

@Azaya89 I pushed some minor changes in 8f1679b.

There was an issue with the background card being displayed twice in the app.

image

I think the indentation of the multi-line string was occupying too much horizontal space (even more obvious on mobile). This led me to notice break lines in a multi-line string were displayed by default by the Markdown pane (not sure this should be the default, see holoviz/panel#7535). I changed the code to revert that behavior.

image

Can you please run the notebook and the app and check everything is okay? 🙏

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR.

@Azaya89
Copy link
Collaborator Author

Azaya89 commented Dec 4, 2024

LGTM!

image

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR.

@Azaya89 Azaya89 merged commit ac80a94 into main Dec 4, 2024
9 checks passed
@Azaya89 Azaya89 mentioned this pull request Dec 4, 2024
10 tasks
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.

3 participants