File tree 2 files changed +38
-10
lines changed
2 files changed +38
-10
lines changed Original file line number Diff line number Diff line change 49
49
"cell_type" : " code" ,
50
50
"execution_count" : null ,
51
51
"metadata" : {
52
+ "collapsed" : true ,
52
53
"nbsphinx" : " hidden"
53
54
},
54
55
"outputs" : [],
61
62
{
62
63
"cell_type" : " code" ,
63
64
"execution_count" : null ,
64
- "metadata" : {},
65
+ "metadata" : {
66
+ "collapsed" : true
67
+ },
65
68
"outputs" : [],
66
69
"source" : [
67
70
" import pandas as pd\n " ,
127
130
{
128
131
"cell_type" : " code" ,
129
132
"execution_count" : null ,
130
- "metadata" : {},
133
+ "metadata" : {
134
+ "collapsed" : true
135
+ },
131
136
"outputs" : [],
132
137
"source" : [
133
138
" def color_negative_red(val):\n " ,
181
186
{
182
187
"cell_type" : " code" ,
183
188
"execution_count" : null ,
184
- "metadata" : {},
189
+ "metadata" : {
190
+ "collapsed" : true
191
+ },
185
192
"outputs" : [],
186
193
"source" : [
187
194
" def highlight_max(s):\n " ,
244
251
{
245
252
"cell_type" : " code" ,
246
253
"execution_count" : null ,
247
- "metadata" : {},
254
+ "metadata" : {
255
+ "collapsed" : true
256
+ },
248
257
"outputs" : [],
249
258
"source" : [
250
259
" def highlight_max(data, color='yellow'):\n " ,
810
819
{
811
820
"cell_type" : " code" ,
812
821
"execution_count" : null ,
813
- "metadata" : {},
822
+ "metadata" : {
823
+ "collapsed" : true
824
+ },
814
825
"outputs" : [],
815
826
"source" : [
816
827
" def magnify():\n " ,
872
883
{
873
884
"cell_type" : " code" ,
874
885
"execution_count" : null ,
875
- "metadata" : {},
886
+ "metadata" : {
887
+ "collapsed" : true
888
+ },
876
889
"outputs" : [],
877
890
"source" : [
878
891
" df.style.\\\n " ,
1058
1071
"source" : [
1059
1072
" See the template in the [GitHub repo](https://github.com/pandas-dev/pandas) for more details."
1060
1073
]
1074
+ },
1075
+ {
1076
+ "cell_type" : " code" ,
1077
+ "execution_count" : null ,
1078
+ "metadata" : {
1079
+ "nbsphinx" : " hidden"
1080
+ },
1081
+ "outputs" : [],
1082
+ "source" : [
1083
+ " # Hack to get the same style in the notebook as the\n " ,
1084
+ " # main site. This is hidden in the docs.\n " ,
1085
+ " from IPython.display import HTML\n " ,
1086
+ " with open(\" themes/nature_with_gtoc/static/nature.css_t\" ) as f:\n " ,
1087
+ " css = f.read()\n " ,
1088
+ " \n " ,
1089
+ " HTML('<style>{}</style>'.format(css))"
1090
+ ]
1061
1091
}
1062
1092
],
1063
1093
"metadata" : {
1075
1105
"mimetype" : " text/x-python" ,
1076
1106
"name" : " python" ,
1077
1107
"nbconvert_exporter" : " python" ,
1078
- "pygments_lexer" : " ipython3"
1108
+ "pygments_lexer" : " ipython3" ,
1109
+ "version" : " 3.6.1"
1079
1110
}
1080
1111
},
1081
1112
"nbformat" : 4 ,
Original file line number Diff line number Diff line change 9
9
-->
10
10
< style type ="text/css ">
11
11
/* Overrides of notebook CSS for static HTML export */
12
- body {
13
- font-family : sans;
14
- }
15
12
.template_block {
16
13
background-color : hsla (120 , 60% , 70% , 0.2 );
17
14
margin : 10px ;
You can’t perform that action at this time.
0 commit comments