Permalink
Browse files

New matplotlib config for ipython notebooks.

  • Loading branch information...
1 parent 5388998 commit fa20e384e9baa4049dee3759104ab37943978cdc @hdemers committed Feb 5, 2014
@@ -3,7 +3,7 @@
src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');
}
-div.cell{
+div.cell {
width:98%;
margin-left:auto;
margin-right:auto;
@@ -13,25 +13,27 @@ h1 {
font-family: Helvetica, serif;
}
-h4{
+h4 {
margin-top:12px;
margin-bottom: 3px;
}
-div.text_cell_render{
+div.text_cell_render {
font-family: "Computer Modern", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
line-height: 145%;
font-size: 130%;
- /*width:800px;*/
- /*margin-left:auto;*/
- /*margin-right:auto;*/
}
-.CodeMirror{
+
+div.text_cell_render li {
+ line-height: 130%;
+}
+
+.CodeMirror {
font-family: "Source Code Pro", source-code-pro, Consolas, monospace;
}
-.prompt{
+.prompt {
/*display: None;*/
}
@@ -45,7 +47,7 @@ div.text_cell_render{
display: block;
}
-.warning{
+.warning {
color: rgb( 240, 20, 20 )
}
@@ -47,9 +47,9 @@ timezone : UTC # a pytz timezone string, eg US/Central or Europe/Pari
# See http://matplotlib.sourceforge.net/api/artist_api.html#module-matplotlib.lines for more
# information on line properties.
lines.linewidth : 1.0 # line width in points
-#lines.linestyle : - # solid line
+lines.linestyle : - # solid line
# lines.color : purple
-#lines.marker : None # the default marker
+lines.marker : . # the default marker
#lines.markeredgewidth : 0.5 # the line width around the marker symbol
#lines.markersize : 6 # markersize, in points
#lines.dash_joinstyle : miter # miter|round|bevel
@@ -103,7 +103,7 @@ patch.antialiased : True # render patches in antialised (no jaggies)
# The font.size property is the default font size for text, given in pts.
# 12pt is the standard value.
#
-font.family : monospace
+#font.family : monospace
#font.style : normal
#font.variant : normal
#font.weight : medium
@@ -236,7 +236,6 @@ axes.color_cycle : 348ABD, 7A68A6, A60628, 467821, CF4457, 188487, E24A33
xtick.major.size : 0 # major tick size in points
xtick.minor.size : 0 # minor tick size in points
xtick.major.pad : 6 # distance to major tick label in points
-xtick.minor.pad : 6 # distance to the minor tick label in points
xtick.color : 555555 # color of the tick labels
#xtick.labelsize : medium # fontsize of the tick labels
xtick.direction : in # direction: in or out
@@ -273,8 +272,8 @@ legend.fancybox : True # if True, use a rounded box for the
### FIGURE
# See http://matplotlib.sourceforge.net/api/figure_api.html#matplotlib.figure.Figure
-figure.figsize : 11, 8 # figure size in inches
-#figure.dpi : 80 # figure dots per inch
+figure.figsize : 17,6 # figure size in inches
+figure.dpi : 80 # figure dots per inch
figure.facecolor : 0.85 # figure facecolor; 0.75 is scalar gray
figure.edgecolor : 0.50 # figure edgecolor
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fa20e38

Please sign in to comment.