Skip to content

Commit

Permalink
update notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiKingsley committed Aug 14, 2024
1 parent 5532c83 commit e42a88d
Show file tree
Hide file tree
Showing 10 changed files with 22,140 additions and 20,571 deletions.
1,320 changes: 695 additions & 625 deletions examples/notebooks/lets-plot/guides/pie.ipynb

Large diffs are not rendered by default.

33,366 changes: 17,317 additions & 16,049 deletions examples/notebooks/lets-plot/guides/quick_start_guide.ipynb

Large diffs are not rendered by default.

Binary file modified examples/notebooks/lets-plot/guides/saved_plots/plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7,613 changes: 3,913 additions & 3,700 deletions examples/notebooks/lets-plot/guides/statistics_guide.ipynb

Large diffs are not rendered by default.

71 changes: 37 additions & 34 deletions examples/notebooks/lets-plot/samples/pie/nightingale_chart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,22 @@
"metadata": {
"collapsed": true,
"ExecuteTime": {
"end_time": "2024-08-01T15:58:36.395050Z",
"start_time": "2024-08-01T15:58:29.429463Z"
"end_time": "2024-08-14T11:41:09.900860Z",
"start_time": "2024-08-14T11:41:01.337057Z"
}
},
"source": "%use dataframe, kandy(0.7.0-dev-51, 0.3.0-dev-26)",
"source": [
"%useLatestDescriptors\n",
"%use dataframe, kandy"
],
"outputs": [],
"execution_count": 1
},
{
"metadata": {
"ExecuteTime": {
"end_time": "2024-08-01T16:00:27.066663Z",
"start_time": "2024-08-01T16:00:26.888398Z"
"end_time": "2024-08-14T11:41:10.085496Z",
"start_time": "2024-08-14T11:41:09.925203Z"
}
},
"cell_type": "code",
Expand All @@ -36,8 +39,8 @@
{
"metadata": {
"ExecuteTime": {
"end_time": "2024-08-01T16:02:57.147472Z",
"start_time": "2024-08-01T16:02:56.966808Z"
"end_time": "2024-08-14T11:41:11.530973Z",
"start_time": "2024-08-14T11:41:10.093189Z"
}
},
"cell_type": "code",
Expand Down Expand Up @@ -67,7 +70,7 @@
" <script type="text/javascript" data-lets-plot-script="library" src="https://cdn.jsdelivr.net/gh/JetBrains/[email protected]/js-package/distr/lets-plot.min.js"></script>\n",
" </head>\n",
" <body>\n",
" <div id="HMrCpZ"></div>\n",
" <div id="bOJ4db"></div>\n",
" <script type="text/javascript" data-lets-plot-script="plot">\n",
" var plotSpec={\n",
""mapping":{\n",
Expand All @@ -92,8 +95,8 @@
"},\n",
""stat":"identity",\n",
""data":{\n",
""size":[34.4,25.1,33.6,20.0,15.9],\n",
""month":["Jan","Feb","Mar","May","Apr"],\n",
""size":[34.4,25.1,33.6,20.0,15.9],\n",
""slice":[34.4,25.1,33.6,20.0,15.9]\n",
"},\n",
""sampling":"none",\n",
Expand All @@ -113,11 +116,11 @@
""axis_ontop_x":false\n",
"}\n",
"};\n",
" var plotContainer = document.getElementById("HMrCpZ");\n",
" var plotContainer = document.getElementById("bOJ4db");\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" </script>\n",
" </body>\n",
"&lt;/html>\"></iframe> <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" id=1a82eb4f-b20f-4c05-b6b2-0227b8f07952 width=\"100%\" height=\"100%\" style=\"max-width: 600.0px; max-height: 400.0px;\" viewBox=\"0 0 600.0 400.0\" preserveAspectRatio=\"xMinYMin meet\">\n",
"&lt;/html>\"></iframe> <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" id=b973e9cd-c083-4e5b-a238-2559726bbf69 width=\"100%\" height=\"100%\" style=\"max-width: 600.0px; max-height: 400.0px;\" viewBox=\"0 0 600.0 400.0\" preserveAspectRatio=\"xMinYMin meet\">\n",
" <style type=\"text/css\">\n",
" .plt-container {\n",
" font-family: Lucida Grande, sans-serif;\n",
Expand All @@ -129,112 +132,112 @@
"text {\n",
" text-rendering: optimizeLegibility;\n",
"}\n",
"#pSptH2m .plot-title {\n",
"#pQDocdO .plot-title {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 16.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .plot-subtitle {\n",
"#pQDocdO .plot-subtitle {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 15.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .plot-caption {\n",
"#pQDocdO .plot-caption {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .legend-title {\n",
"#pQDocdO .legend-title {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 15.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .legend-item {\n",
"#pQDocdO .legend-item {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .axis-title-x {\n",
"#pQDocdO .axis-title-x {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 15.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .axis-text-x {\n",
"#pQDocdO .axis-text-x {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#dijtV2V .axis-tooltip-text-x {\n",
"#dkhvQdh .axis-tooltip-text-x {\n",
" fill: #ffffff;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .axis-title-y {\n",
"#pQDocdO .axis-title-y {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 15.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .axis-text-y {\n",
"#pQDocdO .axis-text-y {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#dijtV2V .axis-tooltip-text-y {\n",
"#dkhvQdh .axis-tooltip-text-y {\n",
" fill: #ffffff;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .facet-strip-text-x {\n",
"#pQDocdO .facet-strip-text-x {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#pSptH2m .facet-strip-text-y {\n",
"#pQDocdO .facet-strip-text-y {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#dijtV2V .tooltip-text {\n",
"#dkhvQdh .tooltip-text {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: normal;\n",
" font-style: normal; \n",
"}\n",
"#dijtV2V .tooltip-title {\n",
"#dkhvQdh .tooltip-title {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
" font-weight: bold;\n",
" font-style: normal; \n",
"}\n",
"#dijtV2V .tooltip-label {\n",
"#dkhvQdh .tooltip-label {\n",
" fill: #474747;\n",
" font-family: Lucida Grande, sans-serif;\n",
" font-size: 13.0px;\n",
Expand All @@ -243,7 +246,7 @@
"}\n",
"\n",
" </style>\n",
" <g id=\"pSptH2m\">\n",
" <g id=\"pQDocdO\">\n",
" <path fill-rule=\"evenodd\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\" d=\"M0.0 0.0 L0.0 400.0 L600.0 400.0 L600.0 0.0 Z\">\n",
" </path>\n",
" <g transform=\"translate(6.5 6.5 ) \">\n",
Expand All @@ -261,7 +264,7 @@
" <g transform=\"\">\n",
" </g>\n",
" </g>\n",
" <g clip-path=\"url(#cl6pmQ9)\" clip-bounds-jfx=\"[rect (0.0, 0.0), (512.6830068840904, 387.0)]\">\n",
" <g clip-path=\"url(#cGvf38F)\" clip-bounds-jfx=\"[rect (0.0, 0.0), (512.6830068840904, 387.0)]\">\n",
" <g transform=\"\">\n",
" <g>\n",
" <g>\n",
Expand Down Expand Up @@ -329,7 +332,7 @@
" </g>\n",
" </g>\n",
" <defs>\n",
" <clipPath id=\"cl6pmQ9\">\n",
" <clipPath id=\"cGvf38F\">\n",
" <rect x=\"0.0\" y=\"0.0\" width=\"512.6830068840904\" height=\"387.0\">\n",
" </rect>\n",
" </clipPath>\n",
Expand Down Expand Up @@ -449,10 +452,10 @@
" <path fill=\"rgb(0,0,0)\" fill-opacity=\"0.0\" stroke=\"rgb(71,71,71)\" stroke-opacity=\"1.0\" stroke-width=\"0.0\" d=\"M0.0 0.0 L0.0 400.0 L600.0 400.0 L600.0 0.0 Z\">\n",
" </path>\n",
" </g>\n",
" <g id=\"dijtV2V\">\n",
" <g id=\"dkhvQdh\">\n",
" </g>\n",
"</svg>\n",
" <script>document.getElementById(\"1a82eb4f-b20f-4c05-b6b2-0227b8f07952\").style.display = \"none\";</script>"
" <script>document.getElementById(\"b973e9cd-c083-4e5b-a238-2559726bbf69\").style.display = \"none\";</script>"
],
"application/plot+json": {
"output_type": "lets_plot_spec",
Expand Down Expand Up @@ -531,12 +534,12 @@
"swing_enabled": true
}
},
"execution_count": 8,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"execution_count": 8
"execution_count": 3
}
],
"metadata": {
Expand Down
Loading

0 comments on commit e42a88d

Please sign in to comment.