Skip to content

Commit

Permalink
Merge pull request #2371 from martinholmer/master
Browse files Browse the repository at this point in the history
Update Python Cookbook for T-C release 2.5.0
  • Loading branch information
martinholmer committed Aug 6, 2019
2 parents 36fcb34 + df37373 commit 3fe2304
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/recipe00_graph.html
Expand Up @@ -35,14 +35,14 @@



<div class="bk-root" id="2631f1d9-269a-4db3-8c4c-41e3af1677fe" data-root-id="1001"></div>
<div class="bk-root" id="a81bb7ae-3e46-47de-9319-bdd539c31762" data-root-id="1001"></div>





<script type="application/json" id="1151">
{"1a0293fb-80c4-4ac7-b186-ab5b4f91d1e4":{"roots":{"references":[{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"value":0},"y":{"value":0}},"id":"1042","type":"Circle"},{"attributes":{"source":{"id":"1045","type":"ColumnDataSource"}},"id":"1049","type":"CDSView"},{"attributes":{"data_source":{"id":"1035","type":"ColumnDataSource"},"glyph":{"id":"1036","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1037","type":"Line"},"selection_glyph":null,"view":{"id":"1039","type":"CDSView"}},"id":"1038","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"1040","type":"ColumnDataSource"},"glyph":{"id":"1041","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1042","type":"Circle"},"selection_glyph":null,"view":{"id":"1044","type":"CDSView"},"visible":false},"id":"1043","type":"GlyphRenderer"},{"attributes":{},"id":"1010","type":"LinearScale"},{"attributes":{"source":{"id":"1040","type":"ColumnDataSource"}},"id":"1044","type":"CDSView"},{"attributes":{"overlay":{"id":"1056","type":"BoxAnnotation"}},"id":"1024","type":"BoxZoomTool"},{"attributes":{},"id":"1013","type":"BasicTicker"},{"attributes":{"callback":null,"data":{"x":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100],"y":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"selected":{"id":"1061","type":"Selection"},"selection_policy":{"id":"1062","type":"UnionRenderers"}},"id":"1045","type":"ColumnDataSource"},{"attributes":{"x":{"field":"x"},"y":{"field":"y"}},"id":"1046","type":"Line"},{"attributes":{"text":"Percentage Change in After-Tax Expanded Income by Income Percentile for 2020","text_font_size":{"value":"12pt"}},"id":"1002","type":"Title"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"1056","type":"BoxAnnotation"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"1047","type":"Line"},{"attributes":{},"id":"1008","type":"LinearScale"},{"attributes":{"data_source":{"id":"1045","type":"ColumnDataSource"},"glyph":{"id":"1046","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1047","type":"Line"},"selection_glyph":null,"view":{"id":"1049","type":"CDSView"}},"id":"1048","type":"GlyphRenderer"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1022","type":"PanTool"},{"id":"1023","type":"WheelZoomTool"},{"id":"1024","type":"BoxZoomTool"},{"id":"1025","type":"SaveTool"},{"id":"1026","type":"ResetTool"},{"id":"1027","type":"HelpTool"}]},"id":"1028","type":"Toolbar"},{"attributes":{"dimension":1,"ticker":{"id":"1018","type":"BasicTicker"}},"id":"1021","type":"Grid"},{"attributes":{},"id":"1061","type":"Selection"},{"attributes":{},"id":"1027","type":"HelpTool"},{"attributes":{"below":[{"id":"1012","type":"LinearAxis"}],"center":[{"id":"1016","type":"Grid"},{"id":"1021","type":"Grid"}],"left":[{"id":"1017","type":"LinearAxis"}],"plot_height":500,"plot_width":850,"renderers":[{"id":"1038","type":"GlyphRenderer"},{"id":"1043","type":"GlyphRenderer"},{"id":"1048","type":"GlyphRenderer"}],"title":{"id":"1002","type":"Title"},"toolbar":{"id":"1028","type":"Toolbar"},"x_range":{"id":"1004","type":"DataRange1d"},"x_scale":{"id":"1008","type":"LinearScale"},"y_range":{"id":"1006","type":"DataRange1d"},"y_scale":{"id":"1010","type":"LinearScale"}},"id":"1001","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"1060","type":"UnionRenderers"},{"attributes":{},"id":"1062","type":"UnionRenderers"},{"attributes":{"callback":null},"id":"1006","type":"DataRange1d"},{"attributes":{},"id":"1022","type":"PanTool"},{"attributes":{"callback":null},"id":"1004","type":"DataRange1d"},{"attributes":{"line_color":"blue","line_width":3,"x":{"field":"x"},"y":{"field":"y"}},"id":"1036","type":"Line"},{"attributes":{"callback":null,"data":{"x":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],"y":{"__ndarray__":"AAAAAAAAAAAAAAAAAAA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","type":"Selection"},"selection_policy":{"id":"1058","type":"UnionRenderers"}},"id":"1035","type":"ColumnDataSource"},{"attributes":{"axis_label":"Baseline Expanded-Income Percentile","axis_label_text_font_size":{"value":"12pt"},"axis_label_text_font_style":"normal","formatter":{"id":"1053","type":"BasicTickFormatter"},"ticker":{"id":"1013","type":"BasicTicker"}},"id":"1012","type":"LinearAxis"},{"attributes":{},"id":"1023","type":"WheelZoomTool"},{"attributes":{},"id":"1058","type":"UnionRenderers"},{"attributes":{"axis_label":"Change in After-Tax Expanded Income","axis_label_text_font_size":{"value":"12pt"},"axis_label_text_font_style":"normal","formatter":{"id":"1050","type":"PrintfTickFormatter"},"ticker":{"id":"1018","type":"BasicTicker"}},"id":"1017","type":"LinearAxis"},{"attributes":{},"id":"1059","type":"Selection"},{"attributes":{"callback":null,"data":{},"selected":{"id":"1059","type":"Selection"},"selection_policy":{"id":"1060","type":"UnionRenderers"}},"id":"1040","type":"ColumnDataSource"},{"attributes":{"format":"%+.1f%%"},"id":"1050","type":"PrintfTickFormatter"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y"}},"id":"1037","type":"Line"},{"attributes":{},"id":"1057","type":"Selection"},{"attributes":{},"id":"1053","type":"BasicTickFormatter"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"value":0},"y":{"value":0}},"id":"1041","type":"Circle"},{"attributes":{"source":{"id":"1035","type":"ColumnDataSource"}},"id":"1039","type":"CDSView"},{"attributes":{},"id":"1018","type":"BasicTicker"},{"attributes":{},"id":"1026","type":"ResetTool"},{"attributes":{"ticker":{"id":"1013","type":"BasicTicker"}},"id":"1016","type":"Grid"},{"attributes":{},"id":"1025","type":"SaveTool"}],"root_ids":["1001"]},"title":"Bokeh Application","version":"1.1.0"}}
{"05c923ac-b885-4c61-8055-cf281c131ac7":{"roots":{"references":[{"attributes":{"ticker":{"id":"1013","type":"BasicTicker"}},"id":"1016","type":"Grid"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1022","type":"PanTool"},{"id":"1023","type":"WheelZoomTool"},{"id":"1024","type":"BoxZoomTool"},{"id":"1025","type":"SaveTool"},{"id":"1026","type":"ResetTool"},{"id":"1027","type":"HelpTool"}]},"id":"1028","type":"Toolbar"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y"}},"id":"1037","type":"Line"},{"attributes":{},"id":"1018","type":"BasicTicker"},{"attributes":{"dimension":1,"ticker":{"id":"1018","type":"BasicTicker"}},"id":"1021","type":"Grid"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"value":0},"y":{"value":0}},"id":"1042","type":"Circle"},{"attributes":{"overlay":{"id":"1056","type":"BoxAnnotation"}},"id":"1024","type":"BoxZoomTool"},{"attributes":{},"id":"1008","type":"LinearScale"},{"attributes":{"format":"%+.1f%%"},"id":"1050","type":"PrintfTickFormatter"},{"attributes":{},"id":"1027","type":"HelpTool"},{"attributes":{"data_source":{"id":"1035","type":"ColumnDataSource"},"glyph":{"id":"1036","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1037","type":"Line"},"selection_glyph":null,"view":{"id":"1039","type":"CDSView"}},"id":"1038","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"1045","type":"ColumnDataSource"},"glyph":{"id":"1046","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1047","type":"Line"},"selection_glyph":null,"view":{"id":"1049","type":"CDSView"}},"id":"1048","type":"GlyphRenderer"},{"attributes":{},"id":"1060","type":"UnionRenderers"},{"attributes":{"callback":null,"data":{"x":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],"y":{"__ndarray__":"AAAAAAAAAAAAAAAAAAAAAK+r3JTdoi0/AAAAAAAAAABTVVHS04u/P1fHM/jkM9E/tarwcE3I0D9b3X536HzRP2y3wR7v1dE/n5Vwlqrh0D8VRHyubRLQP4uyC3orc88/eVdxxxtmzj8L2dkdirvQP41a9d16tM4/In+acDYSzj+o7KbP0uHMP+Aod090G8s/pH4Gv1Nnyj+KrdHHHcTIP88L080/xsk/MddVXvg5zj/7TrRRK8zGPyWjdbwifso/ZuMM0ZI7zD9qSq1JXCjIP1rNo7xI+co/o1VItZCayj/Olo/+UoDLP2N7rWEeq9A/pz2T9Ln5yD/RwsAnRP7KP9dWI5PsiMw/1B3llR23yj8Vdxf+mTnLP3q8SqVrfc0/LJD6dCmzzj91fQ/K4P/OP4CBiJIZ3Ms/3GQaSHCHzT/b9PUFNcXMP7AxD7soXc0/7sdIqlrb0D/+Cm1SO0HMPzjKrOxNF80/IC3fu4tr0T/z47DujcTQP1SFmQIJx9I/qBm4Bdqn0T9sgYa3NdzQP59SFUSeq9A/1DFJoCum0D9Spu+db17SP3Yw8apIt9E/zc0YVI080D95Wr2uzMLQP/hmr0Ty7dA/5RGLblo50T+6C9VmjTjQP+Fe66y/xNE/oVxlwOQc0j+BCb2TulTRP9qdJrsGa9A/5ELBnCKJ0T/VxxifdJ/RP4ocbw9XTNE/Axouvq0M0T/vHSBRVL7RP7pylrciC9E/8xkMc2n20D8SJ6iZwp3RP0ZtOU87zdA/FOa/jXv70D9/TKzZjo/QP6MAIbMDW9E/kSWIPvGu0j/ILunu2nvTP/pvbFhsCNU/XCF1lgmu1D9Z6JQORR3VP/BD2m42BNU/eo9QmKqC1D/cYtn8p0HVPwRcXnmsXNU/jtfnsTG71D9HnVqK0FXUPwclawWOLtQ/HTp+1P6m0z/1g8XffoDTP+Uxow3fZNI/MntyR5jF0D8J+5JhDsvOP1BV27VutMo/FSn/d0HDxj9txa5hHyS5P8QC5uWKdsI/TiDbKspDvT+0adzOhuyzvwC6UE44Jfu/","dtype":"float64","shape":[99]}},"selected":{"id":"1057","type":"Selection"},"selection_policy":{"id":"1058","type":"UnionRenderers"}},"id":"1035","type":"ColumnDataSource"},{"attributes":{},"id":"1026","type":"ResetTool"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"1047","type":"Line"},{"attributes":{},"id":"1022","type":"PanTool"},{"attributes":{},"id":"1053","type":"BasicTickFormatter"},{"attributes":{"source":{"id":"1040","type":"ColumnDataSource"}},"id":"1044","type":"CDSView"},{"attributes":{"text":"Percentage Change in After-Tax Expanded Income by Income Percentile for 2020","text_font_size":{"value":"12pt"}},"id":"1002","type":"Title"},{"attributes":{"callback":null},"id":"1004","type":"DataRange1d"},{"attributes":{},"id":"1061","type":"Selection"},{"attributes":{"axis_label":"Baseline Expanded-Income Percentile","axis_label_text_font_size":{"value":"12pt"},"axis_label_text_font_style":"normal","formatter":{"id":"1053","type":"BasicTickFormatter"},"ticker":{"id":"1013","type":"BasicTicker"}},"id":"1012","type":"LinearAxis"},{"attributes":{"callback":null},"id":"1006","type":"DataRange1d"},{"attributes":{"source":{"id":"1045","type":"ColumnDataSource"}},"id":"1049","type":"CDSView"},{"attributes":{},"id":"1062","type":"UnionRenderers"},{"attributes":{"source":{"id":"1035","type":"ColumnDataSource"}},"id":"1039","type":"CDSView"},{"attributes":{},"id":"1059","type":"Selection"},{"attributes":{"data_source":{"id":"1040","type":"ColumnDataSource"},"glyph":{"id":"1041","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1042","type":"Circle"},"selection_glyph":null,"view":{"id":"1044","type":"CDSView"},"visible":false},"id":"1043","type":"GlyphRenderer"},{"attributes":{"line_color":"blue","line_width":3,"x":{"field":"x"},"y":{"field":"y"}},"id":"1036","type":"Line"},{"attributes":{"x":{"field":"x"},"y":{"field":"y"}},"id":"1046","type":"Line"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"1056","type":"BoxAnnotation"},{"attributes":{},"id":"1057","type":"Selection"},{"attributes":{"callback":null,"data":{"x":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100],"y":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"selected":{"id":"1061","type":"Selection"},"selection_policy":{"id":"1062","type":"UnionRenderers"}},"id":"1045","type":"ColumnDataSource"},{"attributes":{},"id":"1025","type":"SaveTool"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"value":0},"y":{"value":0}},"id":"1041","type":"Circle"},{"attributes":{},"id":"1010","type":"LinearScale"},{"attributes":{},"id":"1023","type":"WheelZoomTool"},{"attributes":{"below":[{"id":"1012","type":"LinearAxis"}],"center":[{"id":"1016","type":"Grid"},{"id":"1021","type":"Grid"}],"left":[{"id":"1017","type":"LinearAxis"}],"plot_height":500,"plot_width":850,"renderers":[{"id":"1038","type":"GlyphRenderer"},{"id":"1043","type":"GlyphRenderer"},{"id":"1048","type":"GlyphRenderer"}],"title":{"id":"1002","type":"Title"},"toolbar":{"id":"1028","type":"Toolbar"},"x_range":{"id":"1004","type":"DataRange1d"},"x_scale":{"id":"1008","type":"LinearScale"},"y_range":{"id":"1006","type":"DataRange1d"},"y_scale":{"id":"1010","type":"LinearScale"}},"id":"1001","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"1013","type":"BasicTicker"},{"attributes":{},"id":"1058","type":"UnionRenderers"},{"attributes":{"axis_label":"Change in After-Tax Expanded Income","axis_label_text_font_size":{"value":"12pt"},"axis_label_text_font_style":"normal","formatter":{"id":"1050","type":"PrintfTickFormatter"},"ticker":{"id":"1018","type":"BasicTicker"}},"id":"1017","type":"LinearAxis"},{"attributes":{"callback":null,"data":{},"selected":{"id":"1059","type":"Selection"},"selection_policy":{"id":"1060","type":"UnionRenderers"}},"id":"1040","type":"ColumnDataSource"}],"root_ids":["1001"]},"title":"Bokeh Application","version":"1.1.0"}}
</script>
<script type="text/javascript">
(function() {
Expand All @@ -52,7 +52,7 @@
function embed_document(root) {

var docs_json = document.getElementById('1151').textContent;
var render_items = [{"docid":"1a0293fb-80c4-4ac7-b186-ab5b4f91d1e4","roots":{"1001":"2631f1d9-269a-4db3-8c4c-41e3af1677fe"}}];
var render_items = [{"docid":"05c923ac-b885-4c61-8055-cf281c131ac7","roots":{"1001":"a81bb7ae-3e46-47de-9319-bdd539c31762"}}];
root.Bokeh.embed.embed_items(docs_json, render_items);

}
Expand Down

0 comments on commit 3fe2304

Please sign in to comment.