From f0dfbda42b4e5335726f9ef3e151d7d18d1c60ae Mon Sep 17 00:00:00 2001 From: Stefanie Lumnitz <stefanie.lumnitz@gmail.com> Date: Sun, 13 Dec 2020 11:58:22 -0800 Subject: [PATCH 1/2] [DOC] add all supported classifiers to Notes --- mapclassify/_classify_API.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mapclassify/_classify_API.py b/mapclassify/_classify_API.py index 8488fa45..f230de32 100644 --- a/mapclassify/_classify_API.py +++ b/mapclassify/_classify_API.py @@ -94,11 +94,10 @@ def classify(y, scheme, k=5, pct=[1,10,50,90,99,100], and number of observations falling in each class (.counts) Note: Supported classifiers include: quantiles, box_plot, euqal_interval, - fisher_jenks, headtail_breaks, jenks_caspall, jenks_caspall_forced, - max_p_classifier, maximum_breaks, natural_breaks, percentiles, std_mean, - user_defined + fisher_jenks, fisher_jenks_sampled, headtail_breaks, jenks_caspall, + jenks_caspall_sampled, jenks_caspall_forced, max_p, maximum_breaks, + natural_breaks, percentiles, std_mean, user_defined - Examples -------- Imports From e75e4078f5ffd05f2bb9692e9b5cb45210200140 Mon Sep 17 00:00:00 2001 From: Stefanie Lumnitz <stefanie.lumnitz@gmail.com> Date: Sun, 13 Dec 2020 12:03:17 -0800 Subject: [PATCH 2/2] [DOC] rerun `06_api` displaying docstring changes --- notebooks/06_api.ipynb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/notebooks/06_api.ipynb b/notebooks/06_api.ipynb index f75a1789..1279497c 100644 --- a/notebooks/06_api.ipynb +++ b/notebooks/06_api.ipynb @@ -532,10 +532,9 @@ " and number of observations falling in each class (.counts)\n", "\n", "Note: Supported classifiers include: quantiles, box_plot, euqal_interval,\n", - " fisher_jenks, headtail_breaks, jenks_caspall, jenks_caspall_forced,\n", - " max_p_classifier, maximum_breaks, natural_breaks, percentiles, std_mean,\n", - " user_defined\n", - "\n", + " fisher_jenks, fisher_jenks_sampled, headtail_breaks, jenks_caspall,\n", + " jenks_caspall_sampled, jenks_caspall_forced, max_p, maximum_breaks,\n", + " natural_breaks, percentiles, std_mean, user_defined\n", "\n", "Examples\n", "--------\n", @@ -558,7 +557,7 @@ "Classify values by box_plot and set hinge to 2\n", "\n", ">>> box_plot = classify(x, 'box_plot', hinge=2)\n", - "\u001b[0;31mFile:\u001b[0m ~/Dropbox/p/pysal/src/subpackages/mapclassify/mapclassify/_classify_API.py\n", + "\u001b[0;31mFile:\u001b[0m ~/miniconda3/envs/classify/lib/python3.7/site-packages/mapclassify/_classify_API.py\n", "\u001b[0;31mType:\u001b[0m function\n" ] }, @@ -594,7 +593,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.7.4" } }, "nbformat": 4,