Moved left margin to the left.
Last checkin had the same commit message. But I ran it in ./styles, so the notebooks were not commited.
This commit is contained in:
parent
cce95dc9f8
commit
b8cfefc8f0
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "",
|
||||
"signature": "sha256:8accd92cc45907eefd7795f396b9f0472df32023d57bc6305d8c9def5e7ebde3"
|
||||
"signature": "sha256:e0ecac7790474bde2b505f02a8ac90ba8b03bc7b61101e309b6e7ce83f8d7abc"
|
||||
},
|
||||
"nbformat": 3,
|
||||
"nbformat_minor": 0,
|
||||
@ -20,6 +20,7 @@
|
||||
"collapsed": false,
|
||||
"input": [
|
||||
"#format the book\n",
|
||||
"%matplotlib inline\n",
|
||||
"import book_format\n",
|
||||
"book_format.load_style()"
|
||||
],
|
||||
@ -31,7 +32,7 @@
|
||||
"<style>\n",
|
||||
" div.cell{\n",
|
||||
" width: 850px;\n",
|
||||
" margin-left: 10% !important;\n",
|
||||
" margin-left: 0% !important;\n",
|
||||
" margin-right: auto;\n",
|
||||
" }\n",
|
||||
" h1 {\n",
|
||||
@ -235,13 +236,13 @@
|
||||
],
|
||||
"metadata": {},
|
||||
"output_type": "pyout",
|
||||
"prompt_number": 1,
|
||||
"prompt_number": 9,
|
||||
"text": [
|
||||
"<IPython.core.display.HTML at 0x2765590>"
|
||||
"<IPython.core.display.HTML at 0x2118f50>"
|
||||
]
|
||||
}
|
||||
],
|
||||
"prompt_number": 1
|
||||
"prompt_number": 9
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -6,8 +6,6 @@ def load_style():
|
||||
styles = open("./styles/custom2.css", "r").read()
|
||||
return HTML(styles)
|
||||
|
||||
|
||||
pylab.rcParams['figure.figsize'] = 12,6
|
||||
pylab.rcParams['axes.color_cycle'] = '348ABD, 7A68A6, A60628, 467821, CF4457, 188487, E24A33'
|
||||
pylab.rcParams['lines.linewidth'] = 1
|
||||
|
||||
@ -18,7 +16,7 @@ pylab.rcParams['patch.edgecolor'] = 'eeeeee'
|
||||
pylab.rcParams['patch.antialiased'] = True
|
||||
pylab.rcParams['font.family'] = 'monospace'
|
||||
pylab.rcParams['font.size'] = 10.0
|
||||
pylab.rcParams['font.monospace'] = 'Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace'
|
||||
#pylab.rcParams['font.monospace'] = 'Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace'
|
||||
pylab.rcParams['axes.facecolor'] = 'eeeeee'
|
||||
pylab.rcParams['axes.edgecolor'] = 'bcbcbc'
|
||||
pylab.rcParams['axes.linewidth'] = 1
|
||||
@ -37,4 +35,5 @@ pylab.rcParams['legend.fancybox'] = True
|
||||
pylab.rcParams['figure.facecolor'] = '0.85'
|
||||
pylab.rcParams['figure.edgecolor'] = '0.50'
|
||||
pylab.rcParams['figure.subplot.hspace'] = 0.5
|
||||
pylab.rcParams['figure.figsize'] = 12,6
|
||||
|
||||
|
39
book_format.py~
Normal file
39
book_format.py~
Normal file
@ -0,0 +1,39 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from IPython.core.display import HTML
|
||||
import matplotlib.pylab as pylab
|
||||
|
||||
def load_style():
|
||||
styles = open("./styles/custom2.css", "r").read()
|
||||
return HTML(styles)
|
||||
|
||||
pylab.rcParams['axes.color_cycle'] = '348ABD, 7A68A6, A60628, 467821, CF4457, 188487, E24A33'
|
||||
pylab.rcParams['lines.linewidth'] = 1
|
||||
|
||||
pylab.rcParams['lines.antialiased'] = True
|
||||
pylab.rcParams['patch.linewidth'] = 0.5
|
||||
pylab.rcParams['patch.facecolor'] = '348ABD' #blue
|
||||
pylab.rcParams['patch.edgecolor'] = 'eeeeee'
|
||||
pylab.rcParams['patch.antialiased'] = True
|
||||
pylab.rcParams['font.family'] = 'monospace'
|
||||
pylab.rcParams['font.size'] = 10.0
|
||||
pylab.rcParams['font.monospace'] = 'Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace'
|
||||
pylab.rcParams['axes.facecolor'] = 'eeeeee'
|
||||
pylab.rcParams['axes.edgecolor'] = 'bcbcbc'
|
||||
pylab.rcParams['axes.linewidth'] = 1
|
||||
pylab.rcParams['axes.grid'] = True
|
||||
pylab.rcParams['axes.titlesize'] = 'x-large'
|
||||
pylab.rcParams['axes.labelsize'] = 'large'
|
||||
pylab.rcParams['axes.labelcolor'] = '555555'
|
||||
pylab.rcParams['axes.axisbelow'] = True
|
||||
pylab.rcParams['axes.color_cycle'] = '348ABD, 7A68A6, A60628, 467821, CF4457, 188487, E24A33'
|
||||
pylab.rcParams['xtick.major.pad'] = 6
|
||||
pylab.rcParams['xtick.minor.size'] = 0
|
||||
pylab.rcParams['xtick.minor.pad'] = 6
|
||||
pylab.rcParams['xtick.color'] = '555555'
|
||||
pylab.rcParams['ytick.direction'] = 'in'
|
||||
pylab.rcParams['legend.fancybox'] = True
|
||||
pylab.rcParams['figure.facecolor'] = '0.85'
|
||||
pylab.rcParams['figure.edgecolor'] = '0.50'
|
||||
pylab.rcParams['figure.subplot.hspace'] = 0.5
|
||||
pylab.rcParams['figure.figsize'] = 12,6
|
||||
|
111
g-h_filter.ipynb
111
g-h_filter.ipynb
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user