Skip to content

Commit 21ba03b

Browse files
committed
packages, version control in all notebooks
1 parent 39edaf8 commit 21ba03b

14 files changed

+418
-8
lines changed

CodeSnippetsPython/ScientificPlotBasic1D.ipynb

Lines changed: 40 additions & 3 deletions
Large diffs are not rendered by default.

CodeSnippetsPython/ScientificPlotBasic1DEj2.ipynb

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 4,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -131,6 +131,36 @@
131131
"source": [
132132
"adjacency_matrix, x, y = plot_net(500, .1, 1, 'FigNet500dot_1')"
133133
]
134+
},
135+
{
136+
"cell_type": "markdown",
137+
"metadata": {},
138+
"source": [
139+
"### Packages, version control"
140+
]
141+
},
142+
{
143+
"cell_type": "code",
144+
"execution_count": 4,
145+
"metadata": {},
146+
"outputs": [
147+
{
148+
"name": "stdout",
149+
"output_type": "stream",
150+
"text": [
151+
"--------------------------------------------------\n",
152+
"... numpy == 1.14.0\n",
153+
"... matplotlib == 2.1.2\n",
154+
"__________________________________________________\n"
155+
]
156+
}
157+
],
158+
"source": [
159+
"print(\"--\"*25)\n",
160+
"print(\"... numpy == \", np.__version__)\n",
161+
"print(\"... matplotlib == \", mpl.__version__)\n",
162+
"print(\"__\"*25)"
163+
]
134164
}
135165
],
136166
"metadata": {

CodeSnippetsPython/ScientificPlotBasic2DContourEj1.ipynb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,36 @@
114114
"plt.ylabel('$\\psi_2$', fontsize = 22)\n",
115115
"plt.savefig('basic2D_Ej1C' + '.png', format='png', dpi= 150, bbox_inches='tight');"
116116
]
117+
},
118+
{
119+
"cell_type": "markdown",
120+
"metadata": {},
121+
"source": [
122+
"### Packages, version control"
123+
]
124+
},
125+
{
126+
"cell_type": "code",
127+
"execution_count": 2,
128+
"metadata": {},
129+
"outputs": [
130+
{
131+
"name": "stdout",
132+
"output_type": "stream",
133+
"text": [
134+
"--------------------------------------------------\n",
135+
"... numpy == 1.14.0\n",
136+
"... matplotlib == 2.1.2\n",
137+
"__________________________________________________\n"
138+
]
139+
}
140+
],
141+
"source": [
142+
"print(\"--\"*25)\n",
143+
"print(\"... numpy == \", np.__version__)\n",
144+
"print(\"... matplotlib == \", mpl.__version__)\n",
145+
"print(\"__\"*25)"
146+
]
117147
}
118148
],
119149
"metadata": {

CodeSnippetsPython/ScientificPlotBasic2DContourEj2.ipynb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,36 @@
104104
"plt.savefig('basic2D_Ej2C' + '.png', format='png', dpi= 150, bbox_inches='tight');\n",
105105
"plt.show()"
106106
]
107+
},
108+
{
109+
"cell_type": "markdown",
110+
"metadata": {},
111+
"source": [
112+
"### Packages, version control"
113+
]
114+
},
115+
{
116+
"cell_type": "code",
117+
"execution_count": 3,
118+
"metadata": {},
119+
"outputs": [
120+
{
121+
"name": "stdout",
122+
"output_type": "stream",
123+
"text": [
124+
"--------------------------------------------------\n",
125+
"... numpy == 1.14.0\n",
126+
"... matplotlib == 2.1.2\n",
127+
"__________________________________________________\n"
128+
]
129+
}
130+
],
131+
"source": [
132+
"print(\"--\"*25)\n",
133+
"print(\"... numpy == \", np.__version__)\n",
134+
"print(\"... matplotlib == \", mpl.__version__)\n",
135+
"print(\"__\"*25)"
136+
]
107137
}
108138
],
109139
"metadata": {

CodeSnippetsPython/ScientificPlotBasic2DContourEj3.ipynb

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 1,
12+
"execution_count": 2,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -104,6 +104,36 @@
104104
"plt.savefig('basic2D_Ej3C' + '.png', format='png', dpi= 150, bbox_inches='tight');\n",
105105
"plt.show()"
106106
]
107+
},
108+
{
109+
"cell_type": "markdown",
110+
"metadata": {},
111+
"source": [
112+
"### Packages, version control"
113+
]
114+
},
115+
{
116+
"cell_type": "code",
117+
"execution_count": 3,
118+
"metadata": {},
119+
"outputs": [
120+
{
121+
"name": "stdout",
122+
"output_type": "stream",
123+
"text": [
124+
"--------------------------------------------------\n",
125+
"... numpy == 1.14.0\n",
126+
"... matplotlib == 2.1.2\n",
127+
"__________________________________________________\n"
128+
]
129+
}
130+
],
131+
"source": [
132+
"print(\"--\"*25)\n",
133+
"print(\"... numpy == \", np.__version__)\n",
134+
"print(\"... matplotlib == \", mpl.__version__)\n",
135+
"print(\"__\"*25)"
136+
]
107137
}
108138
],
109139
"metadata": {

CodeSnippetsPython/ScientificPlotBasic2DContourEj4.ipynb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,36 @@
105105
"plt.savefig('basic2D_Ej4C' + '.png', format='png', dpi= 150, bbox_inches='tight');\n",
106106
"plt.show()"
107107
]
108+
},
109+
{
110+
"cell_type": "markdown",
111+
"metadata": {},
112+
"source": [
113+
"### Packages, version control"
114+
]
115+
},
116+
{
117+
"cell_type": "code",
118+
"execution_count": 2,
119+
"metadata": {},
120+
"outputs": [
121+
{
122+
"name": "stdout",
123+
"output_type": "stream",
124+
"text": [
125+
"--------------------------------------------------\n",
126+
"... numpy == 1.14.0\n",
127+
"... matplotlib == 2.1.2\n",
128+
"__________________________________________________\n"
129+
]
130+
}
131+
],
132+
"source": [
133+
"print(\"--\"*25)\n",
134+
"print(\"... numpy == \", np.__version__)\n",
135+
"print(\"... matplotlib == \", mpl.__version__)\n",
136+
"print(\"__\"*25)"
137+
]
108138
}
109139
],
110140
"metadata": {

CodeSnippetsPython/ScientificPlotBasic2DDensityEj1.ipynb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,36 @@
114114
"plt.ylabel('$\\psi_2$', fontsize = 22)\n",
115115
"plt.savefig('alphaqubitD' + '.png', format='png', dpi= 150, bbox_inches='tight');"
116116
]
117+
},
118+
{
119+
"cell_type": "markdown",
120+
"metadata": {},
121+
"source": [
122+
"### Packages, version control"
123+
]
124+
},
125+
{
126+
"cell_type": "code",
127+
"execution_count": 2,
128+
"metadata": {},
129+
"outputs": [
130+
{
131+
"name": "stdout",
132+
"output_type": "stream",
133+
"text": [
134+
"--------------------------------------------------\n",
135+
"... numpy == 1.14.0\n",
136+
"... matplotlib == 2.1.2\n",
137+
"__________________________________________________\n"
138+
]
139+
}
140+
],
141+
"source": [
142+
"print(\"--\"*25)\n",
143+
"print(\"... numpy == \", np.__version__)\n",
144+
"print(\"... matplotlib == \", mpl.__version__)\n",
145+
"print(\"__\"*25)"
146+
]
117147
}
118148
],
119149
"metadata": {

CodeSnippetsPython/ScientificPlotBasic2DDensityEj2.ipynb

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 1,
12+
"execution_count": 9,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -337,6 +337,40 @@
337337
"img = tf.shade(agg1, cmap = viridis, how='linear', span = [0,350])\n",
338338
"img_map(img,\"map_chaos4\")"
339339
]
340+
},
341+
{
342+
"cell_type": "markdown",
343+
"metadata": {},
344+
"source": [
345+
"### Packages, version control"
346+
]
347+
},
348+
{
349+
"cell_type": "code",
350+
"execution_count": 12,
351+
"metadata": {},
352+
"outputs": [
353+
{
354+
"name": "stdout",
355+
"output_type": "stream",
356+
"text": [
357+
"--------------------------------------------------\n",
358+
"... numpy == 1.14.0\n",
359+
"... matplotlib == 2.1.2\n",
360+
"... pandas == 0.22.0\n",
361+
"... datashader == 0.6.5\n",
362+
"__________________________________________________\n"
363+
]
364+
}
365+
],
366+
"source": [
367+
"print(\"--\"*25)\n",
368+
"print(\"... numpy == \", np.__version__)\n",
369+
"print(\"... matplotlib == \", mpl.__version__)\n",
370+
"print(\"... pandas == \", pd.__version__)\n",
371+
"print(\"... datashader == \", ds.__version__)\n",
372+
"print(\"__\"*25)"
373+
]
340374
}
341375
],
342376
"metadata": {

CodeSnippetsPython/ScientificPlotBasic2DDensityEj3.ipynb

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 1,
12+
"execution_count": 2,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -302,6 +302,40 @@
302302
"img = tf.shade(agg1, cmap = black_white, how='linear', span = [0,100])\n",
303303
"img_map(img,\"attractorLinearBW\")"
304304
]
305+
},
306+
{
307+
"cell_type": "markdown",
308+
"metadata": {},
309+
"source": [
310+
"### Packages, version control"
311+
]
312+
},
313+
{
314+
"cell_type": "code",
315+
"execution_count": 3,
316+
"metadata": {},
317+
"outputs": [
318+
{
319+
"name": "stdout",
320+
"output_type": "stream",
321+
"text": [
322+
"--------------------------------------------------\n",
323+
"... numpy == 1.14.0\n",
324+
"... matplotlib == 2.1.2\n",
325+
"... pandas == 0.22.0\n",
326+
"... datashader == 0.6.5\n",
327+
"__________________________________________________\n"
328+
]
329+
}
330+
],
331+
"source": [
332+
"print(\"--\"*25)\n",
333+
"print(\"... numpy == \", np.__version__)\n",
334+
"print(\"... matplotlib == \", mpl.__version__)\n",
335+
"print(\"... pandas == \", pd.__version__)\n",
336+
"print(\"... datashader == \", ds.__version__)\n",
337+
"print(\"__\"*25)"
338+
]
305339
}
306340
],
307341
"metadata": {

CodeSnippetsPython/ScientificPlotBasic2DDensityEj4.ipynb

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 2,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -236,6 +236,40 @@
236236
"img = tf.shade(agg1, cmap = inferno, how='linear', span = [0,200])\n",
237237
"img_map(img,\"ikedaLinear\")"
238238
]
239+
},
240+
{
241+
"cell_type": "markdown",
242+
"metadata": {},
243+
"source": [
244+
"### Packages, version control"
245+
]
246+
},
247+
{
248+
"cell_type": "code",
249+
"execution_count": 2,
250+
"metadata": {},
251+
"outputs": [
252+
{
253+
"name": "stdout",
254+
"output_type": "stream",
255+
"text": [
256+
"--------------------------------------------------\n",
257+
"... numpy == 1.14.0\n",
258+
"... matplotlib == 2.1.2\n",
259+
"... pandas == 0.22.0\n",
260+
"... datashader == 0.6.5\n",
261+
"__________________________________________________\n"
262+
]
263+
}
264+
],
265+
"source": [
266+
"print(\"--\"*25)\n",
267+
"print(\"... numpy == \", np.__version__)\n",
268+
"print(\"... matplotlib == \", mpl.__version__)\n",
269+
"print(\"... pandas == \", pd.__version__)\n",
270+
"print(\"... datashader == \", ds.__version__)\n",
271+
"print(\"__\"*25)"
272+
]
239273
}
240274
],
241275
"metadata": {

0 commit comments

Comments
 (0)