Skip to content

Commit

Permalink
Edited one of the charts to match the other ones
Browse files Browse the repository at this point in the history
  • Loading branch information
celestaria committed Jan 1, 2023
1 parent 6dbad77 commit f9d06ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Binary file modified images/daily_avg_low_high_temp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions san_diego_lows_averages_highs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Import libraries and dependencies
from datetime import datetime
import matplotlib
import matplotlib.pyplot as plt
from meteostat import Point, Daily

Expand All @@ -13,14 +14,11 @@
# Get daily data
data = Daily(san_diego, start, end)
data = data.fetch()
plt.style.use('seaborn')

# Plot line chart showing minimum, average, and maximum temperature
ax = data.plot(
y=['tavg', 'tmin', 'tmax'],
lw=2,
colormap='jet',
marker='.',
markersize=10,
figsize=(10, 7.5)
)
ax.set_title("Daily average, low, and high temperatures - 2022 San Diego, CA", fontsize=20)
Expand Down

0 comments on commit f9d06ae

Please sign in to comment.