Skip to content

Commit 52b67a5

Browse files
committed
Add explanatory text to airmass example
1 parent f85f9d7 commit 52b67a5

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

examples/airmass/app.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,17 @@
1515
from location import location_server, location_ui
1616

1717
app_ui = ui.page_fixed(
18-
ui.tags.h3("Air mass calculator", class_="mb-5"),
18+
ui.tags.h3("Air mass calculator"),
19+
ui.div(
20+
ui.markdown(
21+
"""This Shiny app uses [Astropy](https://www.astropy.org/) to calculate the
22+
altitude (degrees above the horizon) and airmass (the amount of atmospheric
23+
air along your line of sight to an object) of one or more astronomical
24+
objects, over a given evening, at a given geographic location.
25+
"""
26+
),
27+
class_="mb-5",
28+
),
1929
ui.row(
2030
ui.column(
2131
8,
@@ -172,4 +182,4 @@ def timeinfo():
172182

173183

174184
# The debug=True causes it to print messages to the console.
175-
app = App(app_ui, server, debug=True)
185+
app = App(app_ui, server, debug=False)

0 commit comments

Comments
 (0)