Skip to content

Commit b22024d

Browse files
committed
static plot updated
1 parent a849dc6 commit b22024d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

static_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#static_plot.py
22
import matplotlib.pyplot as plt
33
#data
4-
data_list = [60,58, 48, 52, 44, 56, 45, 37, 58, 49, 50]
4+
data_list = [60,58, 48, 52, 44, 56, 45]
55
#create figure and axis objects
66
fig, ax = plt.subplots()
77
#plot data
88
ax.plot(data_list, marker='o', linestyle='-', color='b')
99
#add title and labels
1010
ax.set_xlabel('Day Number')
1111
ax.set_ylabel('Temperature (°F)')
12-
ax.set_title('Temperature Over 11 Days')
12+
ax.set_title('Temperature Over 7 Days')
1313
#save and show plot
1414
plt.savefig('temperature_plot.png')
1515
plt.show()

temperature_plot.png

26.4 KB
Loading

0 commit comments

Comments
 (0)