Skip to content

Commit 8c78c75

Browse files
committed
Merge pull request UWPCE-PythonCert#99 from NewtonMD/master
attempting to add lightning talk materials
2 parents 57040e4 + 541abe2 commit 8c78c75

5 files changed

Lines changed: 211 additions & 0 deletions
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {
7+
"collapsed": true
8+
},
9+
"outputs": [],
10+
"source": [
11+
"import matplotlib.pyplot as plt\n",
12+
"import numpy as np\n"
13+
]
14+
},
15+
{
16+
"cell_type": "code",
17+
"execution_count": 2,
18+
"metadata": {
19+
"collapsed": true
20+
},
21+
"outputs": [],
22+
"source": [
23+
"x = np.random.rand(15,1)\n",
24+
"y = np.random.rand(15,1)"
25+
]
26+
},
27+
{
28+
"cell_type": "code",
29+
"execution_count": 3,
30+
"metadata": {
31+
"collapsed": false
32+
},
33+
"outputs": [
34+
{
35+
"data": {
36+
"text/plain": [
37+
"<matplotlib.collections.PathCollection at 0x6fb9b90>"
38+
]
39+
},
40+
"execution_count": 3,
41+
"metadata": {},
42+
"output_type": "execute_result"
43+
}
44+
],
45+
"source": [
46+
"plt.scatter(x,y)"
47+
]
48+
},
49+
{
50+
"cell_type": "code",
51+
"execution_count": 4,
52+
"metadata": {
53+
"collapsed": true
54+
},
55+
"outputs": [],
56+
"source": [
57+
"plt.show()"
58+
]
59+
},
60+
{
61+
"cell_type": "code",
62+
"execution_count": 5,
63+
"metadata": {
64+
"collapsed": true
65+
},
66+
"outputs": [],
67+
"source": [
68+
"x = np.arange(0,2*np.pi,0.001)\n",
69+
"y = np.sin(x)\n",
70+
"plt.plot(x,y)\n",
71+
"plt.show()"
72+
]
73+
},
74+
{
75+
"cell_type": "code",
76+
"execution_count": null,
77+
"metadata": {
78+
"collapsed": true
79+
},
80+
"outputs": [],
81+
"source": []
82+
}
83+
],
84+
"metadata": {
85+
"kernelspec": {
86+
"display_name": "Python 3",
87+
"language": "python",
88+
"name": "python3"
89+
},
90+
"language_info": {
91+
"codemirror_mode": {
92+
"name": "ipython",
93+
"version": 3
94+
},
95+
"file_extension": ".py",
96+
"mimetype": "text/x-python",
97+
"name": "python",
98+
"nbconvert_exporter": "python",
99+
"pygments_lexer": "ipython3",
100+
"version": "3.5.1"
101+
}
102+
},
103+
"nbformat": 4,
104+
"nbformat_minor": 0
105+
}
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {
7+
"collapsed": true
8+
},
9+
"outputs": [],
10+
"source": [
11+
"import matplotlib.pyplot as plt\n",
12+
"import numpy as np\n"
13+
]
14+
},
15+
{
16+
"cell_type": "code",
17+
"execution_count": 2,
18+
"metadata": {
19+
"collapsed": true
20+
},
21+
"outputs": [],
22+
"source": [
23+
"x = np.random.rand(15,1)\n",
24+
"y = np.random.rand(15,1)"
25+
]
26+
},
27+
{
28+
"cell_type": "code",
29+
"execution_count": 3,
30+
"metadata": {
31+
"collapsed": false
32+
},
33+
"outputs": [
34+
{
35+
"data": {
36+
"text/plain": [
37+
"<matplotlib.collections.PathCollection at 0x6fb9b90>"
38+
]
39+
},
40+
"execution_count": 3,
41+
"metadata": {},
42+
"output_type": "execute_result"
43+
}
44+
],
45+
"source": [
46+
"plt.scatter(x,y)"
47+
]
48+
},
49+
{
50+
"cell_type": "code",
51+
"execution_count": 4,
52+
"metadata": {
53+
"collapsed": true
54+
},
55+
"outputs": [],
56+
"source": [
57+
"plt.show()"
58+
]
59+
},
60+
{
61+
"cell_type": "code",
62+
"execution_count": 5,
63+
"metadata": {
64+
"collapsed": true
65+
},
66+
"outputs": [],
67+
"source": [
68+
"x = np.arange(0,2*np.pi,0.001)\n",
69+
"y = np.sin(x)\n",
70+
"plt.plot(x,y)\n",
71+
"plt.show()"
72+
]
73+
},
74+
{
75+
"cell_type": "code",
76+
"execution_count": null,
77+
"metadata": {
78+
"collapsed": true
79+
},
80+
"outputs": [],
81+
"source": []
82+
}
83+
],
84+
"metadata": {
85+
"kernelspec": {
86+
"display_name": "Python 3",
87+
"language": "python",
88+
"name": "python3"
89+
},
90+
"language_info": {
91+
"codemirror_mode": {
92+
"name": "ipython",
93+
"version": 3
94+
},
95+
"file_extension": ".py",
96+
"mimetype": "text/x-python",
97+
"name": "python",
98+
"nbconvert_exporter": "python",
99+
"pygments_lexer": "ipython3",
100+
"version": "3.5.1"
101+
}
102+
},
103+
"nbformat": 4,
104+
"nbformat_minor": 0
105+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
http://localhost:8888/notebooks/IntroPython2016a/students/mike_newton/Lightning%20Talk/matplotlib%20Lightning%20Talk%20--%2009%20March%202016.ipynb
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)