Skip to content

Commit 822f6ac

Browse files
committed
MIN Better axis label
1 parent 9077676 commit 822f6ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch07/figure1_2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Index number five in the number of rooms
1717
fig,ax = plt.subplots()
1818
ax.scatter(boston.data[:, 5], boston.target)
19-
ax.set_xlabel("Number of rooms (RM)")
19+
ax.set_xlabel("Average number of rooms (RM)")
2020
ax.set_ylabel("House Price")
2121

2222
x = boston.data[:, 5]
@@ -44,7 +44,7 @@
4444
lr.fit(x, y)
4545

4646
fig,ax = plt.subplots()
47-
ax.set_xlabel("Number of rooms (RM)")
47+
ax.set_xlabel("Average number of rooms (RM)")
4848
ax.set_ylabel("House Price")
4949
ax.scatter(boston.data[:, 5], boston.target)
5050
xmin = x.min()

0 commit comments

Comments
 (0)