Skip to content

Commit d2ce858

Browse files
authored
Matplotlib60min.rst
1 parent 980df43 commit d2ce858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/day2/Matplotlib60min.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ Apart from ``.scatter()``, most of these plots are more suited for models rather
462462
import matplotlib.pyplot as plt
463463
%matplotlib inline
464464
import pandas as pd
465-
wwii_spending = pd.read_csv('docs/day1/wwii-military-spending-pct-gdp.txt',delimiter='\t',
465+
wwii_spending = pd.read_csv('docs/day2/wwii-military-spending-pct-gdp.txt',delimiter='\t',
466466
index_col=0)
467467
print(wwii_spending)
468468
year = wwii_spending.index.to_numpy()
@@ -782,7 +782,7 @@ Below is a sample of how ``scatter(x,y,z)`` handles depth, and how you can achie
782782
import numpy as np
783783
import matplotlib.pyplot as plt
784784
%matplotlib inline
785-
x,y,z,c = np.genfromtxt('docs/day1/solar_neighborhood.txt', encoding='ascii',
785+
x,y,z,c = np.genfromtxt('docs/day2/solar_neighborhood.txt', encoding='ascii',
786786
dtype=[('x','<f8'),('y','<f8'),('z','<f8'), ('c','<U12')],
787787
converters={3:lambda s: 'tab:'+str(s)}, unpack=True)
788788
zsun = abs(min(z))

0 commit comments

Comments
 (0)