Skip to content

Commit 8f0f2d3

Browse files
author
Bruno Goncalves
committed
update notebooks
1 parent da57028 commit 8f0f2d3

File tree

5 files changed

+675
-834
lines changed

5 files changed

+675
-834
lines changed

1. Matplotlib.ipynb

+110-101
Large diffs are not rendered by default.

2. Style sheets.ipynb

+63-37
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@
4747
"\n",
4848
"Compiler : Clang 10.0.0 \n",
4949
"OS : Darwin\n",
50-
"Release : 20.3.0\n",
50+
"Release : 21.2.0\n",
5151
"Machine : x86_64\n",
5252
"Processor : i386\n",
5353
"CPU cores : 16\n",
5454
"Architecture: 64bit\n",
5555
"\n",
56-
"Git hash: 16319969764b9d0c9d61909fed335cdc39bc83cd\n",
56+
"Git hash: da5702883953367d5779fa7646b56652805f2bd6\n",
5757
"\n",
58+
"numpy : 1.19.2\n",
5859
"json : 2.0.9\n",
5960
"watermark : 2.1.0\n",
60-
"numpy : 1.20.1\n",
6161
"matplotlib: 3.3.2\n",
6262
"\n"
6363
]
@@ -187,7 +187,7 @@
187187
},
188188
{
189189
"cell_type": "code",
190-
"execution_count": 10,
190+
"execution_count": 6,
191191
"metadata": {},
192192
"outputs": [],
193193
"source": [
@@ -203,7 +203,7 @@
203203
},
204204
{
205205
"cell_type": "code",
206-
"execution_count": 11,
206+
"execution_count": 7,
207207
"metadata": {},
208208
"outputs": [
209209
{
@@ -230,7 +230,7 @@
230230
},
231231
{
232232
"cell_type": "code",
233-
"execution_count": 14,
233+
"execution_count": 8,
234234
"metadata": {},
235235
"outputs": [],
236236
"source": [
@@ -239,7 +239,7 @@
239239
},
240240
{
241241
"cell_type": "code",
242-
"execution_count": 15,
242+
"execution_count": 9,
243243
"metadata": {},
244244
"outputs": [
245245
{
@@ -259,7 +259,7 @@
259259
},
260260
{
261261
"cell_type": "code",
262-
"execution_count": 16,
262+
"execution_count": 10,
263263
"metadata": {},
264264
"outputs": [],
265265
"source": [
@@ -268,7 +268,7 @@
268268
},
269269
{
270270
"cell_type": "code",
271-
"execution_count": 17,
271+
"execution_count": 11,
272272
"metadata": {},
273273
"outputs": [
274274
{
@@ -295,7 +295,7 @@
295295
},
296296
{
297297
"cell_type": "code",
298-
"execution_count": 18,
298+
"execution_count": 12,
299299
"metadata": {},
300300
"outputs": [],
301301
"source": [
@@ -304,7 +304,7 @@
304304
},
305305
{
306306
"cell_type": "code",
307-
"execution_count": 19,
307+
"execution_count": 13,
308308
"metadata": {},
309309
"outputs": [
310310
{
@@ -331,7 +331,7 @@
331331
},
332332
{
333333
"cell_type": "code",
334-
"execution_count": 20,
334+
"execution_count": 14,
335335
"metadata": {},
336336
"outputs": [
337337
{
@@ -340,7 +340,7 @@
340340
"'/Users/bgoncalves/.matplotlib'"
341341
]
342342
},
343-
"execution_count": 20,
343+
"execution_count": 14,
344344
"metadata": {},
345345
"output_type": "execute_result"
346346
}
@@ -365,35 +365,41 @@
365365
},
366366
{
367367
"cell_type": "code",
368-
"execution_count": 23,
368+
"execution_count": 15,
369369
"metadata": {},
370370
"outputs": [
371371
{
372372
"name": "stdout",
373373
"output_type": "stream",
374374
"text": [
375375
"{'axes.axisbelow': True,\n",
376-
" 'axes.edgecolor': 'white',\n",
377-
" 'axes.facecolor': '#E5E5E5',\n",
376+
" 'axes.edgecolor': '#f0f0f0',\n",
377+
" 'axes.facecolor': '#f0f0f0',\n",
378378
" 'axes.grid': True,\n",
379-
" 'axes.labelcolor': '#555555',\n",
380379
" 'axes.labelsize': 'large',\n",
381-
" 'axes.linewidth': 1.0,\n",
382-
" 'axes.prop_cycle': cycler('color', ['#E24A33', '#348ABD', '#988ED5', '#777777', '#FBC15E', '#8EBA42', '#FFB5B8']),\n",
380+
" 'axes.linewidth': 3.0,\n",
381+
" 'axes.prop_cycle': cycler('color', ['#008fd5', '#fc4f30', '#e5ae38', '#6d904f', '#8b8b8b', '#810f7c']),\n",
383382
" 'axes.titlesize': 'x-large',\n",
384-
" 'figure.edgecolor': '0.50',\n",
385-
" 'figure.facecolor': 'white',\n",
386-
" 'font.size': 10.0,\n",
387-
" 'grid.color': 'white',\n",
383+
" 'figure.facecolor': '#f0f0f0',\n",
384+
" 'figure.subplot.bottom': 0.07,\n",
385+
" 'figure.subplot.left': 0.08,\n",
386+
" 'figure.subplot.right': 0.95,\n",
387+
" 'font.size': 14.0,\n",
388+
" 'grid.color': '#cbcbcb',\n",
388389
" 'grid.linestyle': '-',\n",
389-
" 'patch.antialiased': True,\n",
390-
" 'patch.edgecolor': '#EEEEEE',\n",
391-
" 'patch.facecolor': '#348ABD',\n",
390+
" 'grid.linewidth': 1.0,\n",
391+
" 'legend.fancybox': True,\n",
392+
" 'lines.linewidth': 4.0,\n",
393+
" 'lines.solid_capstyle': 'butt',\n",
394+
" 'patch.edgecolor': '#f0f0f0',\n",
392395
" 'patch.linewidth': 0.5,\n",
393-
" 'xtick.color': '#555555',\n",
394-
" 'xtick.direction': 'out',\n",
395-
" 'ytick.color': '#555555',\n",
396-
" 'ytick.direction': 'out'}\n"
396+
" 'savefig.edgecolor': '#f0f0f0',\n",
397+
" 'savefig.facecolor': '#f0f0f0',\n",
398+
" 'svg.fonttype': 'path',\n",
399+
" 'xtick.major.size': 0.0,\n",
400+
" 'xtick.minor.size': 0.0,\n",
401+
" 'ytick.major.size': 0.0,\n",
402+
" 'ytick.minor.size': 0.0}\n"
397403
]
398404
}
399405
],
@@ -410,7 +416,7 @@
410416
},
411417
{
412418
"cell_type": "code",
413-
"execution_count": 24,
419+
"execution_count": 16,
414420
"metadata": {},
415421
"outputs": [
416422
{
@@ -434,7 +440,7 @@
434440
},
435441
{
436442
"cell_type": "code",
437-
"execution_count": 25,
443+
"execution_count": 17,
438444
"metadata": {},
439445
"outputs": [
440446
{
@@ -459,7 +465,27 @@
459465
},
460466
{
461467
"cell_type": "code",
462-
"execution_count": 26,
468+
"execution_count": 18,
469+
"metadata": {},
470+
"outputs": [
471+
{
472+
"data": {
473+
"text/plain": [
474+
"1.5"
475+
]
476+
},
477+
"execution_count": 18,
478+
"metadata": {},
479+
"output_type": "execute_result"
480+
}
481+
],
482+
"source": [
483+
"plt.rcParams['lines.linewidth']"
484+
]
485+
},
486+
{
487+
"cell_type": "code",
488+
"execution_count": 19,
463489
"metadata": {},
464490
"outputs": [],
465491
"source": [
@@ -468,7 +494,7 @@
468494
},
469495
{
470496
"cell_type": "code",
471-
"execution_count": 27,
497+
"execution_count": 20,
472498
"metadata": {},
473499
"outputs": [
474500
{
@@ -495,7 +521,7 @@
495521
},
496522
{
497523
"cell_type": "code",
498-
"execution_count": 28,
524+
"execution_count": 21,
499525
"metadata": {},
500526
"outputs": [],
501527
"source": [
@@ -504,7 +530,7 @@
504530
},
505531
{
506532
"cell_type": "code",
507-
"execution_count": 29,
533+
"execution_count": 22,
508534
"metadata": {
509535
"scrolled": false
510536
},
@@ -533,7 +559,7 @@
533559
},
534560
{
535561
"cell_type": "code",
536-
"execution_count": 30,
562+
"execution_count": 23,
537563
"metadata": {},
538564
"outputs": [
539565
{

0 commit comments

Comments
 (0)