Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruiting-chen committed Dec 14, 2020
1 parent 407a26b commit 8af8fab
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from generates import GenerateTemperature, GenerateStationAndSeaLevel

# When having trouble opening the graph, you can uncomment the following code and try again.
# import plotly.io as pio
# pio.renderers.default = "browser"
import plotly.io as pio
pio.renderers.default = "browser"


def see_regression(system: ClimateSeaLevelSystem) -> bool:
Expand Down Expand Up @@ -38,9 +38,12 @@ def main() -> None:
GenerateTemperature().generate(system)
GenerateStationAndSeaLevel().generate(system)
go_figure(system)
print("RED color on the graph means the current sea level/temperature anomaly value is "
print()
print('The color in the ocean represents the temperature anomaly at a given time')
print('The color of each dot represents the sea level at a given station at a given time')
print("REDDISH color on the graph means the current sea level/temperature anomaly value is "
"ABOVE the original sea level/temperature")
print("BLUE color on the graph means the current sea level/temperature anomaly value is "
print("BLUEISH color on the graph means the current sea level/temperature anomaly value is "
"BELOW or EQUAL to the original sea level/temperature")
print()

Expand Down

0 comments on commit 8af8fab

Please sign in to comment.