Skip to content

Commit 72b0f0d

Browse files
committed
MIN Better output filenames
1 parent 7a42971 commit 72b0f0d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ch02/figure1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
plt.ylabel(feature_names[p1])
2626
plt.xticks([])
2727
plt.yticks([])
28-
plt.savefig('../1400_02_01.png')
28+
plt.savefig('figure1.png')

ch02/figure2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
plt.xlim(x0, x1)
4545
plt.xlabel(feature_names[p0])
4646
plt.ylabel(feature_names[p1])
47-
plt.savefig('../1400_02_02.png')
47+
plt.savefig('figure2.png')

ch02/figure4_5.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ def train_plot(features, labels):
5757
labels = np.array([names.index(ell) for ell in labels])
5858

5959
train_plot(features, labels)
60-
plt.savefig('../1400_02_04.png')
60+
plt.savefig('figure4.png')
6161

6262
features -= features.mean(0)
6363
features /= features.std(0)
6464
train_plot(features, labels)
65-
plt.savefig('../1400_02_05.png')
65+
plt.savefig('figure5.png')

0 commit comments

Comments
 (0)