From 457f4f0821e0a775ec6eb7c859e2be39ee828f6a Mon Sep 17 00:00:00 2001 From: has2k1 Date: Mon, 19 Feb 2024 13:47:43 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20has2k1/p?= =?UTF-8?q?lotnine@217b7f9db29b56c4d451b79c1a74c36eda48707d=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../examples/PlotnineAnimation.out.ipynb | 6 +-- reference/examples/aes.out.ipynb | 6 +-- reference/examples/after_scale.out.ipynb | 10 ++--- reference/examples/after_stat.out.ipynb | 12 +++--- reference/examples/facet_grid.out.ipynb | 22 +++++----- reference/examples/facet_wrap.out.ipynb | 20 +++++----- reference/examples/geom_abline.out.ipynb | 14 +++---- reference/examples/geom_bar.out.ipynb | 4 +- reference/examples/geom_boxplot.out.ipynb | 10 ++--- reference/examples/geom_col.out.ipynb | 16 ++++---- reference/examples/geom_count.out.ipynb | 6 +-- reference/examples/geom_density.out.ipynb | 26 ++++++------ reference/examples/geom_histogram.out.ipynb | 36 ++++++++--------- reference/examples/geom_hline.out.ipynb | 14 +++---- reference/examples/geom_line.out.ipynb | 10 ++--- reference/examples/geom_map.out.ipynb | 8 ++-- reference/examples/geom_path.out.ipynb | 14 +++---- reference/examples/geom_point.out.ipynb | 8 ++-- reference/examples/geom_segment.out.ipynb | 24 +++++------ reference/examples/geom_smooth.out.ipynb | 10 ++--- reference/examples/geom_step.out.ipynb | 10 ++--- reference/examples/geom_tile.out.ipynb | 40 +++++++++---------- reference/examples/geom_violin.out.ipynb | 20 +++++----- reference/examples/geom_vline.out.ipynb | 12 +++--- .../examples/scale_x_continuous.out.ipynb | 10 ++--- reference/examples/stage.out.ipynb | 14 +++---- reference/examples/theme.out.ipynb | 28 ++++++------- 27 files changed, 205 insertions(+), 205 deletions(-) diff --git a/reference/examples/PlotnineAnimation.out.ipynb b/reference/examples/PlotnineAnimation.out.ipynb index 2755e5695..49918144d 100644 --- a/reference/examples/PlotnineAnimation.out.ipynb +++ b/reference/examples/PlotnineAnimation.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Spiral Animation \\###" ], - "id": "c7619557-80cb-46b6-88e5-7e6e328d5c12" + "id": "56d6d792-fe28-4c8b-ab48-ed55c6bce62c" }, { "cell_type": "code", @@ -49,7 +49,7 @@ "with the same limits for each aesthetic, including the `x` and `y`\n", "aesthetics." ], - "id": "66dbf942-b6a3-4fb7-ba34-957442372bb7" + "id": "5efaa96f-ad31-44b9-b8c8-63f7bd7a535b" }, { "cell_type": "code", @@ -3150,7 +3150,7 @@ "source": [ "The final image of the spiral" ], - "id": "59c6003d-f1b1-4691-98b8-ff5cfe021f4c" + "id": "b426342a-84ee-4b33-adc9-5305be1a3e22" }, { "cell_type": "code", diff --git a/reference/examples/aes.out.ipynb b/reference/examples/aes.out.ipynb index 630a68841..1f4631a84 100644 --- a/reference/examples/aes.out.ipynb +++ b/reference/examples/aes.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# aes" ], - "id": "780f8500-516f-4be7-a741-93da0d8236b0" + "id": "97f9cf89-182a-42d2-aa6d-c8e1c3ff8dfc" }, { "cell_type": "code", @@ -36,7 +36,7 @@ "\n", "Mapping variables to the visual properties of a plot." ], - "id": "24720d31-2d6c-4fb1-a1c8-dc4cdebd0451" + "id": "bcaf611e-c440-42d3-9978-cc564c423c60" }, { "cell_type": "code", @@ -134,7 +134,7 @@ "The first two positional arguments are `x` and `y` aesthetics. Any other\n", "aesthetic must be mapped with a keyword argument." ], - "id": "16b733ca-3d64-4a57-a982-c8ce2c8b39cc" + "id": "70c22d54-cd1a-4b67-979e-939302e981ae" }, { "cell_type": "code", diff --git a/reference/examples/after_scale.out.ipynb b/reference/examples/after_scale.out.ipynb index 98a0b2985..24ddd296d 100644 --- a/reference/examples/after_scale.out.ipynb +++ b/reference/examples/after_scale.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# after_scale" ], - "id": "3c44733f-e215-4a3a-9b5b-2a924c47a155" + "id": "75c2e2d2-b5c8-4526-b00b-ac587836bfc9" }, { "cell_type": "code", @@ -39,7 +39,7 @@ "\n", "Start off with a mapping to the `color`." ], - "id": "a82a1781-f36a-411c-b523-64820b03d56d" + "id": "36a3591d-1833-4571-9773-fc1e897ae4fd" }, { "cell_type": "code", @@ -77,7 +77,7 @@ "source": [ "We can match the `color` with the `fill`." ], - "id": "fcc7f39f-a2e8-458a-8f12-67f803259362" + "id": "949b20db-934d-4847-9a71-78a5ed69879f" }, { "cell_type": "code", @@ -115,7 +115,7 @@ "modify the `color` by adding to it an alpha channel i.e. `'#AABBCC'` to\n", "`'#AABBCC66'`." ], - "id": "f6d4ee5b-9f17-4f6b-b6d5-6edeae6c0eb1" + "id": "e2508ffd-93d3-4ff8-b4ec-ddb5f5d50476" }, { "cell_type": "code", @@ -156,7 +156,7 @@ "\n", "With a fitting theme." ], - "id": "4130de00-066d-4cc6-bed4-014ab285e45a" + "id": "88a282df-2877-4fac-a8e5-97b962043d32" }, { "cell_type": "code", diff --git a/reference/examples/after_stat.out.ipynb b/reference/examples/after_stat.out.ipynb index 9d69a574e..93c3e98df 100644 --- a/reference/examples/after_stat.out.ipynb +++ b/reference/examples/after_stat.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# after_stat" ], - "id": "78c9fe60-1473-4545-b083-31c9a2ecef1b" + "id": "2157f577-5f50-442f-a9a6-1e7e1e85419c" }, { "cell_type": "code", @@ -36,7 +36,7 @@ "`geom_bar` uses `stat_count` which by default maps the `y` aesthetic to\n", "the `count` which is the number of observations at a position." ], - "id": "ea5a6b5a-5ec4-45c6-821a-6395c18e5b4b" + "id": "5f5aff6c-0750-4d3d-a89f-893881adf8fa" }, { "cell_type": "code", @@ -77,7 +77,7 @@ "Using the `after_stat` function, we can instead map to the `prop` which\n", "is the ratio of points in the panel at a position." ], - "id": "294843f8-d4bd-4b15-9a8d-c05ab8bce39d" + "id": "074cfa54-b6f5-4050-a396-e9f324908b9b" }, { "cell_type": "code", @@ -114,7 +114,7 @@ "With `after_stat` you can used the variables calculated by the stat in\n", "expressions. For example we use the `count` to calculated the `prop`." ], - "id": "6ea1cb3f-2a8d-4d78-9a33-72a441bc0d70" + "id": "e2b0de06-8b1a-4123-a26d-c5fc777fb7f4" }, { "cell_type": "code", @@ -150,7 +150,7 @@ "For example, below `fill='var1'` has no effect, but the `var1` variable\n", "has not been lost it has been turned into `x` aesthetic." ], - "id": "ae5dd296-53e0-4975-86b8-eb9903d47598" + "id": "6e9e0e24-52b2-4520-8655-5b50414124d8" }, { "cell_type": "code", @@ -184,7 +184,7 @@ "We use `after_stat` to map `fill` to the `x` aesthetic after it has been\n", "computed." ], - "id": "7c0062c1-45b9-4f93-861c-67be1f485d24" + "id": "bd8f4517-27cb-4c8b-ba04-f34e1a648376" }, { "cell_type": "code", diff --git a/reference/examples/facet_grid.out.ipynb b/reference/examples/facet_grid.out.ipynb index 8bb7933ef..de10ea9fb 100644 --- a/reference/examples/facet_grid.out.ipynb +++ b/reference/examples/facet_grid.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Facet grid" ], - "id": "d06fda1a-86ee-4521-9a50-26aa9d7cd95e" + "id": "17daac8c-8fc1-4be1-bee9-6298369e16ab" }, { "cell_type": "code", @@ -37,7 +37,7 @@ "columns of the grid are set by the faceting variables. It is useful for\n", "visualising two discrete variables." ], - "id": "f3594657-80ff-4a74-8502-e03c5d4b0b6f" + "id": "133ca545-ef26-48d1-a66a-00a3bc85fff4" }, { "cell_type": "code", @@ -73,7 +73,7 @@ "source": [ "Basic scatter plot:" ], - "id": "918a2bea-81b6-4908-96f6-fc6a143e4aaf" + "id": "748ffcbe-643f-407c-865a-4d31b5d4eb03" }, { "cell_type": "code", @@ -110,7 +110,7 @@ "source": [ "Facet a discrete variable into rows:" ], - "id": "df42b0b8-8f72-4269-a3ad-07ac195cccc5" + "id": "9b0ac088-bb4d-4ebb-8b7f-4bd042d3d55f" }, { "cell_type": "code", @@ -148,7 +148,7 @@ "source": [ "Facet a discrete variable into columns:" ], - "id": "d11260d3-86ab-449b-ae9b-cd9d8b77485d" + "id": "f8d5632e-4bbd-4ff1-b740-b7d957270083" }, { "cell_type": "code", @@ -186,7 +186,7 @@ "source": [ "Facet two discrete variables into rows and columns:" ], - "id": "f2d83b9a-53d7-4634-92b6-ac3c8cc3580a" + "id": "eb4f8037-03dc-4b34-821d-92d01b29d5e8" }, { "cell_type": "code", @@ -225,7 +225,7 @@ "To change the plot order of the rows or columns in the facet grid,\n", "reorder the levels of the faceting variable in the data." ], - "id": "b3788d2c-77c5-420a-84ac-982a2d5fbed3" + "id": "dd4e37f6-1302-4e3b-8321-b6276edd1d62" }, { "cell_type": "code", @@ -283,7 +283,7 @@ "You can choose if the scale of x- and y-axes are fixed or variable by\n", "using the `scales` argument within the `facet_grid()` command:" ], - "id": "7a3ba1d3-7c60-4bcc-a2e2-a561f2654be6" + "id": "d2aa4e3b-ea43-4f51-8154-1ea47d63c8a4" }, { "cell_type": "code", @@ -323,7 +323,7 @@ "`labeller` argument within the `facet_grid()` command. Below we use\n", "`labeller = 'label_both'` to include the column name in the facet label." ], - "id": "fe414c5f-7b9b-4b32-9d1b-6b964a3a8458" + "id": "464d9492-14c3-42b6-bf29-45f28c8b194e" }, { "cell_type": "code", @@ -361,7 +361,7 @@ "source": [ "You can add two discrete variables to a facet:" ], - "id": "4e486209-df57-48a7-816f-de4cd5530deb" + "id": "363eca93-cafc-48a5-8147-38e916c29b34" }, { "cell_type": "code", @@ -462,7 +462,7 @@ "You can also change the colour of the strip by specifying `color` in\n", "`element_text()` ." ], - "id": "ff05d6e2-06db-48dc-a477-ca3140ebf575" + "id": "7d3fc4ec-2b69-4851-b96a-be613a6ae757" }, { "cell_type": "code", diff --git a/reference/examples/facet_wrap.out.ipynb b/reference/examples/facet_wrap.out.ipynb index 4a0a68585..9ea27aaa4 100644 --- a/reference/examples/facet_wrap.out.ipynb +++ b/reference/examples/facet_wrap.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Facet wrap" ], - "id": "1f675790-d3b5-48a0-9d94-07fc72076ccb" + "id": "2af271da-cc23-471d-ab25-90529f18801f" }, { "cell_type": "code", @@ -37,7 +37,7 @@ "is differentiated by the faceting variable. These plots are wrapped into\n", "a certain number of columns or rows as specified by the user." ], - "id": "7c6614a2-9f18-4387-9b02-8cf1784fec2d" + "id": "a32755d0-bd72-436c-ae5d-f79e9cd036f9" }, { "cell_type": "code", @@ -73,7 +73,7 @@ "source": [ "Basic scatter plot:" ], - "id": "1444a3e7-2d68-4415-8ce8-bde48f479263" + "id": "f792a5e6-ed4f-412d-a154-2a51da3b283b" }, { "cell_type": "code", @@ -110,7 +110,7 @@ "source": [ "Facet a discrete variable using `facet_wrap()`:" ], - "id": "a3056e21-e81b-4e93-bb11-ebf754f5579e" + "id": "cef01d70-dd6d-4e99-b984-badf9388868b" }, { "cell_type": "code", @@ -149,7 +149,7 @@ "Control the number of rows and columns with the options `nrow` and\n", "`ncol`:" ], - "id": "d9d0d4d5-9f80-427a-abc7-eb963f07f12c" + "id": "47771d69-5ff7-4e24-8b73-d16aea4b8513" }, { "cell_type": "code", @@ -227,7 +227,7 @@ "To change the plot order of the facets, reorder the levels of the\n", "faceting variable in the data." ], - "id": "fa4fba51-2259-4d66-b39f-3513013d3a84" + "id": "a54d354c-399c-4e10-9a82-92ca1f484096" }, { "cell_type": "code", @@ -288,7 +288,7 @@ "to bottom). However if you would prefer a vertical layout (facets are\n", "arranged top-to-bottom, from left to right) use the `dir` option:" ], - "id": "f07dd83b-f347-4c34-b037-1512cce053e0" + "id": "b3122cef-5ecc-4e52-9483-a409dc1ba806" }, { "cell_type": "code", @@ -336,7 +336,7 @@ "\n", "A fixed scale is the default and does not need to be specified." ], - "id": "ac28b700-fdae-408f-847f-c9d2020c27f9" + "id": "fe53b677-6b63-4087-afc5-68148bec60f8" }, { "cell_type": "code", @@ -380,7 +380,7 @@ "`labeller` argument within the `facet_wrap()` command. Below we use\n", "`labeller = 'label_both'` to include the column name in the facet label." ], - "id": "e588315f-6899-4afe-a0d9-3fd43a622f4b" + "id": "543a90b3-ef1a-432a-a4bf-96ab1b01aec6" }, { "cell_type": "code", @@ -419,7 +419,7 @@ "source": [ "You can add two discrete variables to a facet:" ], - "id": "34f04bc3-b61d-4cc6-a2ed-69d3433bec1f" + "id": "c62be499-e2ef-4250-95d9-ae28c0285b3d" }, { "cell_type": "code", diff --git a/reference/examples/geom_abline.out.ipynb b/reference/examples/geom_abline.out.ipynb index cda1796f3..7a5216d95 100644 --- a/reference/examples/geom_abline.out.ipynb +++ b/reference/examples/geom_abline.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# AB line" ], - "id": "fcfc9cb0-0839-4f94-9cf5-309c34334153" + "id": "0c1f4384-80af-4228-9c8c-999c54be8e04" }, { "cell_type": "code", @@ -36,7 +36,7 @@ "`geom_abline()` draws a line when the yintercept and gradient is\n", "supplied, and is useful as a guide." ], - "id": "cefa9e8e-8bc6-4817-98bd-7a22e18e6fc6" + "id": "dcccce43-3cb4-4902-aca0-c4dc96bc03ac" }, { "cell_type": "code", @@ -74,7 +74,7 @@ "It’s useful to use `geom_abline()` with some data, so we start with a\n", "basic scatter plot:" ], - "id": "af2ec7ad-e431-4707-ba20-2a75cccab0ed" + "id": "3e2abd0f-ce6e-4adf-a736-040455afa26b" }, { "cell_type": "code", @@ -113,7 +113,7 @@ "`geom_abline()` requires inputs for the slope (default slope is 1) and\n", "y-intercept (default value is \\[0,0\\])." ], - "id": "3f1ec4eb-83aa-4efe-a4b7-7da2e214ddc7" + "id": "31d61460-6898-4051-84bf-6a4aeb5e9c20" }, { "cell_type": "code", @@ -154,7 +154,7 @@ "source": [ "You can plot two lines on one plot:" ], - "id": "7dc58461-1590-45b0-92f7-d9798c00f86a" + "id": "a53da68b-fefa-433d-aadb-8e6ed383a14f" }, { "cell_type": "code", @@ -195,7 +195,7 @@ "source": [ "You can change the look of the line:" ], - "id": "503a2ae0-e571-4b9e-b1bb-ca5a266e98b7" + "id": "0edcb892-b93b-4693-8186-b2af2850cbc7" }, { "cell_type": "code", @@ -239,7 +239,7 @@ "source": [ "`geom_abline()` can be used with a facet plot:" ], - "id": "ed7ca151-c891-46bb-95b0-dc5fda6228fe" + "id": "8705b836-b54c-4c64-8404-4c8f05056ce5" }, { "cell_type": "code", diff --git a/reference/examples/geom_bar.out.ipynb b/reference/examples/geom_bar.out.ipynb index d9683570f..a608b4f1a 100644 --- a/reference/examples/geom_bar.out.ipynb +++ b/reference/examples/geom_bar.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Bar chart" ], - "id": "895d2ba0-23f1-4d85-adfd-23220a00865a" + "id": "5de28740-5b7f-4e58-919c-d295de32bb9c" }, { "cell_type": "code", @@ -36,7 +36,7 @@ "*geom_bar() makes the height of the bar proportional to the number of\n", "cases in each group*" ], - "id": "990994b1-5876-4bc0-90f1-6dde6aea3edf" + "id": "60f1fd78-083f-4955-a692-2922e7e80c3b" }, { "cell_type": "code", diff --git a/reference/examples/geom_boxplot.out.ipynb b/reference/examples/geom_boxplot.out.ipynb index eaae47e70..0b47b83d4 100644 --- a/reference/examples/geom_boxplot.out.ipynb +++ b/reference/examples/geom_boxplot.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# A box and whiskers plot" ], - "id": "d2ad17b9-a7a7-4e74-9562-d12686ec5cda" + "id": "2d45e37e-630a-4347-9bb6-9af05ccca7b9" }, { "cell_type": "code", @@ -47,7 +47,7 @@ "[ggplot2\n", "docs](https://ggplot2.tidyverse.org/reference/geom_boxplot.html)" ], - "id": "8fd82d54-1685-4c46-87b0-4e2f0e3c7907" + "id": "fd53a3ab-11ca-4415-940e-d25f75392e7b" }, { "cell_type": "code", @@ -84,7 +84,7 @@ "source": [ "Basic boxplot" ], - "id": "e97e5d21-bdc2-4878-9940-b9811ff50a1d" + "id": "8d79d88a-eb24-4a84-84b9-17d8eba734b3" }, { "cell_type": "code", @@ -147,7 +147,7 @@ "source": [ "Horizontal boxplot" ], - "id": "86cd1e22-dca6-4c3d-bbd5-89a6a19f6fec" + "id": "e01df35c-8aaf-4182-9259-ad2927ff0d96" }, { "cell_type": "code", @@ -189,7 +189,7 @@ "source": [ "Boxplot with jittered points:" ], - "id": "114a8c81-0131-4543-8adf-ade66f408a34" + "id": "1d822345-9d71-407f-8d44-19fc7b5ba2f6" }, { "cell_type": "code", diff --git a/reference/examples/geom_col.out.ipynb b/reference/examples/geom_col.out.ipynb index a952ca829..1e6949aef 100644 --- a/reference/examples/geom_col.out.ipynb +++ b/reference/examples/geom_col.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Two Variable Bar Plot" ], - "id": "3282b9ca-ffc2-40e5-8d3d-271af0b66123" + "id": "81494581-2daa-43af-b0ba-a3f40d4bdee0" }, { "cell_type": "code", @@ -53,7 +53,7 @@ "\n", "Create the data" ], - "id": "7826a3a7-1798-4922-ba3a-64db87d16712" + "id": "fc356128-788c-4b91-bbcd-32f09611cc57" }, { "cell_type": "code", @@ -124,7 +124,7 @@ "First we make a simple plot with all this information and see what to\n", "draw from it." ], - "id": "372ee949-edc7-4113-91da-0d29af015b22" + "id": "12b7bdbc-dd8a-4cb5-9b8d-60c679277959" }, { "cell_type": "code", @@ -162,7 +162,7 @@ "the difference within and without the groups is not clear. The solution\n", "is to `dodge` the bars." ], - "id": "47831902-8c72-41f2-8ad7-12020dff81d3" + "id": "f5ee9fcf-d91d-48ff-b3b9-95b6e75cf6c8" }, { "cell_type": "code", @@ -210,7 +210,7 @@ "make space or it would get clipped. Therefore we adjust the bottom `y`\n", "limits." ], - "id": "331435a7-b8af-424d-93d9-7747a232d94e" + "id": "20f1cb2b-01e1-4c2d-9477-7ed4fbbfa74d" }, { "cell_type": "code", @@ -257,7 +257,7 @@ "source": [ "Would it look too crowded if we add value labels on top of the bars?" ], - "id": "133a36ee-7ee4-4664-b747-b417f22867b5" + "id": "6f024295-450f-4d5c-90e7-a6d768afabc1" }, { "cell_type": "code", @@ -314,7 +314,7 @@ "y-axis, clear out the panel and make the `variable` and `category`\n", "labels have the same color." ], - "id": "d53f28fe-8e29-40f2-8fe7-6f6d80f92367" + "id": "75bbcf47-b439-41c1-a863-d456f353e789" }, { "cell_type": "code", @@ -384,7 +384,7 @@ "forgot/misplaced the link to the source. The user considered it a minor\n", "coup." ], - "id": "c2e5fbd7-68fe-4bad-aa8f-744f32b26160" + "id": "6659a631-49d7-4385-b6bd-1eef504ae4f4" } ], "nbformat": 4, diff --git a/reference/examples/geom_count.out.ipynb b/reference/examples/geom_count.out.ipynb index caba76460..dae3eeb37 100644 --- a/reference/examples/geom_count.out.ipynb +++ b/reference/examples/geom_count.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Categorized Data Plot" ], - "id": "f7ca600d-58fe-46db-b878-a0660616a69d" + "id": "7847deca-13ca-48c9-8c79-733cfd39bfb8" }, { "cell_type": "code", @@ -36,7 +36,7 @@ "*geom_count() makes the point size proportional to the number of points\n", "at a location*" ], - "id": "4a533235-241d-4fa1-a01a-ad5581367d9b" + "id": "2d65d39d-535e-488d-9746-cf11a687a5d4" }, { "cell_type": "code", @@ -101,7 +101,7 @@ "source": [ "We can adjust the size range of the points with `scale_size_continuous`" ], - "id": "bd1e6dba-7f98-4335-9d33-4a058bb8a85b" + "id": "fe763aae-a701-4130-b3cf-cb1751cefb9e" }, { "cell_type": "code", diff --git a/reference/examples/geom_density.out.ipynb b/reference/examples/geom_density.out.ipynb index f56d80b67..1fbc1b108 100644 --- a/reference/examples/geom_density.out.ipynb +++ b/reference/examples/geom_density.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Density Plot" ], - "id": "f5cc12ca-94aa-4bc3-90ca-60556a344368" + "id": "dae99bef-8146-4248-aa94-8b7c7bbc463b" }, { "cell_type": "code", @@ -46,7 +46,7 @@ "source": [ "### Density Plot" ], - "id": "730c5122-2c2e-4533-b451-d0fd098293ce" + "id": "8d3fd65c-77b0-4eff-830a-1f30be3e2afc" }, { "cell_type": "code", @@ -82,7 +82,7 @@ "source": [ "The defaults are not exactly beautiful, but still quite clear." ], - "id": "a7a9e0f1-fe0f-44b6-a133-0b003041eacb" + "id": "c22778d3-a990-4f3d-8ccd-d3a5ced0687a" }, { "cell_type": "code", @@ -120,7 +120,7 @@ "plotted as an independent PDF summing to 1, the relative size of each\n", "group will be normalized." ], - "id": "456d0a17-138e-477b-bf8d-8f1ca0f3334e" + "id": "4b20e250-6e65-48dc-b70b-adf394ba94d7" }, { "cell_type": "code", @@ -157,7 +157,7 @@ "To plot multiple groups and scale them by their relative size, you can\n", "map the `y` aesthetic to `'count'` (calculated by `stat_density`)." ], - "id": "a9976f6a-a706-4e8f-ae90-384a18e4906a" + "id": "69a8d2fa-220a-480b-961e-a3c7abfce76c" }, { "cell_type": "code", @@ -208,7 +208,7 @@ "1 unit wide i.e. `binwidth=1`. The `count * binwidth` curve matches the\n", "scale of `count`s for the histogram for a give `binwidth`." ], - "id": "dd743949-ec60-4579-b1eb-0c013c280830" + "id": "7c0fcc45-820d-4fd4-a27e-fb792c6b1587" }, { "cell_type": "code", @@ -259,7 +259,7 @@ "\n", "Create some data and plot the density" ], - "id": "4cde2c51-c869-4018-87a4-12dda78f89ba" + "id": "4480c3c0-1e10-45ad-a7e5-87325435530b" }, { "cell_type": "code", @@ -299,7 +299,7 @@ "Suppose we want to mark a region as special e.g. `(40, 60)`, we can use\n", "vertical lines to `annotate` it." ], - "id": "3b70a6bd-f7db-4ff5-a8d6-274d92f20711" + "id": "01908817-e74e-4001-bcdc-2c5556191254" }, { "cell_type": "code", @@ -339,7 +339,7 @@ "To make it standout more we can highlight. To do that, the first thought\n", "is to use a rectangle." ], - "id": "96b31a87-6bac-48ea-9788-fa8567c9a62b" + "id": "8049b349-1dc1-4b13-bc1d-e9b6f9ccb19a" }, { "cell_type": "code", @@ -391,7 +391,7 @@ "method. First, we override but do nothing, we only inspect the data to\n", "see what we have to work with." ], - "id": "1c7564d1-8a9e-4ec1-ba94-efd3399b66fd" + "id": "8d789945-03c3-45c0-b88e-83892d56bd4b" }, { "cell_type": "code", @@ -474,7 +474,7 @@ "that we can limit the rows to those where `x` column is within our\n", "region." ], - "id": "5fbb6d57-2cc4-4b4e-a019-5da61b5578ac" + "id": "32a549d1-5b8f-4bfd-9de4-74c49f163d07" }, { "cell_type": "code", @@ -527,7 +527,7 @@ "source": [ "That is it, but we can make it look better." ], - "id": "74f5cd42-e8d6-4b97-8969-8f7f93bef811" + "id": "197b04b3-f1a1-454c-abb5-e123566b3311" }, { "cell_type": "code", @@ -585,7 +585,7 @@ "[question](https://github.com/has2k1/plotnine/issues/574) from github\n", "user [Rishika-Ravindran](https://github.com/Rishika-Ravindran)." ], - "id": "bb9f9364-3e99-4e50-8a0e-e2b7321021c7" + "id": "bd81fe54-d1f5-41f4-b95e-7cbbf652cddd" } ], "nbformat": 4, diff --git a/reference/examples/geom_histogram.out.ipynb b/reference/examples/geom_histogram.out.ipynb index 1f041baf2..38b25c78e 100644 --- a/reference/examples/geom_histogram.out.ipynb +++ b/reference/examples/geom_histogram.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Histograms" ], - "id": "76795b0b-215e-4937-a656-414e64b23885" + "id": "7d4c5eb8-acbd-45e9-a165-61da3e9f2be1" }, { "cell_type": "code", @@ -58,7 +58,7 @@ "Distributions can be visualised as: \\* count, \\* normalised count, \\*\n", "density, \\* normalised density, \\* scaled density as a percentage." ], - "id": "a12b2754-d92d-4ecd-8470-b2c42d421160" + "id": "11af5cbf-2fd8-42a8-98b6-88e724f4bf87" }, { "cell_type": "code", @@ -95,7 +95,7 @@ "If you create a basic histogram, you will be prompted to define the\n", "binwidth or number of bins." ], - "id": "ea32ecfc-c447-4511-a51e-61fe1c1c466f" + "id": "b4794f40-6477-43b7-8c89-0f7e2d60b666" }, { "cell_type": "code", @@ -139,7 +139,7 @@ "You can define the width of the bins, by specifying the `binwidth`\n", "inside `geom_histogram()`." ], - "id": "5c19c79a-dec6-40d2-b58c-5a87161d7d0a" + "id": "9ce41e6d-5582-4168-a5fc-fc3028c46419" }, { "cell_type": "code", @@ -178,7 +178,7 @@ "can’t see them all because some of the bins are too small to be\n", "noticeable." ], - "id": "b68ba109-9935-434c-b827-73c8947eaf49" + "id": "b23b1e44-6239-4911-8c09-59f1234d59c1" }, { "cell_type": "code", @@ -216,7 +216,7 @@ "this using the `y` argument within `aes()`. In the example below I’m\n", "using the default setting: raw count with `after_stat('count')`." ], - "id": "e6fac594-c4ee-4066-8119-b4e06ea0f8a3" + "id": "e6b31c1c-a16b-4883-b27e-e756ea32abe5" }, { "cell_type": "code", @@ -258,7 +258,7 @@ "source": [ "You can normalise the raw count to 1 by using `after_stat('ncount')`:" ], - "id": "1146353c-193e-4478-8e2d-a61f053e9842" + "id": "1af5d6ff-983b-408f-bc67-ec95e64c4db5" }, { "cell_type": "code", @@ -301,7 +301,7 @@ "You can display the density of points in a bin, (this is scaled to\n", "integrate to 1) by using `after_stat('density')`:" ], - "id": "fc86ec1c-2e5e-4422-9a9a-a34404ef1240" + "id": "ab066b96-3b68-4696-b55d-98e265e52595" }, { "cell_type": "code", @@ -344,7 +344,7 @@ "The proportion of bins can be shown, in the example below the `bin=0.5`\n", "accounts for about ~55% of the data:" ], - "id": "5a84de29-0635-44de-95fa-cdbf6f3c9894" + "id": "db8ce381-4406-40c5-b7a7-4a142eeddcd7" }, { "cell_type": "code", @@ -384,7 +384,7 @@ "We can also display counts as percentages by using the\n", "`percent_format()` which requires the `mizani.formatters` library:" ], - "id": "aacf33d2-9e14-47a5-8454-a7a29159f953" + "id": "f8a58415-ef3d-4d61-8ee6-8a6dde35b490" }, { "cell_type": "code", @@ -423,7 +423,7 @@ "`geom_histogram()`, this is useful if you want to layer a few different\n", "plots in the one figure." ], - "id": "7283f2b0-d249-462b-9bf5-910e00a8637d" + "id": "97a0263b-fd7c-4036-aa17-198cba0b75cd" }, { "cell_type": "code", @@ -460,7 +460,7 @@ "source": [ "You can also flip the x-y coordinates:" ], - "id": "9af4731a-6cfe-4be5-937d-228b6e1ef078" + "id": "ea0a1c58-b62b-45c1-adc1-cfa59ec7cdae" }, { "cell_type": "code", @@ -497,7 +497,7 @@ "source": [ "You can visualise counts by other variables using `fill` within `aes()`:" ], - "id": "5ebfd3b8-9487-49a3-8e21-575884be0894" + "id": "3240e3dc-eee5-4786-8de9-866ff24cd229" }, { "cell_type": "code", @@ -536,7 +536,7 @@ "for a log-scale (similarly use `scale_x_sqrt()` and `scale_x_log10()` to\n", "transform the x-axis)." ], - "id": "6e0ff206-7156-4bae-89b2-f2393e0694b2" + "id": "9812fc5f-4859-4bde-8b13-bb82146b6744" }, { "cell_type": "code", @@ -609,7 +609,7 @@ "source": [ "Change the look of your plot:" ], - "id": "32543ef9-9999-4acc-b7a9-78972ab00769" + "id": "1652a078-e0b8-4d21-9e9e-faca99a14022" }, { "cell_type": "code", @@ -652,7 +652,7 @@ "source": [ "Another change, this time changing the fill colours manually:" ], - "id": "0c6a18fa-feff-47f4-9018-ed216cb8aa98" + "id": "35737dd0-9fa7-4337-9a51-e29cb4b98efa" }, { "cell_type": "code", @@ -706,7 +706,7 @@ "normalised by each facet, and not overall. Here’s an example of a facet\n", "wrap:" ], - "id": "8034a0f7-4201-4919-a200-c6b94dbaec5a" + "id": "e418d643-89b0-4442-a62e-b54f14649ec8" }, { "cell_type": "code", @@ -744,7 +744,7 @@ "Here’s an example of a facet grid with the count normalised in each\n", "grid:" ], - "id": "0efe0cab-cbd9-4b99-858d-99a05fca78b0" + "id": "b9ccab0d-6ddf-453d-81e3-82261d0063d4" }, { "cell_type": "code", diff --git a/reference/examples/geom_hline.out.ipynb b/reference/examples/geom_hline.out.ipynb index f75e6d49c..3edab9603 100644 --- a/reference/examples/geom_hline.out.ipynb +++ b/reference/examples/geom_hline.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Horizontal line" ], - "id": "67532228-263f-4f05-b092-183986c638f9" + "id": "05bec195-0c37-4018-8a98-f905d899121d" }, { "cell_type": "code", @@ -35,7 +35,7 @@ "\n", "`geom_hline()` draws a vertical line, and is useful as a guide." ], - "id": "d827c881-51dd-484f-92ce-4e4cafdc9fab" + "id": "2d62d908-c224-4334-80c7-7272e43fc0b4" }, { "cell_type": "code", @@ -72,7 +72,7 @@ "It’s useful to use `geom_hline()` with some data, so we start with a\n", "basic scatter plot:" ], - "id": "c1a3adb3-dd30-4d60-a0a4-e93ea6f0ac6f" + "id": "2e25d488-312b-4583-bb61-ea7aa68a823e" }, { "cell_type": "code", @@ -109,7 +109,7 @@ "source": [ "Now add a horizontal line to the scatter plot:" ], - "id": "3fc63e3d-611c-4113-b8bd-e0e0739ba578" + "id": "16c35e9c-6207-4810-aecf-270c78550372" }, { "cell_type": "code", @@ -147,7 +147,7 @@ "source": [ "You can add many horizontal lines:" ], - "id": "2f3532fc-e10a-4f87-9aa3-97a57304adf6" + "id": "ab109745-7fa9-4420-b964-0edd62972a8d" }, { "cell_type": "code", @@ -185,7 +185,7 @@ "source": [ "You can change the look of the line:" ], - "id": "b2bfe949-76c7-408f-b440-7f8410b2bfe6" + "id": "cfc46151-1e27-4826-b374-14b78ecbf183" }, { "cell_type": "code", @@ -228,7 +228,7 @@ "source": [ "And you can add horizontal lines to a facet plot:" ], - "id": "124adbf6-2cc7-4503-947f-8e3bdc351ac0" + "id": "2a53bd66-ba10-42c7-9978-32b8a336ade2" }, { "cell_type": "code", diff --git a/reference/examples/geom_line.out.ipynb b/reference/examples/geom_line.out.ipynb index 56deb896a..6ae7e35ce 100644 --- a/reference/examples/geom_line.out.ipynb +++ b/reference/examples/geom_line.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Line plots" ], - "id": "a4a25b32-5889-495e-ba64-91a866f26a2c" + "id": "2e590d1f-acc0-4f88-ac8c-f65e99c47639" }, { "cell_type": "code", @@ -35,7 +35,7 @@ "\n", "`geom_line()` connects the dots, and is useful for time series data." ], - "id": "21f5ed08-ff3e-40e1-8431-867e16e20381" + "id": "3e514c49-2be5-4700-bc5b-8f17968b89d9" }, { "cell_type": "code", @@ -100,7 +100,7 @@ "source": [ "You can put arrows at the end of a line:" ], - "id": "ed698d7f-7ba3-4576-8be8-e44adb03d9f1" + "id": "2bdbf024-6072-44c4-a457-b8ef2d2b7c1f" }, { "cell_type": "code", @@ -137,7 +137,7 @@ "source": [ "The arrow can be modified for a different look:" ], - "id": "79a7ab16-11e8-4ae0-9546-75b2c0ee2c18" + "id": "1729f29d-268e-4d39-9e67-4974773cdb76" }, { "cell_type": "code", @@ -180,7 +180,7 @@ "source": [ "You can change the look of the line:" ], - "id": "fec4420a-1682-4a57-b369-fe8983b33ffe" + "id": "c2d81093-c2bd-4a3c-b61a-5b3b7be681a1" }, { "cell_type": "code", diff --git a/reference/examples/geom_map.out.ipynb b/reference/examples/geom_map.out.ipynb index 48039fe49..be5359124 100644 --- a/reference/examples/geom_map.out.ipynb +++ b/reference/examples/geom_map.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# The Political Territories of Westeros" ], - "id": "6f1e5c68-dc8f-4a60-b030-488649ef6e98" + "id": "ad0a5768-69e6-4bba-b60d-ab40f36e378a" }, { "cell_type": "code", @@ -50,7 +50,7 @@ "\n", "Read data and select features in Westeros only." ], - "id": "195bb728-39e5-4f43-ae6c-0cd750726da2" + "id": "bb03f30d-d9a4-4aae-9b2f-9b53b87299f7" }, { "cell_type": "code", @@ -97,7 +97,7 @@ "The `GeoDataFrame.geometry.centroid` property has the center coordinates\n", "of polygons, we use these to place the labels of the political regions." ], - "id": "2186c838-fe76-46a2-8dfb-c52ff4f384be" + "id": "479846ed-3243-4b95-90b9-7683b01e78c7" }, { "cell_type": "code", @@ -199,7 +199,7 @@ "[cadaei](https://www.cartographersguild.com/member.php?u=95244) of the\n", "[cartographersguild](https://www.cartographersguild.com/) website forum." ], - "id": "f75a7b05-286e-4983-b573-196f3373a5fc" + "id": "7b5b36f0-e3fc-412e-9c0d-57b68fd2f90c" } ], "nbformat": 4, diff --git a/reference/examples/geom_path.out.ipynb b/reference/examples/geom_path.out.ipynb index b49b22bd5..87f5c4f3a 100644 --- a/reference/examples/geom_path.out.ipynb +++ b/reference/examples/geom_path.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Path plots" ], - "id": "ecb616a8-ada1-4dc5-9dc2-d4054d898ceb" + "id": "cd55895f-70a5-4525-999a-3be2c090cd4a" }, { "cell_type": "code", @@ -47,7 +47,7 @@ "appear in the data, this is different from `geom_line()` which connects\n", "observations in order of the variable on the x axis." ], - "id": "f901841d-16a8-4919-b226-729e3af848fd" + "id": "30a56069-2fa6-4380-980c-19f971bc24d1" }, { "cell_type": "code", @@ -84,7 +84,7 @@ "Because the data is in date order `geom_path()` (in pint) produces the\n", "same result as `geom_line()` (in black):" ], - "id": "fc043a79-b4c4-432b-8299-e194563dce2f" + "id": "d6641f93-5b3a-424d-b2ad-233d80a70083" }, { "cell_type": "code", @@ -128,7 +128,7 @@ "connects the observations in the order in which they appear in the data,\n", "this line is like a “journey through time”:" ], - "id": "385084b5-f29f-49c7-bc77-4efe81a0dad1" + "id": "412b5eec-db42-48b5-95d7-90329a6aae51" }, { "cell_type": "code", @@ -167,7 +167,7 @@ "two plots differ in what they can show: `geom_path()` shows the savings\n", "rate has gone down over time, which is not evident with `geom_path()`." ], - "id": "3e35f881-def5-455a-a6aa-ac1e65be9285" + "id": "a54faff9-8367-4734-b7a0-9a6439a3fd26" }, { "cell_type": "code", @@ -210,7 +210,7 @@ "The `geom_path` can be easier to interpret if time is coloured in. First\n", "convert time to a number, and use this number to colour the path:" ], - "id": "d5fad324-2e5b-4a55-bf5e-4a4581d37d66" + "id": "c45e8247-9541-4457-b1a3-13b773d4e42a" }, { "cell_type": "code", @@ -266,7 +266,7 @@ "The path is coloured such that it changes with time using the command\n", "`aes(colour='date_as_number')` within `geom_path()`." ], - "id": "2ead0390-5c71-4b78-a494-ec7ecefab7c7" + "id": "baffade6-3e88-4817-a360-c562a94ea30c" }, { "cell_type": "code", diff --git a/reference/examples/geom_point.out.ipynb b/reference/examples/geom_point.out.ipynb index f205a6548..c8e54418e 100644 --- a/reference/examples/geom_point.out.ipynb +++ b/reference/examples/geom_point.out.ipynb @@ -6,7 +6,7 @@ "source": [ "#" ], - "id": "eee2de8c-a4ee-4d0a-b539-cb72e42147a3" + "id": "011a8b7f-2895-454a-be71-b2bd0b5444bf" }, { "cell_type": "code", @@ -61,7 +61,7 @@ "source": [ "Basic scatter plot" ], - "id": "4d7262d4-7dd2-42a1-9ed2-d6562ba3abd7" + "id": "66248044-fe41-4a91-8c2b-a04a7dc7efb0" }, { "cell_type": "code", @@ -95,7 +95,7 @@ "source": [ "Aesthetic mappings" ], - "id": "278ab588-3080-4519-8661-7f8289606803" + "id": "3c85ded0-470f-476a-bc76-780b3c65099b" }, { "cell_type": "code", @@ -178,7 +178,7 @@ "source": [ "Modify the color scale" ], - "id": "f420d88b-b0c0-4625-acd5-655d7f7eebee" + "id": "889c9a6f-6a16-4c58-8364-d138661b9ed5" }, { "cell_type": "code", diff --git a/reference/examples/geom_segment.out.ipynb b/reference/examples/geom_segment.out.ipynb index 8a8516c58..c94d5c605 100644 --- a/reference/examples/geom_segment.out.ipynb +++ b/reference/examples/geom_segment.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Ranges of Similar Variables" ], - "id": "bee03253-eecd-4fa1-9c43-62feba42beca" + "id": "8778f231-b4c5-413b-b804-7ab17bc2df5b" }, { "cell_type": "code", @@ -42,7 +42,7 @@ "\n", "Source: Pew Research Global Attitudes Spring 2015" ], - "id": "69feefe6-01c9-4990-a00e-d4c6cbc61c1c" + "id": "8fc842fa-da5a-481f-8c96-5b0e8521a189" }, { "cell_type": "code", @@ -139,7 +139,7 @@ "source": [ "Create age groups for users of social media" ], - "id": "c7505d3a-d637-435d-8f09-429b2bbca6ed" + "id": "68c7014a-77a8-4428-9b5b-962257266c49" }, { "cell_type": "code", @@ -203,7 +203,7 @@ "source": [ "Top 14 countries by response rate to the social media question." ], - "id": "3f39be8d-9fb4-467a-b31e-cc448af3a7ee" + "id": "726382c5-e6ba-46c8-b0ae-2ad8b66058e4" }, { "cell_type": "code", @@ -314,7 +314,7 @@ "\n", "First plot" ], - "id": "95b234ca-b989-4a1f-8a65-1eb01f1d12a5" + "id": "95ebc36d-fa4c-4d6d-a898-a67115104482" }, { "cell_type": "code", @@ -405,7 +405,7 @@ "source": [ "Tweak it" ], - "id": "79363cb2-9f67-4f6d-a508-24eeb8be86f5" + "id": "5ac83578-4173-481f-a34e-cbb40ae4ada7" }, { "cell_type": "code", @@ -582,7 +582,7 @@ "\n", "Source: World Bank - Infanct Mortality Rate (per 1,000 live births)b" ], - "id": "cdd5aa34-87fd-4e98-998a-08ee3161b0c4" + "id": "aefafe85-8ef8-422d-b664-fa1584b1316e" }, { "cell_type": "code", @@ -632,7 +632,7 @@ "corresponding row in the metadata table. Where the row has regional\n", "aggregate data, the `Region` column in the metadata table is `NaN`." ], - "id": "d9ecfda6-8248-423a-a1a3-4108c6a82c8a" + "id": "39c90678-d311-4f93-94c2-febe7aef81ee" }, { "cell_type": "code", @@ -700,7 +700,7 @@ "source": [ "Remove the regional aggregates, to create a table with only country data" ], - "id": "5fda98af-825f-4bf1-91d1-0d90bacaa548" + "id": "7e08f96d-c0f5-4209-9d0b-8344055f1546" }, { "cell_type": "code", @@ -737,7 +737,7 @@ "We are interested in the changes in rank between 1960 and 2015. To plot\n", "a reasonable sized graph, we randomly sample 35 countries." ], - "id": "0acddeee-f51b-4d29-9588-31d1af8eef47" + "id": "2eba156a-00fa-4a64-8be3-016a41685769" }, { "cell_type": "code", @@ -782,7 +782,7 @@ "source": [ "First graph" ], - "id": "659ad2a7-fc4a-46d9-af5e-3b2adac1f6c5" + "id": "149ca640-2c84-4f3b-b9a0-b87e85c1b8cb" }, { "cell_type": "code", @@ -825,7 +825,7 @@ "source": [ "It has the form we want, but we need to tweak it." ], - "id": "048d2a13-4f6d-4506-824f-94b1dc0a6c66" + "id": "9a0820ea-97ec-49f0-a11d-6719d98310af" }, { "cell_type": "code", diff --git a/reference/examples/geom_smooth.out.ipynb b/reference/examples/geom_smooth.out.ipynb index 2cc2aa525..fcb3f4715 100644 --- a/reference/examples/geom_smooth.out.ipynb +++ b/reference/examples/geom_smooth.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Smoothed conditional means" ], - "id": "79d09304-d1f4-416b-aa31-942974919a47" + "id": "6d1e24c4-903a-410a-b034-0758e73ce74a" }, { "cell_type": "code", @@ -35,7 +35,7 @@ "\n", "*Aids the eye in seeing patterns in the presence of overplotting.*" ], - "id": "4c943c32-58e5-4871-93e7-9aabbf8fdfbf" + "id": "52750fab-1b4a-40e6-b9e9-dcae90f6317c" }, { "cell_type": "code", @@ -104,7 +104,7 @@ "small numbers make a wigglier curve, larger numbers make a smoother\n", "curve." ], - "id": "4d61aded-c857-42b9-a69b-beebea25e1f9" + "id": "76e736e0-76ec-4a26-bf4b-8553ef91d1cc" }, { "cell_type": "code", @@ -142,7 +142,7 @@ "source": [ "You can remove confidence interval around smooth with `se=False`:" ], - "id": "56bb190f-8896-40e4-865a-8fb7e49f94a3" + "id": "6f3e3c79-56c7-4093-aaec-8877d4da4280" }, { "cell_type": "code", @@ -180,7 +180,7 @@ "source": [ "Instead of a loess smooth, you can use any other modelling function:" ], - "id": "f0e1d954-b550-4ead-b196-e4d54815bb94" + "id": "80bdf5c8-f0a2-4e4c-be20-17873a3724d0" }, { "cell_type": "code", diff --git a/reference/examples/geom_step.out.ipynb b/reference/examples/geom_step.out.ipynb index 6e498ed8e..347f2c48d 100644 --- a/reference/examples/geom_step.out.ipynb +++ b/reference/examples/geom_step.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Step plots" ], - "id": "6b646fad-b2d8-40ee-8a04-e80753790a06" + "id": "22ca34f8-d913-45b8-9ee9-d0efe38aff89" }, { "cell_type": "code", @@ -35,7 +35,7 @@ "\n", "`geom_step()` connects points using ‘steps’ instead of a line." ], - "id": "b8f78e94-0dc0-465f-8ad7-b46a3dfc5df7" + "id": "2eb80ee0-7bd6-4b88-957f-c3c66aa9fe7a" }, { "cell_type": "code", @@ -73,7 +73,7 @@ "Plot a step plot using `geom_plot()`. Notice from the first point the\n", "line travels vertically then horizontally:" ], - "id": "48f3fcec-3042-4d05-a1ef-a48aca1aab77" + "id": "d9dbdc0b-979e-4a8e-9c74-2f0f588dda26" }, { "cell_type": "code", @@ -115,7 +115,7 @@ "You can see how `geom_path()` (shown in pink) differs from `geom_line()`\n", "(black):" ], - "id": "07410589-4f89-4a03-95a6-5156d274ad43" + "id": "b04061e4-922a-4e56-ba59-2315eec2d78a" }, { "cell_type": "code", @@ -161,7 +161,7 @@ "Below `direction='vh'` is shown in black with the default\n", "`direction='hv'` shown in pink:" ], - "id": "8345ee65-ac5b-4a19-9adf-8045c38b22fa" + "id": "0c25250c-eb30-49c6-bb9b-3e23795f3bdc" }, { "cell_type": "code", diff --git a/reference/examples/geom_tile.out.ipynb b/reference/examples/geom_tile.out.ipynb index 6744e9d5d..aec5c4243 100644 --- a/reference/examples/geom_tile.out.ipynb +++ b/reference/examples/geom_tile.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Periodic Table of Elements" ], - "id": "9da9c25b-cb04-444f-bffb-89b023db8589" + "id": "f1cccf10-762f-456d-81e0-bbdd43e314d5" }, { "cell_type": "code", @@ -53,7 +53,7 @@ "\n", "Read the data." ], - "id": "b86dbdc9-8274-4e82-ac46-a9ee9a32da28" + "id": "38ed2050-b0f3-4e77-af39-96b21eeb61fb" }, { "cell_type": "code", @@ -93,7 +93,7 @@ "Alter the data types of the information that will be plotted. This makes\n", "it convenient to work with." ], - "id": "87ebce8c-bb9e-4aef-bdcb-bf15adcc36cd" + "id": "2b610e83-4aaf-4ebc-b29c-7f171f8c6b75" }, { "cell_type": "code", @@ -123,7 +123,7 @@ "the `top` have groups, and those in the `bottom` have no groups. We make\n", "separate dataframes for both – they have different alignments." ], - "id": "523eb301-604c-40b9-b894-29b3416573cf" + "id": "358e7c6b-1ffe-4fd6-b78a-a393fa72097e" }, { "cell_type": "code", @@ -150,7 +150,7 @@ "The `top` table is nice and well behaving. The `x` location of the\n", "elements indicate the group and the `y` locations the period." ], - "id": "a342d7d5-4cda-4ba3-b328-21fc807fd7af" + "id": "59c8b7d1-f2c5-4756-a6a3-2ef64805f57f" }, { "cell_type": "code", @@ -181,7 +181,7 @@ "We add a vertical shift to give us a good `y` location that gives the\n", "appearance of two tables." ], - "id": "dbd6408c-556e-4157-babb-ed57e69761d2" + "id": "2378f6fa-8605-4de8-ae43-9a4332b47a33" }, { "cell_type": "code", @@ -213,7 +213,7 @@ "of space. To get a good effect, the tile dimensions should be less than\n", "1." ], - "id": "04bdd88b-7e4b-4029-bfe2-85040198b186" + "id": "b60d33bc-2600-4d32-9cbd-363a6e90123b" }, { "cell_type": "code", @@ -239,7 +239,7 @@ "source": [ "First peak" ], - "id": "ab8fe779-4f88-4ca1-83cb-cdd640bb4eb3" + "id": "4e4be861-f9f6-4b6a-a75f-6f3a6e1ffd39" }, { "cell_type": "code", @@ -278,7 +278,7 @@ "`y` locations since the periods are drawn in descending order. But, we\n", "can fix that with a `reverse` scale." ], - "id": "db10c723-bd7f-460b-80f9-3429ac63cd60" + "id": "e20cc64b-173d-451c-8303-5141ddff0992" }, { "cell_type": "code", @@ -316,7 +316,7 @@ "source": [ "Let us apply some color to it." ], - "id": "bf3c3737-4c0b-45b1-b946-93d793f511ee" + "id": "22c99484-e144-49e0-9c93-909f6e223de2" }, { "cell_type": "code", @@ -365,7 +365,7 @@ "\n", "We use a function that accepts a dataframe, and returns a list of geoms." ], - "id": "22476716-98ed-4c9e-860f-e3ce677f4ce7" + "id": "76c7dd80-2fd0-410b-8805-74a71174d1c3" }, { "cell_type": "code", @@ -445,7 +445,7 @@ "the `theme` create a larger figure. `coord_equal` give us equal units\n", "along the axes, this makes the tiles square." ], - "id": "e254c124-9eeb-4ca8-8a99-f482d802b615" + "id": "f2499cad-496a-4487-ac26-71108b6c66b1" }, { "cell_type": "code", @@ -494,7 +494,7 @@ "`y` locations. We create a dataframe with this information to create a\n", "half-tile. A half-tile is centered at the quarter mark." ], - "id": "ee53c6fc-50c2-42a3-9087-c79ac5ae968d" + "id": "268ff8b6-ab24-43c0-a1a5-a9383f5eca75" }, { "cell_type": "code", @@ -562,7 +562,7 @@ "Change the `fill` color for a different look and use a `theme` that\n", "clears out all the clutter." ], - "id": "c9aff266-4cd9-459d-92e9-8b388869f1cd" + "id": "59de8358-cf1e-4860-b10b-5479a2f547c0" }, { "cell_type": "code", @@ -617,7 +617,7 @@ "\n", "For the period number, we set the `breaks` on the `y scale`." ], - "id": "c0f81126-3c5d-437c-8e25-b5ca2934592c" + "id": "4c2d7abf-a91e-413e-af8d-1de06608420b" }, { "cell_type": "code", @@ -644,7 +644,7 @@ "source": [ "Finally," ], - "id": "2e43155e-133d-4b1f-8ce1-970d73279695" + "id": "d9db15b0-fbae-4291-ad55-5f35f1a4d8ee" }, { "cell_type": "code", @@ -720,7 +720,7 @@ "\n", "Read data" ], - "id": "e3bf7882-4951-422d-a568-f4953175914f" + "id": "073692c3-c751-4fb5-86c1-4d28f84c3edc" }, { "cell_type": "code", @@ -795,7 +795,7 @@ "passenger numbers. We use `pd.cut` to partition the number of passengers\n", "into two *discrete* groups." ], - "id": "394065f2-7a51-46ef-9e21-34915095cb39" + "id": "c12fe0a5-6305-442f-b54a-448c90fa7de6" }, { "cell_type": "code", @@ -865,7 +865,7 @@ "Last tweaks, put `January` at the top and remove the axis ticks and plot\n", "background." ], - "id": "feafb03f-69ad-4007-933a-1d58d0dcb1e0" + "id": "c492cad8-4abf-47fc-a937-8921692a60e1" }, { "cell_type": "code", @@ -921,7 +921,7 @@ "seaborn](https://seaborn.pydata.org/examples/heatmap_annotation.html)\n", "example." ], - "id": "976dd309-745c-4384-9802-d2539b992732" + "id": "da7d448d-0e83-436b-935d-9851b00a0c76" } ], "nbformat": 4, diff --git a/reference/examples/geom_violin.out.ipynb b/reference/examples/geom_violin.out.ipynb index 7bbb06773..58403b82f 100644 --- a/reference/examples/geom_violin.out.ipynb +++ b/reference/examples/geom_violin.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Violins, Boxes, Points and Lines" ], - "id": "fb26596d-db2a-4365-a36e-b96ed1381917" + "id": "682681d7-4ade-4aa7-890f-a81d6d2846e8" }, { "cell_type": "code", @@ -57,7 +57,7 @@ "For demonstration we shall generate data with a `before` measurement and\n", "an `after` measurement." ], - "id": "7e5865c1-18d3-4b47-9eb5-1f4a16ee8bca" + "id": "e036b5d5-38cc-4c4c-8bf8-8dfb48691e78" }, { "cell_type": "code", @@ -110,7 +110,7 @@ "source": [ "A basic violin plot shows distributions of the two sets of data." ], - "id": "914dc52e-827d-4e2e-bc7b-2ab55980a81a" + "id": "4bdbe2f5-0b01-4abb-a523-16ddfd9b48c1" }, { "cell_type": "code", @@ -146,7 +146,7 @@ "source": [ "Add the original data in form of points." ], - "id": "9daf7067-ac0e-49c7-aed9-bed9ce966c88" + "id": "08aa637e-5b35-48df-a284-c584fc6d4a47" }, { "cell_type": "code", @@ -186,7 +186,7 @@ "in half and choose to alternate with the left half for the first one and\n", "the right half for the second." ], - "id": "79a1434c-8c0c-433e-bff1-f47f04dcee55" + "id": "186fbf0d-1711-4b87-ba5c-64c66ed77d0e" }, { "cell_type": "code", @@ -223,7 +223,7 @@ "source": [ "Link up the points to get a sense of how the data the moves." ], - "id": "c5327f95-cc6d-4721-b1da-89529c994fb0" + "id": "bc79c853-93b3-424a-84fd-f2846d99525a" }, { "cell_type": "code", @@ -273,7 +273,7 @@ "`1, 2, 3, ...`, so we use that move objects of adjacent groups in\n", "opposite directions i.e \\$(-1)^1, (-1)^2, (-1)^3 … = -1, 1, -1… \\$" ], - "id": "69ba8537-2334-4e19-9717-867e8ccf9332" + "id": "aa77b46a-623b-4fc7-8797-c2137604eb2c" }, { "cell_type": "code", @@ -326,7 +326,7 @@ "and the center of the points is `2 * shift`, so we can use the `shift`\n", "to control the width of the boxplot." ], - "id": "018f333c-a6ef-4e0b-b341-0144e98791ca" + "id": "206d06d0-ad79-428f-bb94-cbe31c204fd8" }, { "cell_type": "code", @@ -365,7 +365,7 @@ "source": [ "Finall, style it up." ], - "id": "e93d6ac3-1e84-4ee6-9411-5e4a4e13a2f4" + "id": "508ec878-4641-41e6-9562-18714dbf14ca" }, { "cell_type": "code", @@ -414,7 +414,7 @@ "Langen](https://github.com/jorvlan) (@jorvlan) at\n", "https://github.com/jorvlan/open-visualizations." ], - "id": "ea4372d2-1090-48b2-97cf-0c7936f7d7f5" + "id": "ed920cd6-0e55-47f5-98b8-c063e165575a" } ], "nbformat": 4, diff --git a/reference/examples/geom_vline.out.ipynb b/reference/examples/geom_vline.out.ipynb index 02c47a7ef..fef4352ac 100644 --- a/reference/examples/geom_vline.out.ipynb +++ b/reference/examples/geom_vline.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Vertical line" ], - "id": "39eb5b60-f0ad-4f57-a037-72da8b462446" + "id": "eec6c2ad-9485-4534-8b62-19df62676504" }, { "cell_type": "code", @@ -42,7 +42,7 @@ "\n", "`geom_vline()` draws a vertical line, and is useful as a guide." ], - "id": "9572fd2a-50a1-4e85-ba86-e9b039a2c4c2" + "id": "63fec980-c2f7-40b5-9ed6-b79ea7bfd7e4" }, { "cell_type": "code", @@ -79,7 +79,7 @@ "It’s useful to use `geom_vline()` with some data, so we start with a\n", "basic scatter plot:" ], - "id": "4107135e-3180-4eb9-9c7a-980c753e5c4b" + "id": "bf507edc-c5f1-4cfa-a0d7-1bc0bbbbce10" }, { "cell_type": "code", @@ -116,7 +116,7 @@ "source": [ "Add a vertical line to the scatter plot:" ], - "id": "4b42bfce-ea1f-46c0-9a5f-d055cab06348" + "id": "90e583ab-0228-430b-b06f-94f7d6381c3c" }, { "cell_type": "code", @@ -154,7 +154,7 @@ "source": [ "You can add many vertical lines:" ], - "id": "5f725ae8-558a-4ee7-96b3-951ca4eba162" + "id": "80a23466-d22b-491d-bec2-3a9a42ce9474" }, { "cell_type": "code", @@ -227,7 +227,7 @@ "source": [ "Add vertical lines to a facet plot:" ], - "id": "3a8a30ba-facc-4b94-af7a-dffb1b4e57ac" + "id": "44c71ca1-54cd-4a33-8634-2cf0189dc1a1" }, { "cell_type": "code", diff --git a/reference/examples/scale_x_continuous.out.ipynb b/reference/examples/scale_x_continuous.out.ipynb index 700241068..3509472da 100644 --- a/reference/examples/scale_x_continuous.out.ipynb +++ b/reference/examples/scale_x_continuous.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# Guitar Neck \\###" ], - "id": "7e592829-f147-4670-b12c-1f0d49a0347e" + "id": "bf8efb1c-9a5b-4aff-8cb2-d2a0023d08b3" }, { "cell_type": "code", @@ -53,7 +53,7 @@ "The key parts of *any* transform object are the `transform` and\n", "`inverse` functions." ], - "id": "e9a646db-7f5c-4353-b848-cb180d886674" + "id": "7ba508bd-1c8a-4d40-9a36-1c3286cb4c88" }, { "cell_type": "code", @@ -113,7 +113,7 @@ "\n", "Some chord Data" ], - "id": "f7c43161-3659-4ee1-9afd-eb1e45715f82" + "id": "1087aef1-b59c-4a8d-bead-96dd6a2c1b0f" }, { "cell_type": "code", @@ -151,7 +151,7 @@ "source": [ "Visualizing the chord" ], - "id": "f03bfdeb-3e8a-40d3-9dca-486c1c6cbfae" + "id": "6fa31340-6d85-4c81-925c-ec8a4cc75669" }, { "cell_type": "code", @@ -211,7 +211,7 @@ "Vitale](https://github.com/jonvitale) who wanted to create graphics for\n", "a guitar scale trainer." ], - "id": "5265a467-98d6-4433-848c-20588c8a64ac" + "id": "efc593bf-0d1c-467c-b006-b43851e06e91" } ], "nbformat": 4, diff --git a/reference/examples/stage.out.ipynb b/reference/examples/stage.out.ipynb index 1c5f749cb..607682fdd 100644 --- a/reference/examples/stage.out.ipynb +++ b/reference/examples/stage.out.ipynb @@ -6,7 +6,7 @@ "source": [ "# stage" ], - "id": "54af3233-c18a-4de5-b668-85371fc45b3a" + "id": "87ec9ee2-0c52-4530-ba64-064253f5dc0d" }, { "cell_type": "code", @@ -47,7 +47,7 @@ "source": [ "### stage" ], - "id": "bfa422a7-6bf7-487b-987b-e1ce996a8082" + "id": "9315ce1b-6fb2-4ee0-8efe-06a7f96bf7ee" }, { "cell_type": "code", @@ -88,7 +88,7 @@ "source": [ "Add the corresponding count on top of each bar." ], - "id": "6a6a6577-436d-4766-bd6f-b22e4d5b492e" + "id": "2a5bb114-ee7f-417a-85a5-08b01b0764b9" }, { "cell_type": "code", @@ -125,7 +125,7 @@ "source": [ "Adjust the `y` position so that the counts do not overlap the bars." ], - "id": "5a27f717-7bca-45ec-ad08-04c6b932f29d" + "id": "9b7b800a-af7e-4cdc-b483-418711864030" }, { "cell_type": "code", @@ -166,7 +166,7 @@ "Note that this will work even nicely for stacked bars where adjustig the\n", "position with `nudge_y=0.1` would not." ], - "id": "b7570965-ff62-4b21-81ea-2c4f8bb3f34d" + "id": "6f25df2e-88da-4f25-8f8c-a07854d538d7" }, { "cell_type": "code", @@ -207,7 +207,7 @@ "source": [ "## Create a binned 2d plot with counts" ], - "id": "7676f348-84a9-4c36-b9ef-492f3f7ba8e0" + "id": "4199295b-856d-44e2-a5e0-b00e20063185" }, { "cell_type": "code", @@ -276,7 +276,7 @@ "Note that the binning parameters for the `geom` and `stat` combination\n", "must be the same. In this case it is the `binwidth`." ], - "id": "d6e84ebc-f2dd-4c17-a7f8-016a12a34492" + "id": "2fb735d5-651c-43fe-b6c7-a761ef286391" }, { "cell_type": "code", diff --git a/reference/examples/theme.out.ipynb b/reference/examples/theme.out.ipynb index 7088bcd4d..52577e0c3 100644 --- a/reference/examples/theme.out.ipynb +++ b/reference/examples/theme.out.ipynb @@ -6,7 +6,7 @@ "source": [ "#" ], - "id": "d3cc2f65-a0d6-43e4-a6f9-150f919aaae0" + "id": "64146ee8-535c-43e7-8496-91e15a2cb1cf" }, { "cell_type": "code", @@ -79,7 +79,7 @@ "source": [ "The base plots we will use for the demonstation and some colors." ], - "id": "8d3174f5-9b1e-4315-a1c8-1ee9a812b406" + "id": "96f7c127-f386-40f3-8338-bc9eadb8237c" }, { "cell_type": "code", @@ -119,7 +119,7 @@ "source": [ "What the plots look like unmodified (unthemed)." ], - "id": "1e39d9a8-fb21-415b-8ea5-ae928a20d534" + "id": "a14f41cc-0097-4a44-9c3e-6c8b12049a00" }, { "cell_type": "code", @@ -187,7 +187,7 @@ "\n", "**text**" ], - "id": "56cb21e3-c196-4376-b285-d13f22f223a7" + "id": "0e9ad740-8099-4825-b31e-4c942b8cab85" }, { "cell_type": "code", @@ -220,7 +220,7 @@ "source": [ "**rect**" ], - "id": "cb695f97-8d66-4fc1-8a59-c7acf03924b5" + "id": "3ebb33d0-0681-40e2-88e9-cbd0b40d4193" }, { "cell_type": "code", @@ -253,7 +253,7 @@ "source": [ "**line**" ], - "id": "0b818d1e-6135-4521-96a7-92db25cdcbf0" + "id": "5b8b8540-05a1-43de-bcde-184f78dbaa46" }, { "cell_type": "code", @@ -288,7 +288,7 @@ "\n", "### axis_line and axis_text" ], - "id": "a6994163-78e2-4a82-b971-9b9b931cee34" + "id": "c7fe20e3-b3ed-4ad4-8217-a80f521aeea5" }, { "cell_type": "code", @@ -366,7 +366,7 @@ "source": [ "### axis_title and axis_ticks_pad" ], - "id": "2323f6a5-e5c0-4fbf-b1a5-4e09089d1787" + "id": "64184014-bbcc-43af-b0de-d53f241aad14" }, { "cell_type": "code", @@ -409,7 +409,7 @@ "source": [ "### axis_ticks_direction" ], - "id": "5d429fea-4e1e-40c3-a4d5-5f0eb2a4285d" + "id": "2ec95b0a-bb2b-4ef9-a44b-8f80610c07fc" }, { "cell_type": "code", @@ -450,7 +450,7 @@ "\n", "Not all themeables that affect the legend box are demonstrated" ], - "id": "b394f6de-0a25-4fc7-9263-96d122626041" + "id": "42a39e0d-0154-44aa-8660-633b4a553d03" }, { "cell_type": "code", @@ -501,7 +501,7 @@ "source": [ "### plot_background, panel_background and panel_border" ], - "id": "2219c580-511f-493d-ac11-791d711da20a" + "id": "28d0cc7f-5500-4193-b578-fefa6e220b35" }, { "cell_type": "code", @@ -539,7 +539,7 @@ "source": [ "### panel_grid" ], - "id": "cd73a1fb-d8d5-4410-99cd-ff7f0e57cd5b" + "id": "c5ddec29-fef4-4289-ad19-d11a3d4b4ab1" }, { "cell_type": "code", @@ -581,7 +581,7 @@ "source": [ "### strip_background, strip_align and strip_text" ], - "id": "b5fc7a20-970f-4899-bac7-3ef805ffa2ce" + "id": "5673b39a-7971-489c-ac7b-88515b8d8700" }, { "cell_type": "code", @@ -634,7 +634,7 @@ "height = figure_size[0] * aspect_ratio\n", "```" ], - "id": "70bb5924-5c23-45ca-b64a-9d244c9cd748" + "id": "7e683a71-a4a8-4934-aa54-1f398a2e8003" }, { "cell_type": "code",