repo
stringclasses
10 values
instance_id
stringlengths
18
32
html_url
stringlengths
41
55
feature_patch
stringlengths
805
8.42M
test_patch
stringlengths
548
207k
doc_changes
listlengths
0
92
version
stringclasses
57 values
base_commit
stringlengths
40
40
PASS2PASS
listlengths
0
3.51k
FAIL2PASS
listlengths
0
5.17k
augmentations
dict
mask_doc_diff
listlengths
0
92
problem_statement
stringlengths
0
54.8k
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18595
https://github.com/scikit-learn/scikit-learn/pull/18595
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 5123878c2c5e3..a5b5257a891a3 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -474,6 +474,10 @@ Changelog :pr:`18266` by :user:`Subrat Sahu <subrat93>`, :user:`Nirvan <Nirvan101>` and :user:`Arthur Book <ArthurBook>`. +- |...
diff --git a/sklearn/model_selection/tests/test_validation.py b/sklearn/model_selection/tests/test_validation.py index 510811dfc4474..e8fdbc1dd32df 100644 --- a/sklearn/model_selection/tests/test_validation.py +++ b/sklearn/model_selection/tests/test_validation.py @@ -25,6 +25,8 @@ from sklearn.utils._testing import a...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 5123878c2c5e3..a5b5257a891a3 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
6b61d62c6a7f83b7d91a031bfc196775fcfcc6c9
[ "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_predict_proba_shape", "sklearn/model_selection/tests/test_validation.py::test_score_memmap", "sklearn/model_selection/tests/test_validation.py::test_validation_curve_clone_estimator", "sklearn/model_selection/tests/test_validation.py::t...
[ "sklearn/model_selection/tests/test_validation.py::test_learning_curve_incremental_learning_fit_params", "sklearn/model_selection/tests/test_validation.py::test_learning_curve_fit_params" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 5123878c2c5e3..a5b5257a891a3 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 5123878c2c5e3..a5b5257a891a3 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -474,6 +474,10 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`, :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :func:`model_selection.learning_...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15361
https://github.com/scikit-learn/scikit-learn/pull/15361
diff --git a/doc/modules/feature_selection.rst b/doc/modules/feature_selection.rst index 2683a35eaf72b..3351eaa9689fc 100644 --- a/doc/modules/feature_selection.rst +++ b/doc/modules/feature_selection.rst @@ -121,9 +121,9 @@ Recursive feature elimination Given an external estimator that assigns weights to features (e....
diff --git a/sklearn/feature_selection/tests/test_from_model.py b/sklearn/feature_selection/tests/test_from_model.py index 89c1777b8c32c..37b5c105e1daa 100644 --- a/sklearn/feature_selection/tests/test_from_model.py +++ b/sklearn/feature_selection/tests/test_from_model.py @@ -15,6 +15,8 @@ ...
[ { "path": "doc/modules/feature_selection.rst", "old_path": "a/doc/modules/feature_selection.rst", "new_path": "b/doc/modules/feature_selection.rst", "metadata": "diff --git a/doc/modules/feature_selection.rst b/doc/modules/feature_selection.rst\nindex 2683a35eaf72b..3351eaa9689fc 100644\n--- a/doc/m...
0.24
b4e215c01c00e9e6128351ac0af391f3502d22e3
[ "sklearn/feature_selection/tests/test_rfe.py::test_multioutput[RFE]", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_cv_n_jobs", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_features_importance", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_allow_nan_inf_in_x[None]", "sklearn/fea...
[ "sklearn/feature_selection/tests/test_rfe.py::test_rfe_wrapped_estimator[RFECV-4-importance_getter0]", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_importance_getter_validation[RFE-auto-ValueError]", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_importance_getter_validation[RFECV-<lambda>-Att...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/feature_selection.rst", "old_path": "a/doc/modules/feature_selection.rst", "new_path": "b/doc/modules/feature_selection.rst", "metadata": "diff --git a/doc/modules/feature_selection.rst b/doc/modules/feature_selection.rst\nindex 2683a35eaf72b..3351eaa9689fc 100644\n--- a/doc/m...
diff --git a/doc/modules/feature_selection.rst b/doc/modules/feature_selection.rst index 2683a35eaf72b..3351eaa9689fc 100644 --- a/doc/modules/feature_selection.rst +++ b/doc/modules/feature_selection.rst @@ -121,9 +121,9 @@ Recursive feature elimination Given an external estimator that assigns weights to features (e....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16326
https://github.com/scikit-learn/scikit-learn/pull/16326
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 04e10be72cd54..fcc55e68bb985 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -621,6 +621,11 @@ Changelog :mod:`sklearn.naive_bayes` ............................. +- |Enhancement| Adds a parameter `min_categories` to + :class...
diff --git a/sklearn/tests/test_naive_bayes.py b/sklearn/tests/test_naive_bayes.py index a9f558eeae703..e95eccc0c747d 100644 --- a/sklearn/tests/test_naive_bayes.py +++ b/sklearn/tests/test_naive_bayes.py @@ -676,6 +676,7 @@ def test_categoricalnb(): clf = CategoricalNB(alpha=1, fit_prior=False) clf.fit(X3,...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 04e10be72cd54..fcc55e68bb985 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.24
87eea7d409592e6b586bf2c9c1749f57c94c055b
[ "sklearn/tests/test_naive_bayes.py::test_gnb_priors_sum_isclose", "sklearn/tests/test_naive_bayes.py::test_discretenb_input_check_fit[BernoulliNB]", "sklearn/tests/test_naive_bayes.py::test_discretenb_coef_intercept_shape[MultinomialNB]", "sklearn/tests/test_naive_bayes.py::test_discretenb_input_check_partial...
[ "sklearn/tests/test_naive_bayes.py::test_categoricalnb", "sklearn/tests/test_naive_bayes.py::test_categoricalnb_with_min_categories[1-exp_X1_count2-exp_X2_count2-new_X2-exp_n_categories_2]", "sklearn/tests/test_naive_bayes.py::test_categoricalnb_min_categories_errors[min_categories1-'min_categories' should have...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 04e10be72cd54..fcc55e68bb985 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 04e10be72cd54..fcc55e68bb985 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -621,6 +621,11 @@ Changelog :mod:`sklearn.naive_bayes` ............................. +- |Enhancement| Adds a parameter `min_categories` to + :class...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17317
https://github.com/scikit-learn/scikit-learn/pull/17317
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 024dd074e2e41..79d57913a9565 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -590,6 +590,34 @@ In the transformed `X`, the first column is the encoding of the feature with categories "male"/"female", whil...
diff --git a/sklearn/preprocessing/tests/test_encoders.py b/sklearn/preprocessing/tests/test_encoders.py index 239d388ebd9d1..aa169597976af 100644 --- a/sklearn/preprocessing/tests/test_encoders.py +++ b/sklearn/preprocessing/tests/test_encoders.py @@ -9,6 +9,7 @@ from sklearn.exceptions import NotFittedError from sk...
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex 024dd074e2e41..79d57913a9565 100644\n--- a/doc/modules/preprocessing...
0.24
73732e5a0bc9b72c7049dc699d69aaedbb70ef0a
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_feature_names_unicode", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_inverse_if_binary", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_pandas", "sklearn/preprocessing/tests/test_encoders.py::test_o...
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[mixed-float-nan]", "sklearn/preprocessing/tests/test_encoders.py::test_ohe_missing_value_support_pandas", "sklearn/preprocessing/tests/test_encoders.py::test_ohe_missing_value_support_pandas_categorical[pd.NA]", "sklearn/preprocessing/tests/t...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex 024dd074e2e41..79d57913a9565 100644\n--- a/doc/modules/preprocessing...
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 024dd074e2e41..79d57913a9565 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -590,6 +590,34 @@ In the transformed `X`, the first column is the encoding of the feature with categories "male"/"female", whil...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17478
https://github.com/scikit-learn/scikit-learn/pull/17478
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 2aebbaed470ab..8a9b081562bd6 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -91,6 +91,11 @@ Changelog samples between the train and test set on each fold. :pr:`13204` by :user:`Kyle Kosic <kykosic>`. +- |Feature| :class:...
diff --git a/sklearn/model_selection/tests/test_search.py b/sklearn/model_selection/tests/test_search.py index 8a20872ac762a..6cdc19d378362 100644 --- a/sklearn/model_selection/tests/test_search.py +++ b/sklearn/model_selection/tests/test_search.py @@ -56,6 +56,7 @@ from sklearn.tree import DecisionTreeClassifier fro...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 2aebbaed470ab..8a9b081562bd6 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
e57fab1265969686a3c218c52dce507e7bd9486c
[ "sklearn/model_selection/tests/test_search.py::test__custom_fit_no_run_search", "sklearn/model_selection/tests/test_search.py::test_grid_search_score_method", "sklearn/model_selection/tests/test_search.py::test_param_sampler", "sklearn/model_selection/tests/test_search.py::test_grid_search_precomputed_kernel"...
[ "sklearn/model_selection/tests/test_search.py::test_search_cv_score_samples_method[search_cv0]", "sklearn/model_selection/tests/test_search.py::test_search_cv_score_samples_error[search_cv0]", "sklearn/model_selection/tests/test_search.py::test_search_cv_score_samples_error[search_cv1]", "sklearn/model_select...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 2aebbaed470ab..8a9b081562bd6 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 2aebbaed470ab..8a9b081562bd6 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -91,6 +91,11 @@ Changelog samples between the train and test set on each fold. :pr:`<PRID>` by :user:`<NAME>`. +- |Feature| :class:`model_select...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17406
https://github.com/scikit-learn/scikit-learn/pull/17406
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 61e6f431af4e3..a7b38124a1bfb 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -330,6 +330,12 @@ Changelog which clips the transformed values of test data to ``feature_range``. :pr:`17833` by :user:`Yashika Sharma <yashika51>...
diff --git a/sklearn/preprocessing/tests/test_encoders.py b/sklearn/preprocessing/tests/test_encoders.py index 5bff754fab752..f030406e070fa 100644 --- a/sklearn/preprocessing/tests/test_encoders.py +++ b/sklearn/preprocessing/tests/test_encoders.py @@ -553,6 +553,67 @@ def test_ordinal_encoder_raise_missing(X): ...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 61e6f431af4e3..a7b38124a1bfb 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
12e30fa10fb8dcbbed642cae3bd5a2b25d1ba11b
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_feature_names_unicode", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_inverse_if_binary", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_pandas", "sklearn/preprocessing/tests/test_encoders.py::test_o...
[ "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_handle_unknowns_raise", "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_handle_unknowns_numeric[float]", "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_handle_unknowns_numeric[int]", "sklearn/preproces...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 61e6f431af4e3..a7b38124a1bfb 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 61e6f431af4e3..a7b38124a1bfb 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -330,6 +330,12 @@ Changelog which clips the transformed values of test data to ``feature_range``. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancemen...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17833
https://github.com/scikit-learn/scikit-learn/pull/17833
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index b7f53eb3198c6..aca7d47703e73 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -296,6 +296,10 @@ Changelog :class:`preprocessing.KBinsDiscretizer`. :pr:`16335` by :user:`Arthur Imbert <Henley13>`. +- |Enhancement| Add ``cli...
diff --git a/sklearn/preprocessing/tests/test_common.py b/sklearn/preprocessing/tests/test_common.py index 802329fc5ce32..a00dd2b6cb025 100644 --- a/sklearn/preprocessing/tests/test_common.py +++ b/sklearn/preprocessing/tests/test_common.py @@ -36,18 +36,20 @@ def _get_valid_samples_by_column(X, col): @pytest.mark...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex b7f53eb3198c6..aca7d47703e73 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
2d1bc8b8e68582cbe8d71b4e20dc8a29306eb0e1
[ "sklearn/preprocessing/tests/test_data.py::test_polynomial_features_csr_X_dim_edges[3-1-True]", "sklearn/preprocessing/tests/test_data.py::test_robust_scaler_equivalence_dense_sparse[None-0.05]", "sklearn/preprocessing/tests/test_common.py::test_missing_value_pandas_na_support[est1-minmax_scale]", "sklearn/pr...
[ "sklearn/preprocessing/tests/test_data.py::test_minmax_scaler_clip[feature_range1]", "sklearn/preprocessing/tests/test_data.py::test_minmax_scaler_clip[feature_range0]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex b7f53eb3198c6..aca7d47703e73 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index b7f53eb3198c6..aca7d47703e73 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -296,6 +296,10 @@ Changelog :class:`preprocessing.KBinsDiscretizer`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| Add ``clip`` parameter to ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18510
https://github.com/scikit-learn/scikit-learn/pull/18510
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index af6b023be05fc..96e5a2b82bc35 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -576,6 +576,12 @@ Changelog :class:`preprocessing.KBinsDiscretizer`. :pr:`16335` by :user:`Arthur Imbert <Henley13>`. +- |Feature| Add ``sample_...
diff --git a/sklearn/preprocessing/tests/test_data.py b/sklearn/preprocessing/tests/test_data.py index c09acf1591532..5775956bdd89e 100644 --- a/sklearn/preprocessing/tests/test_data.py +++ b/sklearn/preprocessing/tests/test_data.py @@ -89,7 +89,7 @@ def assert_correct_incr(i, batch_start, batch_stop, n, chunk_size, ...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex af6b023be05fc..96e5a2b82bc35 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
e2583d45f76421fb3efcb4529adab553ca840704
[ "sklearn/preprocessing/tests/test_data.py::test_polynomial_features_csr_X_dim_edges[3-1-True]", "sklearn/preprocessing/tests/test_data.py::test_robust_scaler_equivalence_dense_sparse[None-0.05]", "sklearn/preprocessing/tests/test_data.py::test_power_transformer_copy_False[True-box-cox]", "sklearn/preprocessin...
[ "sklearn/preprocessing/tests/test_data.py::test_standard_scaler_dtype[False]", "sklearn/preprocessing/tests/test_data.py::test_standard_scaler_dtype[True]", "sklearn/preprocessing/tests/test_data.py::test_standard_scaler_sparse_sample_weights[Xw0-X0-sample_weight0]", "sklearn/preprocessing/tests/test_data.py:...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex af6b023be05fc..96e5a2b82bc35 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index af6b023be05fc..96e5a2b82bc35 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -576,6 +576,12 @@ Changelog :class:`preprocessing.KBinsDiscretizer`. :pr:`<PRID>` by :user:`<NAME>`. +- |Feature| Add ``sample_weight`` paramete...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17193
https://github.com/scikit-learn/scikit-learn/pull/17193
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 463d66172d53c..848b415890452 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -91,6 +91,14 @@ Changelog :class:`metrics.median_absolute_error`. :pr:`17225` by :user:`Lucy Liu <lucyleeow>`. +:mod:`sklearn.preprocessing` +.....
diff --git a/sklearn/preprocessing/tests/test_data.py b/sklearn/preprocessing/tests/test_data.py index f79703610bee5..acf0be9461898 100644 --- a/sklearn/preprocessing/tests/test_data.py +++ b/sklearn/preprocessing/tests/test_data.py @@ -1651,6 +1651,26 @@ def test_robust_scaler_zero_variance_features(): assert_arr...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 463d66172d53c..848b415890452 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
6c3e17989a7d80c34f124365f2c436a3fdcb1497
[ "sklearn/preprocessing/tests/test_data.py::test_polynomial_features_csr_X_dim_edges[3-1-True]", "sklearn/preprocessing/tests/test_data.py::test_robust_scaler_equivalence_dense_sparse[None-0.05]", "sklearn/preprocessing/tests/test_data.py::test_power_transformer_copy_False[True-box-cox]", "sklearn/preprocessin...
[ "sklearn/preprocessing/tests/test_data.py::test_robust_scaler_unit_variance" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 463d66172d53c..848b415890452 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 463d66172d53c..848b415890452 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -91,6 +91,14 @@ Changelog :class:`metrics.median_absolute_error`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.preprocessing` +..................
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16335
https://github.com/scikit-learn/scikit-learn/pull/16335
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 2aebbaed470ab..5111c08423428 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -99,6 +99,10 @@ Changelog variance of 1. :pr:`17193` by :user:`Lucy Liu <lucyleeow>` and :user:`Mabel Villalba <mabelvj>`. +- |Enhancement| Add ...
diff --git a/sklearn/preprocessing/tests/test_discretization.py b/sklearn/preprocessing/tests/test_discretization.py index 309cc6fbcd083..0e93008be0e19 100644 --- a/sklearn/preprocessing/tests/test_discretization.py +++ b/sklearn/preprocessing/tests/test_discretization.py @@ -9,7 +9,8 @@ from sklearn.utils._testing im...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 2aebbaed470ab..5111c08423428 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
8feb04524caf78c6a84b56fc59917a0eadcb69c2
[ "sklearn/preprocessing/tests/test_discretization.py::test_inverse_transform[onehot-kmeans-expected_inv1]", "sklearn/preprocessing/tests/test_discretization.py::test_fit_transform_n_bins_array[kmeans-expected1]", "sklearn/preprocessing/tests/test_discretization.py::test_same_min_max[quantile]", "sklearn/prepro...
[ "sklearn/preprocessing/tests/test_discretization.py::test_32_equal_64[ordinal-float32]", "sklearn/preprocessing/tests/test_discretization.py::test_32_equal_64[ordinal-float16]", "sklearn/preprocessing/tests/test_discretization.py::test_consistent_dtype[onehot-dense-float32-float16]", "sklearn/preprocessing/te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 2aebbaed470ab..5111c08423428 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 2aebbaed470ab..5111c08423428 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -99,6 +99,10 @@ Changelog variance of 1. :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| Add `dtype` parameter to + :class:...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17759
https://github.com/scikit-learn/scikit-learn/pull/17759
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 096d05b91db1d..c41f761de1018 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -164,8 +164,8 @@ Changelog class to be used when computing the precision and recall statistics. :pr:`17569` by :user:`Guillaume Lemaitre <glemaitr...
diff --git a/sklearn/neural_network/tests/test_mlp.py b/sklearn/neural_network/tests/test_mlp.py index 85b0840445a5a..8a1c5f2a5d232 100644 --- a/sklearn/neural_network/tests/test_mlp.py +++ b/sklearn/neural_network/tests/test_mlp.py @@ -716,3 +716,61 @@ def test_early_stopping_stratified(): ValueError, ...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 096d05b91db1d..c41f761de1018 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
903c82e118296cbcc32cf3efe1e626ff30e38bb3
[ "sklearn/neural_network/tests/test_mlp.py::test_params_errors[args11]", "sklearn/neural_network/tests/test_mlp.py::test_params_errors[args7]", "sklearn/neural_network/tests/test_mlp.py::test_params_errors[args17]", "sklearn/neural_network/tests/test_mlp.py::test_mlp_regressor_dtypes_casting", "sklearn/neura...
[ "sklearn/neural_network/tests/test_mlp.py::test_mlp_param_dtypes[MLPClassifier-float32]", "sklearn/neural_network/tests/test_mlp.py::test_mlp_param_dtypes[MLPRegressor-float32]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 096d05b91db1d..c41f761de1018 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 096d05b91db1d..c41f761de1018 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -164,8 +164,8 @@ Changelog class to be used when computing the precision and recall statistics. :pr:`<PRID>` by :user:`<NAME>`. -- |Feature| :fu...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-11682
https://github.com/scikit-learn/scikit-learn/pull/11682
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 9c5623a2a4f38..2e9ab3884b1b5 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1478,6 +1478,7 @@ details. semi_supervised.LabelPropagation semi_supervised.LabelSpreading + semi_supervised.SelfTrainingClassifier .....
diff --git a/sklearn/semi_supervised/tests/test_self_training.py b/sklearn/semi_supervised/tests/test_self_training.py new file mode 100644 index 0000000000000..b5c44996d5e52 --- /dev/null +++ b/sklearn/semi_supervised/tests/test_self_training.py @@ -0,0 +1,320 @@ +from math import ceil + +import numpy as np +from nump...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 9c5623a2a4f38..2e9ab3884b1b5 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
0.24
a85430acdd49b7a63a4de110ee437d092d460d70
[]
[ "sklearn/semi_supervised/tests/test_self_training.py::test_none_iter", "sklearn/semi_supervised/tests/test_self_training.py::test_warns_k_best", "sklearn/semi_supervised/tests/test_self_training.py::test_missing_predict_proba", "sklearn/semi_supervised/tests/test_self_training.py::test_zero_iterations[y0-base...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/semi_supervised/plot_self_training_varying_threshold.py" }, { "type": "file...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 9c5623a2a4f38..2e9ab3884b1b5 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 9c5623a2a4f38..2e9ab3884b1b5 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1478,6 +1478,7 @@ details. semi_supervised.LabelPropagation semi_supervised.LabelSpreading + semi_supervised.SelfTrainingClassifier .....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17987
https://github.com/scikit-learn/scikit-learn/pull/17987
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index b61d71bfabe43..c6ef6e5994cdf 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -361,6 +361,12 @@ Changelog validity of the input is now delegated to the base estimator. :pr:`17233` by :user:`Zolisa Bleki <zoj613>`. +- |Enha...
diff --git a/sklearn/ensemble/tests/test_common.py b/sklearn/ensemble/tests/test_common.py index 0ed6bac169c72..b8a34b4188802 100644 --- a/sklearn/ensemble/tests/test_common.py +++ b/sklearn/ensemble/tests/test_common.py @@ -1,3 +1,4 @@ +import numpy as np import pytest from sklearn.base import clone @@ -6,14 +7,20...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex b61d71bfabe43..c6ef6e5994cdf 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
0111511ea38a97503091ce34a3bb3621eedb8fcf
[]
[ "sklearn/tests/test_multiclass.py::test_ecoc_gridsearch", "sklearn/tests/test_multiclass.py::test_ovr_multilabel_dataset", "sklearn/tests/test_multiclass.py::test_ovo_float_y", "sklearn/tests/test_pipeline.py::test_fit_predict_with_intermediate_fit_params", "sklearn/tests/test_multioutput.py::test_multi_out...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex b61d71bfabe43..c6ef6e5994cdf 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index b61d71bfabe43..c6ef6e5994cdf 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -361,6 +361,12 @@ Changelog validity of the input is now delegated to the base estimator. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :clas...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15126
https://github.com/scikit-learn/scikit-learn/pull/15126
diff --git a/doc/glossary.rst b/doc/glossary.rst index 86cb3c06f5634..42e746c38b9ec 100644 --- a/doc/glossary.rst +++ b/doc/glossary.rst @@ -1583,10 +1583,10 @@ functions or non-estimator constructors. in the User Guide. Where multiple metrics can be evaluated, ``scoring`` may be given - eith...
diff --git a/sklearn/metrics/tests/test_score_objects.py b/sklearn/metrics/tests/test_score_objects.py index 227fd8bbadee9..67900b7cb77c3 100644 --- a/sklearn/metrics/tests/test_score_objects.py +++ b/sklearn/metrics/tests/test_score_objects.py @@ -206,69 +206,66 @@ def check_scoring_validator_for_single_metric_usecase...
[ { "path": "doc/glossary.rst", "old_path": "a/doc/glossary.rst", "new_path": "b/doc/glossary.rst", "metadata": "diff --git a/doc/glossary.rst b/doc/glossary.rst\nindex 86cb3c06f5634..42e746c38b9ec 100644\n--- a/doc/glossary.rst\n+++ b/doc/glossary.rst\n@@ -1583,10 +1583,10 @@ functions or non-estimat...
0.24
89e49b6641871d7106d5e196be69707d81c8d30d
[ "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_predict_proba_shape", "sklearn/metrics/tests/test_score_objects.py::test_scorer_memmap_input[roc_auc_ovr_weighted]", "sklearn/model_selection/tests/test_search.py::test_search_default_iid[GridSearchCV-specialized_params0]", "sklearn/met...
[ "sklearn/model_selection/tests/test_validation.py::test_cross_validate_invalid_scoring_param", "sklearn/metrics/tests/test_score_objects.py::test_multimetric_scorer_calls_method_once[scorers1-1-0-1]", "sklearn/model_selection/tests/test_validation.py::test_cross_validate", "sklearn/metrics/tests/test_score_ob...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/glossary.rst", "old_path": "a/doc/glossary.rst", "new_path": "b/doc/glossary.rst", "metadata": "diff --git a/doc/glossary.rst b/doc/glossary.rst\nindex 86cb3c06f5634..42e746c38b9ec 100644\n--- a/doc/glossary.rst\n+++ b/doc/glossary.rst\n@@ -1583,10 +1583,10 @@ functions or non-estimat...
diff --git a/doc/glossary.rst b/doc/glossary.rst index 86cb3c06f5634..42e746c38b9ec 100644 --- a/doc/glossary.rst +++ b/doc/glossary.rst @@ -1583,10 +1583,10 @@ functions or non-estimator constructors. in the User Guide. Where multiple metrics can be evaluated, ``scoring`` may be given - eith...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17386
https://github.com/scikit-learn/scikit-learn/pull/17386
diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst index b336111649461..c613ec43d96d0 100644 --- a/doc/modules/tree.rst +++ b/doc/modules/tree.rst @@ -10,7 +10,7 @@ Decision Trees for :ref:`classification <tree_classification>` and :ref:`regression <tree_regression>`. The goal is to create a model that predicts...
diff --git a/sklearn/tree/tests/test_tree.py b/sklearn/tree/tests/test_tree.py index 23788fc97fd60..d9a9d5c356c58 100644 --- a/sklearn/tree/tests/test_tree.py +++ b/sklearn/tree/tests/test_tree.py @@ -8,16 +8,21 @@ import pytest import numpy as np +from numpy.testing import assert_allclose from scipy.sparse import...
[ { "path": "doc/modules/tree.rst", "old_path": "a/doc/modules/tree.rst", "new_path": "b/doc/modules/tree.rst", "metadata": "diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst\nindex b336111649461..c613ec43d96d0 100644\n--- a/doc/modules/tree.rst\n+++ b/doc/modules/tree.rst\n@@ -10,7 +10,7 @@ De...
0.24
e2ed74b734cfc8297a12770427bc6be6e38ed70f
[ "sklearn/tree/tests/test_tree.py::test_diabetes_overfit[mse-ExtraTreeRegressor-ExtraTreeRegressor]", "sklearn/tree/tests/test_tree.py::test_1d_input[ExtraTreeRegressor]", "sklearn/tree/tests/test_tree.py::test_prune_tree_regression_are_subtrees[ExtraTreeRegressor-zeros-mse]", "sklearn/tree/tests/test_tree.py:...
[ "sklearn/tree/tests/test_tree.py::test_diabetes_overfit[poisson-DecisionTreeRegressor-DecisionTreeRegressor]", "sklearn/tree/tests/test_tree.py::test_error", "sklearn/tree/tests/test_tree.py::test_sparse[check_sparse_criterion-sparse-neg-DecisionTreeRegressor]", "sklearn/tree/tests/test_tree.py::test_regressi...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/tree.rst", "old_path": "a/doc/modules/tree.rst", "new_path": "b/doc/modules/tree.rst", "metadata": "diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst\nindex b336111649461..c613ec43d96d0 100644\n--- a/doc/modules/tree.rst\n+++ b/doc/modules/tree.rst\n@@ -10,7 +10,7 @@ De...
diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst index b336111649461..c613ec43d96d0 100644 --- a/doc/modules/tree.rst +++ b/doc/modules/tree.rst @@ -10,7 +10,7 @@ Decision Trees for :ref:`classification <tree_classification>` and :ref:`regression <tree_regression>`. The goal is to create a model that predicts...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18508
https://github.com/scikit-learn/scikit-learn/pull/18508
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 6491d043b8900..42ca8e37dcd42 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -598,6 +598,13 @@ Changelog with different endianness. :pr:`17644` by :user:`Qi Zhang <qzhang90>`. +Miscellaneous +............. + +- |Enhanceme...
diff --git a/sklearn/utils/tests/test_pprint.py b/sklearn/utils/tests/test_pprint.py index 210ce9ca5b342..57d71075a14b1 100644 --- a/sklearn/utils/tests/test_pprint.py +++ b/sklearn/utils/tests/test_pprint.py @@ -574,3 +574,36 @@ def set_params(self, **params): with config_context(print_changed_only=False): ...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 6491d043b8900..42ca8e37dcd42 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
aa4a10dbfaee9fd52af06f0f0c8e8ae77f243ef6
[ "sklearn/utils/tests/test_pprint.py::test_gridsearch_pipeline", "sklearn/utils/tests/test_pprint.py::test_n_max_elements_to_show", "sklearn/utils/tests/test_pprint.py::test_builtin_prettyprinter", "sklearn/utils/tests/test_pprint.py::test_pipeline", "sklearn/utils/tests/test_pprint.py::test_deeply_nested", ...
[ "sklearn/utils/tests/test_pprint.py::test_complexity_print_changed_only" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 6491d043b8900..42ca8e37dcd42 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 6491d043b8900..42ca8e37dcd42 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -598,6 +598,13 @@ Changelog with different endianness. :pr:`<PRID>` by :user:`<NAME>`. +Miscellaneous +............. + +- |Enhancement| Calls to...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17876
https://github.com/scikit-learn/scikit-learn/pull/17876
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index ef3b9ecd2ebd6..454829b2728ee 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -411,6 +411,14 @@ Changelog :class:`neural_network.MLPRegressor`. :pr:`17759` by :user:`Srimukh Sripada <d3b0unce>`. +:mod:`sklearn.pipeline` +....
diff --git a/sklearn/tests/test_pipeline.py b/sklearn/tests/test_pipeline.py index 3f838d044a1e1..24206c07011e2 100644 --- a/sklearn/tests/test_pipeline.py +++ b/sklearn/tests/test_pipeline.py @@ -1220,3 +1220,19 @@ def transform(self, X, y=None): t.fit(X, y, a=0) t.fit_transform(X, y, a=0) + + +def test_fe...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex ef3b9ecd2ebd6..454829b2728ee 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
c6579afdc474e75686a1797d1322cfc3d6aaa601
[ "sklearn/tests/test_pipeline.py::test_pipeline_param_error", "sklearn/tests/test_pipeline.py::test_set_params_nested_pipeline", "sklearn/tests/test_pipeline.py::test_set_pipeline_steps", "sklearn/tests/test_pipeline.py::test_pipeline_init_tuple", "sklearn/tests/test_pipeline.py::test_verbose[est0-\\\\[Pipel...
[ "sklearn/tests/test_pipeline.py::test_feature_union_warns_unknown_transformer_weight" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex ef3b9ecd2ebd6..454829b2728ee 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index ef3b9ecd2ebd6..454829b2728ee 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -411,6 +411,14 @@ Changelog :class:`neural_network.MLPRegressor`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.pipeline` +.......................
scikit-learn/scikit-learn
scikit-learn__scikit-learn-14048
https://github.com/scikit-learn/scikit-learn/pull/14048
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 96702dae01235..692dd233b25ee 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -99,6 +99,11 @@ Changelog a column name that is not unique in the dataframe. :pr:`16431` by `Thomas Fan`_. +- |Enhancement| :class:`compose.Colu...
diff --git a/sklearn/compose/tests/test_column_transformer.py b/sklearn/compose/tests/test_column_transformer.py index d26f6895427bb..2edb412645750 100644 --- a/sklearn/compose/tests/test_column_transformer.py +++ b/sklearn/compose/tests/test_column_transformer.py @@ -668,25 +668,88 @@ def test_column_transformer_get_f...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 96702dae01235..692dd233b25ee 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
e275218ad6b5d5bc3c6195d139dbfafa0f2978c1
[ "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_verbose[fit_transform-est5-\\\\[ColumnTransformer\\\\].*\\\\(1 of 2\\\\) Processing trans1.* total=.*\\\\n\\\\[ColumnTransformer\\\\].*\\\\(2 of 2\\\\) Processing trans2.* total=.*\\\\n$]", "sklearn/compose/tests/test_column_transformer.py...
[ "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_get_feature_names_dataframe", "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_get_feature_names" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 96702dae01235..692dd233b25ee 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 96702dae01235..692dd233b25ee 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -99,6 +99,11 @@ Changelog a column name that is not unique in the dataframe. :pr:`<PRID>` by `Thomas Fan`_. +- |Enhancement| :class:`compose.Col...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15980
https://github.com/scikit-learn/scikit-learn/pull/15980
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 4d81a3cde4463..e1cc71595ade2 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -82,6 +82,12 @@ Changelog by :user:`Stephanie Andrews <gitsteph>` and :user:`Reshama Shaikh <reshamas>`. +- |Feature| embedded dataset loaders :...
diff --git a/sklearn/datasets/tests/test_base.py b/sklearn/datasets/tests/test_base.py index 7f56217e93455..a58bdc9ed644d 100644 --- a/sklearn/datasets/tests/test_base.py +++ b/sklearn/datasets/tests/test_base.py @@ -25,6 +25,8 @@ from sklearn.datasets import load_wine from sklearn.utils import Bunch from sklearn.da...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 4d81a3cde4463..e1cc71595ade2 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
54a09dc864620c4e351aa0c08cb0425a4006052d
[ "sklearn/datasets/tests/test_base.py::test_load_files_wo_load_content", "sklearn/datasets/tests/test_base.py::test_load_sample_images", "sklearn/datasets/tests/test_base.py::test_load_sample_image", "sklearn/datasets/tests/test_base.py::test_load_digits", "sklearn/datasets/tests/test_base.py::test_load_iris...
[ "sklearn/datasets/tests/test_base.py::test_toy_dataset_as_frame[load_linnerud-float64-float64]", "sklearn/datasets/tests/test_base.py::test_toy_dataset_as_frame[load_wine-float64-int64]", "sklearn/datasets/tests/test_base.py::test_toy_dataset_as_frame[load_diabetes-float64-float64]", "sklearn/datasets/tests/t...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 4d81a3cde4463..e1cc71595ade2 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 4d81a3cde4463..e1cc71595ade2 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -82,6 +82,12 @@ Changelog by :user:`<NAME>` and :user:`<NAME>`. +- |Feature| embedded dataset loaders :func:`load_breast_cancer`, + :func:`load...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15709
https://github.com/scikit-learn/scikit-learn/pull/15709
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 6d398ceef3cbd..1430535c25393 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -54,6 +54,12 @@ Changelog :mod:`sklearn.datasets` ....................... +- |Enhancement| Added ``return_centers`` parameter in + :func:`datase...
diff --git a/sklearn/datasets/tests/test_samples_generator.py b/sklearn/datasets/tests/test_samples_generator.py index c683e277c705a..ab712d8c235a6 100644 --- a/sklearn/datasets/tests/test_samples_generator.py +++ b/sklearn/datasets/tests/test_samples_generator.py @@ -324,6 +324,15 @@ def test_make_blobs_n_samples_cent...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 6d398ceef3cbd..1430535c25393 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
c643a40a494b9a24bcf116cb957c42395459adbd
[ "sklearn/datasets/tests/test_samples_generator.py::test_make_multilabel_classification_valid_arguments[params0-'n_classes' should be an integer]", "sklearn/datasets/tests/test_samples_generator.py::test_make_swiss_roll", "sklearn/datasets/tests/test_samples_generator.py::test_make_blobs", "sklearn/datasets/te...
[ "sklearn/datasets/tests/test_samples_generator.py::test_make_blobs_return_centers" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 6d398ceef3cbd..1430535c25393 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 6d398ceef3cbd..1430535c25393 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -54,6 +54,12 @@ Changelog :mod:`sklearn.datasets` ....................... +- |Enhancement| Added ``return_centers`` parameter in + :func:`datase...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15707
https://github.com/scikit-learn/scikit-learn/pull/15707
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index a1cf4b4dd7d00..5ae2ba2e912ed 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -51,6 +51,13 @@ Changelog more memory efficient implementation of single linkage clustering. :pr:`11514` by :user:`Leland McInnes <lmcinnes>`. +...
diff --git a/sklearn/datasets/tests/test_samples_generator.py b/sklearn/datasets/tests/test_samples_generator.py index e51ca3970bdae..433baca985b87 100644 --- a/sklearn/datasets/tests/test_samples_generator.py +++ b/sklearn/datasets/tests/test_samples_generator.py @@ -476,6 +476,22 @@ def test_make_moons(): ...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex a1cf4b4dd7d00..5ae2ba2e912ed 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
0fa54e5d7f5551c78cc067b91788d4d3e64244b8
[ "sklearn/datasets/tests/test_samples_generator.py::test_make_swiss_roll", "sklearn/datasets/tests/test_samples_generator.py::test_make_blobs", "sklearn/datasets/tests/test_samples_generator.py::test_make_classification_weights_type[weights4-ValueError-Weights specified but incompatible with number of classes.]"...
[ "sklearn/datasets/tests/test_samples_generator.py::test_make_moons_unbalanced", "sklearn/datasets/tests/test_samples_generator.py::test_make_circles_unbalanced" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex a1cf4b4dd7d00..5ae2ba2e912ed 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index a1cf4b4dd7d00..5ae2ba2e912ed 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -51,6 +51,13 @@ Changelog more memory efficient implementation of single linkage clustering. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.data...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16280
https://github.com/scikit-learn/scikit-learn/pull/16280
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index a1830229b57ec..29633d88393b2 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -102,6 +102,10 @@ Changelog exclusively choose the components that explain the variance greater than `n_components`. :pr:`15669` by :user:`Krish...
diff --git a/sklearn/decomposition/tests/test_nmf.py b/sklearn/decomposition/tests/test_nmf.py index 4fd21ffbf5b1d..c410501e56991 100644 --- a/sklearn/decomposition/tests/test_nmf.py +++ b/sklearn/decomposition/tests/test_nmf.py @@ -14,6 +14,7 @@ from sklearn.utils._testing import assert_array_equal from sklearn.util...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex a1830229b57ec..29633d88393b2 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
62ce1bad329c59420e1f72a6e7a2635c9b1df265
[ "sklearn/decomposition/tests/test_nmf.py::test_parameter_checking", "sklearn/decomposition/tests/test_nmf.py::test_non_negative_factorization_checking", "sklearn/decomposition/tests/test_nmf.py::test_nmf_dtype_match[cd-int32-float64]", "sklearn/decomposition/tests/test_nmf.py::test_nmf_inverse_transform[cd]",...
[ "sklearn/decomposition/tests/test_nmf.py::test_nmf_custom_init_dtype_error", "sklearn/decomposition/tests/test_nmf.py::test_nmf_dtype_match[cd-float32-float32]", "sklearn/decomposition/tests/test_nmf.py::test_nmf_dtype_match[mu-float32-float32]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex a1830229b57ec..29633d88393b2 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index a1830229b57ec..29633d88393b2 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -102,6 +102,10 @@ Changelog exclusively choose the components that explain the variance greater than `n_components`. :pr:`<PRID>` by :user:`<NAM...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16981
https://github.com/scikit-learn/scikit-learn/pull/16981
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index b672c1c156c97..a5075e4c56047 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -163,6 +163,9 @@ Changelog raise `invalid value encountered in multiply` during `fit`. :pr:`16718` by :user:`Gui Miotto <gui-miotto>`. +- |Featu...
diff --git a/sklearn/decomposition/tests/test_sparse_pca.py b/sklearn/decomposition/tests/test_sparse_pca.py index f3d14e31f3e1b..9ee0339a192b4 100644 --- a/sklearn/decomposition/tests/test_sparse_pca.py +++ b/sklearn/decomposition/tests/test_sparse_pca.py @@ -207,3 +207,18 @@ def test_spca_error_unormalized_components...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex b672c1c156c97..a5075e4c56047 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
c8e055883b5fcc3f3ac8850eefd7b3c5e7f7ff2d
[ "sklearn/decomposition/tests/test_sparse_pca.py::test_pca_vs_spca", "sklearn/decomposition/tests/test_sparse_pca.py::test_spca_deprecation_warning[MiniBatchSparsePCA]", "sklearn/decomposition/tests/test_sparse_pca.py::test_spca_error_unormalized_components[MiniBatchSparsePCA]", "sklearn/decomposition/tests/te...
[ "sklearn/decomposition/tests/test_sparse_pca.py::test_spca_n_components_[None-MiniBatchSparsePCA]", "sklearn/decomposition/tests/test_sparse_pca.py::test_spca_n_components_[3-MiniBatchSparsePCA]", "sklearn/decomposition/tests/test_sparse_pca.py::test_spca_n_components_[3-SparsePCA]", "sklearn/decomposition/te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex b672c1c156c97..a5075e4c56047 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index b672c1c156c97..a5075e4c56047 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -163,6 +163,9 @@ Changelog raise `invalid value encountered in multiply` during `fit`. :pr:`<PRID>` by :user:`<NAME>`. +- |Feature| Added `n_com...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16103
https://github.com/scikit-learn/scikit-learn/pull/16103
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 750336a81e109..32716cb9eb694 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -124,6 +124,11 @@ Changelog for datasets with large vocabularies combined with ``min_df`` or ``max_df``. :pr:`15834` by :user:`Santiago M. Mola <s...
diff --git a/sklearn/feature_selection/tests/test_rfe.py b/sklearn/feature_selection/tests/test_rfe.py index ccd3c0a1b0e83..654675e677a11 100644 --- a/sklearn/feature_selection/tests/test_rfe.py +++ b/sklearn/feature_selection/tests/test_rfe.py @@ -395,3 +395,15 @@ def test_rfe_allow_nan_inf_in_x(cv): rfe = RF...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 750336a81e109..32716cb9eb694 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
951ad8dd8068ea5f0383f5cb904d420eb5e4fe4d
[ "sklearn/feature_selection/tests/test_rfe.py::test_rfe", "sklearn/feature_selection/tests/test_rfe.py::test_rfecv", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_cv_groups", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_allow_nan_inf_in_x[5]", "sklearn/feature_selection/tests/test_rfe.py::...
[ "sklearn/feature_selection/tests/test_rfe.py::test_multioutput[RFECV]", "sklearn/feature_selection/tests/test_rfe.py::test_multioutput[RFE]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 750336a81e109..32716cb9eb694 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 750336a81e109..32716cb9eb694 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -124,6 +124,11 @@ Changelog for datasets with large vocabularies combined with ``min_df`` or ``max_df``. :pr:`<PRID>` by :user:`<NAME>`. + +- |E...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16508
https://github.com/scikit-learn/scikit-learn/pull/16508
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 788f9fe6837b4..aedd5fe804722 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -316,6 +316,10 @@ Changelog ``max_value`` and ``min_value``. Array-like inputs allow a different max and min to be specified for each feature. :pr...
diff --git a/sklearn/impute/tests/test_common.py b/sklearn/impute/tests/test_common.py index a8d2fd9d6b2f7..220a335c15285 100644 --- a/sklearn/impute/tests/test_common.py +++ b/sklearn/impute/tests/test_common.py @@ -84,3 +84,32 @@ def test_imputers_add_indicator_sparse(imputer, marker): imputer.set_params(add_ind...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 788f9fe6837b4..aedd5fe804722 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
9f015c8a14a67d248599dc376d33ec612dd9dbb9
[ "sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[csr]", "sklearn/utils/tests/test_validation.py::test_check_sparse_pandas_sp_format[True]", "sklearn/utils/tests/test_validation.py::test_check_array_memmap[True]", "sklearn/utils/tests/test_validation.py::test_check_...
[ "sklearn/utils/tests/test_validation.py::test_check_array_pandas_na_support[float64-float64-Int16]", "sklearn/impute/tests/test_common.py::test_imputers_pandas_na_integer_array_support[True-imputer1]", "sklearn/impute/tests/test_common.py::test_imputers_pandas_na_integer_array_support[False-imputer2]", "sklea...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 788f9fe6837b4..aedd5fe804722 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 788f9fe6837b4..aedd5fe804722 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -316,6 +316,10 @@ Changelog ``max_value`` and ``min_value``. Array-like inputs allow a different max and min to be specified for each feature. :pr...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15179
https://github.com/scikit-learn/scikit-learn/pull/15179
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 4c489c1887815..c4fa3818aa1bc 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -298,6 +298,11 @@ Changelog of strictly inferior for maximum of `absgrad` and `tol` in `utils.optimize._newton_cg`. :pr:`16266` by :user:`Rushabh ...
diff --git a/sklearn/linear_model/tests/test_least_angle.py b/sklearn/linear_model/tests/test_least_angle.py index 6e7c1fb37096a..e198dfb15e323 100644 --- a/sklearn/linear_model/tests/test_least_angle.py +++ b/sklearn/linear_model/tests/test_least_angle.py @@ -6,6 +6,7 @@ import pytest from scipy import linalg +fro...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 4c489c1887815..c4fa3818aa1bc 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
5e2d74bc5f61b382758c0403c577253539e77156
[ "sklearn/linear_model/tests/test_least_angle.py::test_lasso_lars_copyX_behaviour[False]", "sklearn/linear_model/tests/test_least_angle.py::test_lasso_lars_vs_R_implementation", "sklearn/linear_model/tests/test_least_angle.py::test_singular_matrix", "sklearn/linear_model/tests/test_least_angle.py::test_lasso_l...
[ "sklearn/linear_model/tests/test_least_angle.py::test_lars_with_jitter[est0]", "sklearn/linear_model/tests/test_least_angle.py::test_lars_with_jitter[est1]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 4c489c1887815..c4fa3818aa1bc 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 4c489c1887815..c4fa3818aa1bc 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -298,6 +298,11 @@ Changelog of strictly inferior for maximum of `absgrad` and `tol` in `utils.optimize._newton_cg`. :pr:`<PRID>` by :user:`<NAME>`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15436
https://github.com/scikit-learn/scikit-learn/pull/15436
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 2a671808b6354..b16435d4cb6ae 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -54,10 +54,10 @@ Changelog ``tol=0`` as with the default ``algorithm="full"``. :pr:`16075` by :user:`Erich Schubert <kno10>`. -- |Efficiency| :c...
diff --git a/sklearn/compose/tests/test_target.py b/sklearn/compose/tests/test_target.py index 4ba598b4c10ea..573518b3fa43a 100644 --- a/sklearn/compose/tests/test_target.py +++ b/sklearn/compose/tests/test_target.py @@ -16,7 +16,7 @@ from sklearn.pipeline import Pipeline -from sklearn.linear_model import LinearRe...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 2a671808b6354..b16435d4cb6ae 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
d591d8c467b23f81e7aa95e626b5b594ee674808
[ "sklearn/tests/test_multioutput.py::test_multi_output_classes_[estimator0]", "sklearn/linear_model/tests/test_ransac.py::test_ransac_sparse_csc", "sklearn/compose/tests/test_target.py::test_transform_target_regressor_count_fit[False]", "sklearn/compose/tests/test_target.py::test_transform_target_regressor_2d_...
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_warm_start", "sklearn/linear_model/tests/test_coordinate_descent.py::test_enet_toy", "sklearn/linear_model/tests/test_coordinate_descent.py::test_warm_start_convergence_with_regularizer_decrement", "sklearn/linear_model/tests/test_coordinate_descent...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 2a671808b6354..b16435d4cb6ae 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 2a671808b6354..b16435d4cb6ae 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -54,10 +54,10 @@ Changelog ``tol=0`` as with the default ``algorithm="full"``. :pr:`<PRID>` by :user:`<NAME>`. -- |Efficiency| :class:`cluster.B...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16397
https://github.com/scikit-learn/scikit-learn/pull/16397
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 4234c12c076fb..70a3e8ca06ad1 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -197,6 +197,10 @@ Changelog :mod:`sklearn.impute` ..................... +- |Efficiency| Reduce :func:`impute.KNNImputer` asymptotic memory usage by ...
diff --git a/sklearn/impute/tests/test_knn.py b/sklearn/impute/tests/test_knn.py index c7a2b5f60de45..68c4d9f3cc54a 100644 --- a/sklearn/impute/tests/test_knn.py +++ b/sklearn/impute/tests/test_knn.py @@ -1,6 +1,7 @@ import numpy as np import pytest +from sklearn import config_context from sklearn.impute import KN...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 4234c12c076fb..70a3e8ca06ad1 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
17e6c6bf1410a36bbb786440c60be245eac0b1fd
[ "sklearn/impute/tests/test_knn.py::test_knn_imputer_with_simple_example[nan-0]", "sklearn/metrics/tests/test_pairwise.py::test_pairwise_distances_data_derived_params[Y is X-pairwise_distances-seuclidean-2]", "sklearn/metrics/tests/test_pairwise.py::test_euclidean_distances_upcast[sparse-sparse-None]", "sklear...
[ "sklearn/metrics/tests/test_pairwise.py::test_pairwise_distances_chunked_reduce_none" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 4234c12c076fb..70a3e8ca06ad1 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 4234c12c076fb..70a3e8ca06ad1 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -197,6 +197,10 @@ Changelog :mod:`sklearn.impute` ..................... +- |Efficiency| Reduce :func:`impute.KNNImputer` asymptotic memory usage by ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15622
https://github.com/scikit-learn/scikit-learn/pull/15622
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index e7b9fdd24989d..30cf098eee768 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -85,6 +85,15 @@ Changelog :class:`linear_model.RidgeClassifierCV`. :pr:`15653` by :user:`Jérôme Dockès <jeromedockes>`. +:mod:`sklearn.model_sel...
diff --git a/sklearn/model_selection/tests/test_validation.py b/sklearn/model_selection/tests/test_validation.py index c72ac0c1b7a14..d1c67930fac77 100644 --- a/sklearn/model_selection/tests/test_validation.py +++ b/sklearn/model_selection/tests/test_validation.py @@ -1632,8 +1632,14 @@ def test_fit_and_score_failing()...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex e7b9fdd24989d..30cf098eee768 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
dc111489a1a13b025e0d787c6a0369c1786654dc
[ "sklearn/model_selection/tests/test_validation.py::test_score", "sklearn/model_selection/tests/test_validation.py::test_learning_curve_incremental_learning", "sklearn/model_selection/tests/test_validation.py::test_fit_and_score_verbosity[True-three_params_scorer-[CV] ................ , score=(train=3.421, test=...
[ "sklearn/model_selection/tests/test_validation.py::test_fit_and_score_failing" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex e7b9fdd24989d..30cf098eee768 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index e7b9fdd24989d..30cf098eee768 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -85,6 +85,15 @@ Changelog :class:`linear_model.RidgeClassifierCV`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.model_selection` +...............
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15959
https://github.com/scikit-learn/scikit-learn/pull/15959
diff --git a/doc/whats_new/v0.22.rst b/doc/whats_new/v0.22.rst index d5d7fddf7417d..bbd35676defcf 100644 --- a/doc/whats_new/v0.22.rst +++ b/doc/whats_new/v0.22.rst @@ -104,6 +104,14 @@ Changelog deprecated. This change is made to restore some backward compatibility with the behavior of this utility in version 0....
diff --git a/sklearn/tests/test_multioutput.py b/sklearn/tests/test_multioutput.py index 6256f72a4b0b3..4a528716d181f 100644 --- a/sklearn/tests/test_multioutput.py +++ b/sklearn/tests/test_multioutput.py @@ -30,6 +30,7 @@ from sklearn.base import ClassifierMixin from sklearn.utils import shuffle from sklearn.model_...
[ { "path": "doc/whats_new/v0.22.rst", "old_path": "a/doc/whats_new/v0.22.rst", "new_path": "b/doc/whats_new/v0.22.rst", "metadata": "diff --git a/doc/whats_new/v0.22.rst b/doc/whats_new/v0.22.rst\nindex d5d7fddf7417d..bbd35676defcf 100644\n--- a/doc/whats_new/v0.22.rst\n+++ b/doc/whats_new/v0.22.rst\...
0.23
4d5407c89fb2b25ef5cba90470cbdaecf10064cc
[ "sklearn/tests/test_multioutput.py::test_multi_output_classification_partial_fit_sample_weights", "sklearn/tests/test_multioutput.py::test_multi_output_classes_[estimator0]", "sklearn/tests/test_multioutput.py::test_multi_output_classification_partial_fit_parallelism", "sklearn/tests/test_multioutput.py::test...
[ "sklearn/tests/test_multioutput.py::test_multioutput_estimator_with_fit_params[estimator1-dataset1]", "sklearn/tests/test_multioutput.py::test_multioutput_estimator_with_fit_params[estimator0-dataset0]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.22.rst", "old_path": "a/doc/whats_new/v0.22.rst", "new_path": "b/doc/whats_new/v0.22.rst", "metadata": "diff --git a/doc/whats_new/v0.22.rst b/doc/whats_new/v0.22.rst\nindex d5d7fddf7417d..bbd35676defcf 100644\n--- a/doc/whats_new/v0.22.rst\n+++ b/doc/whats_new/v0.22.rst\...
diff --git a/doc/whats_new/v0.22.rst b/doc/whats_new/v0.22.rst index d5d7fddf7417d..bbd35676defcf 100644 --- a/doc/whats_new/v0.22.rst +++ b/doc/whats_new/v0.22.rst @@ -104,6 +104,14 @@ Changelog deprecated. This change is made to restore some backward compatibility with the behavior of this utility in version 0....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19799
https://github.com/scikit-learn/scikit-learn/pull/19799
diff --git a/asv_benchmarks/benchmarks/ensemble.py b/asv_benchmarks/benchmarks/ensemble.py index c46ac07c84475..8977eb0d10f20 100644 --- a/asv_benchmarks/benchmarks/ensemble.py +++ b/asv_benchmarks/benchmarks/ensemble.py @@ -1,4 +1,3 @@ -from sklearn.experimental import enable_hist_gradient_boosting # noqa from sklea...
diff --git a/sklearn/ensemble/_hist_gradient_boosting/tests/test_compare_lightgbm.py b/sklearn/ensemble/_hist_gradient_boosting/tests/test_compare_lightgbm.py index 4a6c4dbbb32c7..f34dffab2671c 100644 --- a/sklearn/ensemble/_hist_gradient_boosting/tests/test_compare_lightgbm.py +++ b/sklearn/ensemble/_hist_gradient_boo...
[ { "path": "doc/conf.py", "old_path": "a/doc/conf.py", "new_path": "b/doc/conf.py", "metadata": "diff --git a/doc/conf.py b/doc/conf.py\nindex 6768aab208a99..ba6b0595a7d44 100644\n--- a/doc/conf.py\n+++ b/doc/conf.py\n@@ -358,7 +358,6 @@ def __call__(self, directory):\n \n # enable experimental modul...
1.00
57d3668f2a1fea69dafc2e68208576a56812cd45
[]
[ "sklearn/experimental/tests/test_enable_hist_gradient_boosting.py::test_import_raises_warning" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/conf.py", "old_path": "a/doc/conf.py", "new_path": "b/doc/conf.py", "metadata": "diff --git a/doc/conf.py b/doc/conf.py\nindex 6768aab208a99..ba6b0595a7d44 100644\n--- a/doc/conf.py\n+++ b/doc/conf.py\n@@ -358,7 +358,6 @@ def __call__(self, directory):\n \n # enable experimental modul...
diff --git a/doc/conf.py b/doc/conf.py index 6768aab208a99..ba6b0595a7d44 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -358,7 +358,6 @@ def __call__(self, directory): # enable experimental module so that experimental estimators can be # discovered properly by sphinx -from sklearn.experimental import enable_hist_gr...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16403
https://github.com/scikit-learn/scikit-learn/pull/16403
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 9eb4a82f0de20..05fc125fc8b13 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -155,6 +155,13 @@ Changelog - |Enhancement| :func:`gaussian_process.kernels.Matern` returns the RBF kernel when ``nu=np.inf``. :pr:`15503` by :user:...
diff --git a/sklearn/impute/tests/test_impute.py b/sklearn/impute/tests/test_impute.py index 5fe35fffd960f..50f60ff6e96ad 100644 --- a/sklearn/impute/tests/test_impute.py +++ b/sklearn/impute/tests/test_impute.py @@ -970,6 +970,74 @@ def test_iterative_imputer_catch_warning(): assert not np.any(np.isnan(X_fill)) ...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 9eb4a82f0de20..05fc125fc8b13 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
d4a3ac4252401a20368c405976ff3db6f30995ac
[ "sklearn/impute/tests/test_impute.py::test_missing_indicator_new[all-3-features_indices1-0-int32-array]", "sklearn/impute/tests/test_impute.py::test_missing_indicator_new[all-3-features_indices1-nan-float64-csc_matrix]", "sklearn/impute/tests/test_impute.py::test_iterative_imputer_no_missing", "sklearn/impute...
[ "sklearn/impute/tests/test_impute.py::test_iterative_imputer_min_max_array_like[lists]", "sklearn/impute/tests/test_impute.py::test_iterative_imputer_min_max_array_like[scalars]", "sklearn/impute/tests/test_impute.py::test_iterative_imputer_min_max_array_like[None-default]", "sklearn/impute/tests/test_impute....
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 9eb4a82f0de20..05fc125fc8b13 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 9eb4a82f0de20..05fc125fc8b13 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -155,6 +155,13 @@ Changelog - |Enhancement| :func:`gaussian_process.kernels.Matern` returns the RBF kernel when ``nu=np.inf``. :pr:`<PRID>` by :user...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-11950
https://github.com/scikit-learn/scikit-learn/pull/11950
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 99431332be662..025fc86ed206e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -39,6 +39,7 @@ jobs: PILLOW_VERSION: '*' PYTEST_VERSION: '*' JOBLIB_VERSION: '*' + THREADPOOLCTL_VERSION: '2.0.0' COVERAGE: '...
diff --git a/sklearn/cluster/tests/test_bicluster.py b/sklearn/cluster/tests/test_bicluster.py index 7dd54416f0b04..a31e61dd2423d 100644 --- a/sklearn/cluster/tests/test_bicluster.py +++ b/sklearn/cluster/tests/test_bicluster.py @@ -67,8 +67,7 @@ def test_spectral_coclustering(): 'n_svd_vecs': [None,...
[ { "path": "doc/modules/clustering.rst", "old_path": "a/doc/modules/clustering.rst", "new_path": "b/doc/modules/clustering.rst", "metadata": "diff --git a/doc/modules/clustering.rst b/doc/modules/clustering.rst\nindex 5649c3f5237da..8196d9834ea51 100644\n--- a/doc/modules/clustering.rst\n+++ b/doc/mo...
0.23
0cb2ddb81e2f3e261e8cc52a53f762e211d2dcf6
[]
[ "sklearn/utils/tests/test_sparsefuncs.py::test_min_max[False-nan-nanmin-nanmax-True-csr_matrix-None-float64]", "sklearn/utils/tests/test_sparsefuncs.py::test_min_max[False-nan-nanmin-nanmax-True-csc_matrix-0-float64]", "sklearn/utils/tests/test_sparsefuncs.py::test_min_max[False-nan-nanmin-nanmax-True-csc_matri...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/clustering.rst", "old_path": "a/doc/modules/clustering.rst", "new_path": "b/doc/modules/clustering.rst", "metadata": "diff --git a/doc/modules/clustering.rst b/doc/modules/clustering.rst\nindex 5649c3f5237da..8196d9834ea51 100644\n--- a/doc/modules/clustering.rst\n+++ b/doc/mo...
diff --git a/doc/modules/clustering.rst b/doc/modules/clustering.rst index 5649c3f5237da..8196d9834ea51 100644 --- a/doc/modules/clustering.rst +++ b/doc/modules/clustering.rst @@ -205,12 +205,13 @@ computing cluster centers and values of inertia. For example, assigning a weight of 2 to a sample is equivalent to addin...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16245
https://github.com/scikit-learn/scikit-learn/pull/16245
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 45219b8346b35..b5346e9f17774 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -184,6 +184,11 @@ Changelog - |Efficiency| :class:`preprocessing.OneHotEncoder` is now faster at transforming. :pr:`15762` by `Thomas Fan`_. +- |F...
diff --git a/sklearn/preprocessing/tests/test_encoders.py b/sklearn/preprocessing/tests/test_encoders.py index 78590f40ffba5..f6283c71313b6 100644 --- a/sklearn/preprocessing/tests/test_encoders.py +++ b/sklearn/preprocessing/tests/test_encoders.py @@ -265,6 +265,15 @@ def test_one_hot_encoder_inverse(sparse_, drop): ...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 45219b8346b35..b5346e9f17774 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
06b1a19465adfad78d14cc2ae56c21ead5c92475
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_feature_names_unicode", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_pandas", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_raise_missing[ignore-dataframe-object]", "sklearn/preprocessing/tests/tes...
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_inverse_if_binary", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_drop_equals_if_binary" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 45219b8346b35..b5346e9f17774 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 45219b8346b35..b5346e9f17774 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -184,6 +184,11 @@ Changelog - |Efficiency| :class:`preprocessing.OneHotEncoder` is now faster at transforming. :pr:`<PRID>` by `<NAME>`_. +- |Feat...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16111
https://github.com/scikit-learn/scikit-learn/pull/16111
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 9eb4a82f0de20..eb7b0e2a0b6b4 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -223,6 +223,13 @@ Changelog be removed in 0.25. :pr:`16401` by :user:`Arie Pratama Sutiono <ariepratama>` +:mod:`sklearn.multioutput` +............
diff --git a/sklearn/tests/test_multioutput.py b/sklearn/tests/test_multioutput.py index 1a200c039f2e8..d312231d0430a 100644 --- a/sklearn/tests/test_multioutput.py +++ b/sklearn/tests/test_multioutput.py @@ -589,3 +589,25 @@ def test_multioutput_estimator_with_fit_params(estimator, dataset): estimator.fit(X, y, s...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 9eb4a82f0de20..eb7b0e2a0b6b4 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
d4a3ac4252401a20368c405976ff3db6f30995ac
[ "sklearn/tests/test_multioutput.py::test_multi_output_classification_partial_fit_sample_weights", "sklearn/tests/test_multioutput.py::test_multi_output_classes_[estimator0]", "sklearn/tests/test_multioutput.py::test_multi_output_classification_partial_fit_parallelism", "sklearn/tests/test_multioutput.py::test...
[ "sklearn/tests/test_multioutput.py::test_regressor_chain_w_fit_params" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 9eb4a82f0de20..eb7b0e2a0b6b4 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 9eb4a82f0de20..eb7b0e2a0b6b4 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -223,6 +223,13 @@ Changelog be removed in 0.25. :pr:`<PRID>` by :user:`<NAME>` +:mod:`sklearn.multioutput` +.......................... + +- |Enh...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15926
https://github.com/scikit-learn/scikit-learn/pull/15926
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 30cf098eee768..cc7d334b9519a 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -106,3 +106,9 @@ Changelog - |Fix| :func:`tree.plot_tree` `rotate` parameter was unused and has been deprecated. :pr:`15806` by :user:`Chiara Mar...
diff --git a/sklearn/metrics/tests/test_classification.py b/sklearn/metrics/tests/test_classification.py index c33c3a829cc16..197749d0ff2dd 100644 --- a/sklearn/metrics/tests/test_classification.py +++ b/sklearn/metrics/tests/test_classification.py @@ -486,7 +486,7 @@ def test_multilabel_confusion_matrix_errors(): ...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 30cf098eee768..cc7d334b9519a 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
a5b67f972b941c4a5039033fd82fb9c5b90e8c78
[ "sklearn/metrics/tests/test_classification.py::test_precision_recall_f1_no_labels_check_warnings[micro]", "sklearn/metrics/tests/test_classification.py::test_matthews_corrcoef_nan", "sklearn/metrics/tests/test_classification.py::test_matthews_corrcoef_against_numpy_corrcoef", "sklearn/preprocessing/tests/test...
[ "sklearn/preprocessing/tests/test_label.py::test_label_encoder_str_bad_shape[str]", "sklearn/metrics/tests/test_classification.py::test_multilabel_confusion_matrix_errors", "sklearn/preprocessing/tests/test_label.py::test_label_encoder_errors", "sklearn/preprocessing/tests/test_label.py::test_label_encoder_st...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 30cf098eee768..cc7d334b9519a 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 30cf098eee768..cc7d334b9519a 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -106,3 +106,9 @@ Changelog - |Fix| :func:`tree.plot_tree` `rotate` parameter was unused and has been deprecated. :pr:`<PRID>` by :user:`<NAME>`. ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16021
https://github.com/scikit-learn/scikit-learn/pull/16021
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index b476c34b380cc..1ad0cfd117cac 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -131,3 +131,6 @@ Changelog - |Enhancement| improve error message in :func:`utils.validation.column_or_1d`. :pr:`15926` by :user:`Loïc Estève <lest...
diff --git a/sklearn/linear_model/tests/test_base.py b/sklearn/linear_model/tests/test_base.py index a932d5ed33fe1..de7d8dd72b0e3 100644 --- a/sklearn/linear_model/tests/test_base.py +++ b/sklearn/linear_model/tests/test_base.py @@ -5,6 +5,8 @@ import pytest +from distutils.version import LooseVersion + import nu...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex b476c34b380cc..1ad0cfd117cac 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
bdf1ae9e4a739abf06076e67dc453774ffc886a7
[ "sklearn/linear_model/tests/test_base.py::test_linear_regression_multiple_outcome", "sklearn/linear_model/tests/test_base.py::test_preprocess_copy_data_no_checks[True-False]", "sklearn/linear_model/tests/test_base.py::test_preprocess_data", "sklearn/linear_model/tests/test_base.py::test_preprocess_copy_data_n...
[ "sklearn/linear_model/tests/test_base.py::test_linear_regression_pd_sparse_dataframe_warning" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex b476c34b380cc..1ad0cfd117cac 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index b476c34b380cc..1ad0cfd117cac 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -131,3 +131,6 @@ Changelog - |Enhancement| improve error message in :func:`utils.validation.column_or_1d`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enh...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-14180
https://github.com/scikit-learn/scikit-learn/pull/14180
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 3d9924638b69b..2489eaf55bac7 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1569,6 +1569,7 @@ Plotting utils.deprecated utils.estimator_checks.check_estimator utils.estimator_checks.parametrize_with_checks + utils...
diff --git a/sklearn/tests/test_base.py b/sklearn/tests/test_base.py index 52f2e60b4af70..e20fa440d1933 100644 --- a/sklearn/tests/test_base.py +++ b/sklearn/tests/test_base.py @@ -23,6 +23,7 @@ from sklearn.base import TransformerMixin from sklearn.utils._mocking import MockDataFrame +from sklearn import config_co...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 3d9924638b69b..2489eaf55bac7 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
0.23
b9403f62ac65e7e6575168ef74b43fb012010599
[]
[ "sklearn/tests/test_config.py::test_set_config", "sklearn/tests/test_config.py::test_config_context", "sklearn/tests/test_config.py::test_config_context_exception" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "sklearn/utils/_estimator_html_repr.py" } ] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 3d9924638b69b..2489eaf55bac7 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 3d9924638b69b..2489eaf55bac7 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1569,6 +1569,7 @@ Plotting utils.deprecated utils.estimator_checks.check_estimator utils.estimator_checks.parametrize_with_checks + utils...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16728
https://github.com/scikit-learn/scikit-learn/pull/16728
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 6141dcce41609..45ecd500abea6 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -408,6 +408,10 @@ Changelog pandas sparse DataFrame. :pr:`16021` by :user:`Rushabh Vasani <rushabh-v>`. +- |Enhancement| :func:`utils.validation...
diff --git a/sklearn/linear_model/tests/test_base.py b/sklearn/linear_model/tests/test_base.py index c962edccc953a..0d30c4dd13022 100644 --- a/sklearn/linear_model/tests/test_base.py +++ b/sklearn/linear_model/tests/test_base.py @@ -212,16 +212,30 @@ def test_linear_regression_pd_sparse_dataframe_warning(): # rest...
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 6141dcce41609..45ecd500abea6 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
0.23
913da3f286649af6378204d824827bfc4681fe20
[ "sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[csr]", "sklearn/linear_model/tests/test_base.py::test_fit_intercept", "sklearn/utils/tests/test_validation.py::test_check_array_memmap[True]", "sklearn/utils/tests/test_validation.py::test_check_non_negative[bsr_matr...
[ "sklearn/utils/tests/test_validation.py::test_check_sparse_pandas_sp_format[True]", "sklearn/utils/tests/test_validation.py::test_check_sparse_pandas_sp_format[coo]", "sklearn/utils/tests/test_validation.py::test_check_sparse_pandas_sp_format[csr]", "sklearn/utils/tests/test_validation.py::test_check_sparse_p...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.23.rst", "old_path": "a/doc/whats_new/v0.23.rst", "new_path": "b/doc/whats_new/v0.23.rst", "metadata": "diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst\nindex 6141dcce41609..45ecd500abea6 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\...
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 6141dcce41609..45ecd500abea6 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -408,6 +408,10 @@ Changelog pandas sparse DataFrame. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :func:`utils.validation.check_array` now c...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16692
https://github.com/scikit-learn/scikit-learn/pull/16692
diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst index 1416b9d3a6045..e731ece0bdb20 100644 --- a/doc/modules/ensemble.rst +++ b/doc/modules/ensemble.rst @@ -952,8 +952,9 @@ controls the number of iterations of the boosting process:: >>> clf.score(X_test, y_test) 0.8965 -Available losses for regr...
diff --git a/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py b/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py index 1b61e65793422..a51c713f48709 100644 --- a/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py +++ b/sklearn/ensemble/_hist_gradient_...
[ { "path": "doc/modules/ensemble.rst", "old_path": "a/doc/modules/ensemble.rst", "new_path": "b/doc/modules/ensemble.rst", "metadata": "diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst\nindex 1416b9d3a6045..e731ece0bdb20 100644\n--- a/doc/modules/ensemble.rst\n+++ b/doc/modules/ensemb...
0.23
4bb4856ee8f3198740d53dd28b0b1d2767b90795
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py::test_sample_weight_multiplies_gradients[random-binary_crossentropy-classification]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py::test_derivatives[least_squares--2.0-42]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py:...
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py::test_baseline_poisson", "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py::test_derivatives[poisson--22.0-10.0]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py::test_sample_weight_multiplies_gradients[ones-poisson-poisson_re...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/ensemble.rst", "old_path": "a/doc/modules/ensemble.rst", "new_path": "b/doc/modules/ensemble.rst", "metadata": "diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst\nindex 1416b9d3a6045..e731ece0bdb20 100644\n--- a/doc/modules/ensemble.rst\n+++ b/doc/modules/ensemb...
diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst index 1416b9d3a6045..e731ece0bdb20 100644 --- a/doc/modules/ensemble.rst +++ b/doc/modules/ensemble.rst @@ -952,8 +952,9 @@ controls the number of iterations of the boosting process:: >>> clf.score(X_test, y_test) 0.8965 -Available losses for regr...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18394
https://github.com/scikit-learn/scikit-learn/pull/18394
diff --git a/benchmarks/bench_hist_gradient_boosting_adult.py b/benchmarks/bench_hist_gradient_boosting_adult.py new file mode 100644 index 0000000000000..5b47fcb3a6678 --- /dev/null +++ b/benchmarks/bench_hist_gradient_boosting_adult.py @@ -0,0 +1,90 @@ +import argparse +from time import time + +from sklearn.model_sel...
diff --git a/sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py b/sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py index 305eecc6a965c..5f31d9b898df5 100644 --- a/sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py +++ b/sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py...
[ { "path": "doc/modules/ensemble.rst", "old_path": "a/doc/modules/ensemble.rst", "new_path": "b/doc/modules/ensemble.rst", "metadata": "diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst\nindex 5c2e9f94c1b4d..0e0aaaafaffba 100644\n--- a/doc/modules/ensemble.rst\n+++ b/doc/modules/ensemb...
0.24
5a8bbf0195236b2e85217f90c363e5e7f975f157
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py::test_bin_mapper_small_random_data[5-5]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py::test_map_to_bins[128]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py::test_bin_mapper_idempotence[4-4]", "sklearn/ensemb...
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py::test_categorical_with_numerical_features[128]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py::test_categorical_parameters[is_categorical1-known_categories1-isn't marked as a categorical feature, but categories were passed]", "sk...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "benchmarks/bench_hist_gradient_boosting_categorical_only.py" }, { "type": "file", ...
[ { "path": "doc/modules/ensemble.rst", "old_path": "a/doc/modules/ensemble.rst", "new_path": "b/doc/modules/ensemble.rst", "metadata": "diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst\nindex 5c2e9f94c1b4d..0e0aaaafaffba 100644\n--- a/doc/modules/ensemble.rst\n+++ b/doc/modules/ensemb...
diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst index 5c2e9f94c1b4d..0e0aaaafaffba 100644 --- a/doc/modules/ensemble.rst +++ b/doc/modules/ensemble.rst @@ -1051,6 +1051,68 @@ multiplying the gradients (and the hessians) by the sample weights. Note that the binning stage (specifically the quantiles com...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20477
https://github.com/scikit-learn/scikit-learn/pull/20477
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 576f88e66a71e..2f7e7590a1c6b 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -262,6 +262,13 @@ Changelog :mod:`sklearn.ensemble` ....................... +- |Enhancement| :class:`~sklearn.ensemble.HistGradientBoostingClassifier` a...
diff --git a/sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py b/sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py index 57403c3792571..7cbc6603ee01f 100644 --- a/sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py +++ b/sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 576f88e66a71e..2f7e7590a1c6b 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -26...
1.00
f2a6e109f7be6f0d554e44cb4cb48b41081dc259
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py::test_categorical_with_numerical_features[128]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py::test_n_bins_non_missing[-5-256]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_binning.py::test_bin_mapper_small_random_data[4...
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_predictor.py::test_regression_dataset[200]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_predictor.py::test_categorical_predictor[bins_go_left0-expected_predictions0]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py::test_numerical_grad...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 576f88e66a71e..2f7e7590a1c6b 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -26...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 576f88e66a71e..2f7e7590a1c6b 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -262,6 +262,13 @@ Changelog :mod:`sklearn.ensemble` ....................... +- |Enhancement| :class:`~sklearn.ensemble.HistGradientBoostingClassifier` a...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-14696
https://github.com/scikit-learn/scikit-learn/pull/14696
diff --git a/benchmarks/bench_hist_gradient_boosting.py b/benchmarks/bench_hist_gradient_boosting.py index f87f22ab8837e..ac7e77e2a1f99 100644 --- a/benchmarks/bench_hist_gradient_boosting.py +++ b/benchmarks/bench_hist_gradient_boosting.py @@ -32,6 +32,9 @@ parser.add_argument('--n-samples-max', type=int, default=int...
diff --git a/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py b/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py index 0850ac6638a80..c5b4a143591d6 100644 --- a/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py +++ b/sklearn/ensemble/_hist_gradient_...
[ { "path": "doc/modules/ensemble.rst", "old_path": "a/doc/modules/ensemble.rst", "new_path": "b/doc/modules/ensemble.rst", "metadata": "diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst\nindex deefaaf642c39..3d6798e0d548b 100644\n--- a/doc/modules/ensemble.rst\n+++ b/doc/modules/ensemb...
0.23
9412f50c8cdffdba22f45345abdf375281c237d7
[]
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py::test_sample_weight_multiplies_gradients[random-binary_crossentropy-classification]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py::test_derivatives[least_squares--2.0-42]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_loss.py:...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/ensemble.rst", "old_path": "a/doc/modules/ensemble.rst", "new_path": "b/doc/modules/ensemble.rst", "metadata": "diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst\nindex deefaaf642c39..3d6798e0d548b 100644\n--- a/doc/modules/ensemble.rst\n+++ b/doc/modules/ensemb...
diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst index deefaaf642c39..3d6798e0d548b 100644 --- a/doc/modules/ensemble.rst +++ b/doc/modules/ensemble.rst @@ -856,8 +856,7 @@ leverage integer-based data structures (histograms) instead of relying on sorted continuous values when building the trees. The AP...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-15582
https://github.com/scikit-learn/scikit-learn/pull/15582
diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst index b7c0e49f9c477..1416b9d3a6045 100644 --- a/doc/modules/ensemble.rst +++ b/doc/modules/ensemble.rst @@ -897,7 +897,7 @@ based on permutation of the features. Histogram-Based Gradient Boosting ================================= -Scikit-learn 0.21 in...
diff --git a/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py b/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py index 13cd8eac1cb7d..1b61e65793422 100644 --- a/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py +++ b/sklearn/ensemble/_hist_gradient_...
[ { "path": "doc/modules/ensemble.rst", "old_path": "a/doc/modules/ensemble.rst", "new_path": "b/doc/modules/ensemble.rst", "metadata": "diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst\nindex b7c0e49f9c477..1416b9d3a6045 100644\n--- a/doc/modules/ensemble.rst\n+++ b/doc/modules/ensemb...
0.23
dcfb3df9a3df5aa2a608248316d537cd6b3643ee
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_grower.py::test_min_samples_leaf[300-301-255-True-0.1]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_grower.py::test_min_samples_leaf[11-10-7-True-0]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_grower.py::test_max_depth[1]", "sklearn/ens...
[ "sklearn/ensemble/_hist_gradient_boosting/tests/test_grower.py::test_grow_tree[256-True-min_gain_to_split-1.0]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_splitting.py::test_gradient_and_hessian_sanity[False]", "sklearn/ensemble/_hist_gradient_boosting/tests/test_grower.py::test_grow_tree[11-False-mi...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/ensemble/plot_monotonic_constraints.py" } ] }
[ { "path": "doc/modules/ensemble.rst", "old_path": "a/doc/modules/ensemble.rst", "new_path": "b/doc/modules/ensemble.rst", "metadata": "diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst\nindex b7c0e49f9c477..1416b9d3a6045 100644\n--- a/doc/modules/ensemble.rst\n+++ b/doc/modules/ensemb...
diff --git a/doc/modules/ensemble.rst b/doc/modules/ensemble.rst index b7c0e49f9c477..1416b9d3a6045 100644 --- a/doc/modules/ensemble.rst +++ b/doc/modules/ensemble.rst @@ -897,7 +897,7 @@ based on permutation of the features. Histogram-Based Gradient Boosting ================================= -Scikit-learn 0.21 in...
mwaskom/seaborn
mwaskom__seaborn-3336
https://github.com/mwaskom/seaborn/pull/3336
diff --git a/doc/_docstrings/ecdfplot.ipynb b/doc/_docstrings/ecdfplot.ipynb index 7ddf95cfc0..71ab3cc9bb 100644 --- a/doc/_docstrings/ecdfplot.ipynb +++ b/doc/_docstrings/ecdfplot.ipynb @@ -82,7 +82,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The default distribution statistic is normal...
diff --git a/tests/test_statistics.py b/tests/test_statistics.py index e39127882a..f8fa444f22 100644 --- a/tests/test_statistics.py +++ b/tests/test_statistics.py @@ -25,6 +25,10 @@ class DistributionFixtures: def x(self, rng): return rng.normal(0, 1, 100) + @pytest.fixture + def x2(self, rng): + ...
[ { "path": "doc/_docstrings/ecdfplot.ipynb", "old_path": "a/doc/_docstrings/ecdfplot.ipynb", "new_path": "b/doc/_docstrings/ecdfplot.ipynb", "metadata": "diff --git a/doc/_docstrings/ecdfplot.ipynb b/doc/_docstrings/ecdfplot.ipynb\nindex 7ddf95cfc0..71ab3cc9bb 100644\n--- a/doc/_docstrings/ecdfplot.i...
0.13
bf0cfec0627bee4b757f033ff504c0a520a3cd5b
[ "tests/test_statistics.py::TestHistogram::test_bivariate_int_bins", "tests/test_statistics.py::TestEstimateAggregator::test_func_estimator", "tests/test_statistics.py::TestKDE::test_bw_method", "tests/test_statistics.py::TestHistogram::test_int_bins", "tests/test_statistics.py::TestKDE::test_cumulative", ...
[ "tests/test_statistics.py::TestECDF::test_univariate_percent" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/_docstrings/ecdfplot.ipynb", "old_path": "a/doc/_docstrings/ecdfplot.ipynb", "new_path": "b/doc/_docstrings/ecdfplot.ipynb", "metadata": "diff --git a/doc/_docstrings/ecdfplot.ipynb b/doc/_docstrings/ecdfplot.ipynb\nindex 7ddf95cfc0..71ab3cc9bb 100644\n--- a/doc/_docstrings/ecdfplot.i...
diff --git a/doc/_docstrings/ecdfplot.ipynb b/doc/_docstrings/ecdfplot.ipynb index 7ddf95cfc0..71ab3cc9bb 100644 --- a/doc/_docstrings/ecdfplot.ipynb +++ b/doc/_docstrings/ecdfplot.ipynb @@ -82,7 +82,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The default distribution statistic is normal...
mwaskom/seaborn
mwaskom__seaborn-3111
https://github.com/mwaskom/seaborn/pull/3111
diff --git a/Makefile b/Makefile index 0d2b7247a1..86b406ee55 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ export SHELL := /bin/bash test: - pytest -n auto --cov=seaborn --cov=tests --cov-config=.coveragerc tests + pytest -n auto --cov=seaborn --cov=tests --cov-config=setup.cfg tests lint: flake8 seabo...
diff --git a/tests/_stats/test_counting.py b/tests/_stats/test_counting.py index 44a0ae752b..7656654492 100644 --- a/tests/_stats/test_counting.py +++ b/tests/_stats/test_counting.py @@ -206,7 +206,7 @@ def test_common_norm_subset(self, long_df, triple_args): def test_common_norm_warning(self, long_df, triple_args...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 41240f0c34..c82bdcaa4a 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -88,6 +88,7 @@ Stat objects\n Est\n Count\n Hist\n+ KDE\n Perc\n ...
0.12
bf4695466d742f301f361b8d0c8168c5c4bdf889
[ "tests/_stats/test_counting.py::TestHist::test_common_norm_false", "tests/_stats/test_counting.py::TestHist::test_common_norm_subset", "tests/_stats/test_counting.py::TestHist::test_array_bins", "tests/_stats/test_counting.py::TestHist::test_count_stat", "tests/_stats/test_counting.py::TestHist::test_percen...
[ "tests/_stats/test_density.py::TestKDE::test_missing[y]", "tests/_stats/test_density.py::TestKDE::test_cut[1]", "tests/_stats/test_density.py::TestKDE::test_singular[vals2]", "tests/_stats/test_density.py::TestKDE::test_common_grid[True]", "tests/_stats/test_density.py::TestKDE::test_common_norm_variables",...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "dict" }, { "type": "field", "name": "self" }, { "type": "field"...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 41240f0c34..c82bdcaa4a 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -88,6 +88,7 @@ Stat objects\n Est\n Count\n Hist\n+ KDE\n Perc\n ...
diff --git a/doc/api.rst b/doc/api.rst index 41240f0c34..c82bdcaa4a 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -88,6 +88,7 @@ Stat objects Est Count Hist + KDE Perc PolyFit diff --git a/doc/whatsnew/v0.12.2.rst b/doc/whatsnew/v0.12.2.rst new file mode 100644 index 0000000000..dc29ab740...
mwaskom/seaborn
mwaskom__seaborn-3205
https://github.com/mwaskom/seaborn/pull/3205
diff --git a/doc/_docstrings/FacetGrid.ipynb b/doc/_docstrings/FacetGrid.ipynb index eeb329f2ce..28af34c3c5 100644 --- a/doc/_docstrings/FacetGrid.ipynb +++ b/doc/_docstrings/FacetGrid.ipynb @@ -294,7 +294,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3...
diff --git a/tests/_core/test_properties.py b/tests/_core/test_properties.py index efef33c351..4a4d26caa7 100644 --- a/tests/_core/test_properties.py +++ b/tests/_core/test_properties.py @@ -9,7 +9,7 @@ from seaborn.external.version import Version from seaborn._core.rules import categorical_order -from seaborn._cor...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex c82bdcaa4a..189e790467 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -114,6 +114,7 @@ Scale objects\n :template: scale\n :nosignatures:\n \n+ Bo...
0.12
72710354ecc8470683e15f452ba0af841464e84a
[ "tests/_core/test_rules.py::test_categorical_order", "tests/_core/test_rules.py::test_vartype_object" ]
[ "tests/_core/test_properties.py::TestColor::test_nominal_default_palette_large", "tests/_core/test_properties.py::TestAlpha::test_inference[arg6-cat-Nominal]", "tests/_core/test_scales.py::TestContinuous::test_tick_upto", "tests/_core/test_scales.py::TestNominal::test_color_alpha_in_palette", "tests/_core/t...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "strict_boolean" }, { "type": "field", "name": "bool" }, { "type...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex c82bdcaa4a..189e790467 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -114,6 +114,7 @@ Scale objects\n :template: scale\n :nosignatures:\n \n+ Bo...
diff --git a/doc/api.rst b/doc/api.rst index c82bdcaa4a..189e790467 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -114,6 +114,7 @@ Scale objects :template: scale :nosignatures: + Boolean Continuous Nominal Temporal diff --git a/doc/whatsnew/index.rst b/doc/whatsnew/index.rst index 82b2a9a...
mwaskom/seaborn
mwaskom__seaborn-3225
https://github.com/mwaskom/seaborn/pull/3225
diff --git a/doc/_docstrings/objects.Plot.config.ipynb b/doc/_docstrings/objects.Plot.config.ipynb index 3b0ba2dcef..7230db5c26 100644 --- a/doc/_docstrings/objects.Plot.config.ipynb +++ b/doc/_docstrings/objects.Plot.config.ipynb @@ -22,6 +22,8 @@ "Theme configuration\n", "^^^^^^^^^^^^^^^^^^^\n", "\n", ...
diff --git a/tests/_core/test_plot.py b/tests/_core/test_plot.py index af81685e58..3da7aab583 100644 --- a/tests/_core/test_plot.py +++ b/tests/_core/test_plot.py @@ -14,7 +14,7 @@ from pandas.testing import assert_frame_equal, assert_series_equal from numpy.testing import assert_array_equal, assert_array_almost_equa...
[ { "path": "doc/_docstrings/objects.Plot.config.ipynb", "old_path": "a/doc/_docstrings/objects.Plot.config.ipynb", "new_path": "b/doc/_docstrings/objects.Plot.config.ipynb", "metadata": "diff --git a/doc/_docstrings/objects.Plot.config.ipynb b/doc/_docstrings/objects.Plot.config.ipynb\nindex 3b0ba2dc...
0.13
a47b97e4b98c809db55cbd283de21acba89fe186
[ "tests/_core/test_plot.py::TestLayerAddition::test_type_checks", "tests/_core/test_plot.py::TestScaling::test_pair_single_coordinate_stat_orient", "tests/_core/test_plot.py::TestPairInterface::test_cross_mismatched_lengths", "tests/_core/test_plot.py::TestLegend::test_single_layer_common_variable", "tests/_...
[ "tests/_core/test_plot.py::TestDisplayConfig::test_png_scaling", "tests/_core/test_plot.py::TestDisplayConfig::test_svg_format", "tests/_core/test_plot.py::TestDisplayConfig::test_png_format", "tests/_core/test_plot.py::TestDisplayConfig::test_svg_scaling", "tests/_core/test_plot.py::TestDisplayConfig::test...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "function", "name": "_repr_svg_" }, { "type": "field", "name": "attrib" }, { "typ...
[ { "path": "doc/_docstrings/objects.Plot.config.ipynb", "old_path": "a/doc/_docstrings/objects.Plot.config.ipynb", "new_path": "b/doc/_docstrings/objects.Plot.config.ipynb", "metadata": "diff --git a/doc/_docstrings/objects.Plot.config.ipynb b/doc/_docstrings/objects.Plot.config.ipynb\nindex 3b0ba2dc...
diff --git a/doc/_docstrings/objects.Plot.config.ipynb b/doc/_docstrings/objects.Plot.config.ipynb index 3b0ba2dcef..7230db5c26 100644 --- a/doc/_docstrings/objects.Plot.config.ipynb +++ b/doc/_docstrings/objects.Plot.config.ipynb @@ -22,6 +22,8 @@ "Theme configuration\n", "^^^^^^^^^^^^^^^^^^^\n", "\n", ...
mwaskom/seaborn
mwaskom__seaborn-3223
https://github.com/mwaskom/seaborn/pull/3223
diff --git a/doc/_docstrings/objects.Plot.config.ipynb b/doc/_docstrings/objects.Plot.config.ipynb new file mode 100644 index 0000000000..3b0ba2dcef --- /dev/null +++ b/doc/_docstrings/objects.Plot.config.ipynb @@ -0,0 +1,124 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "a38a6...
diff --git a/tests/_core/test_plot.py b/tests/_core/test_plot.py index d7a950b6ae..af81685e58 100644 --- a/tests/_core/test_plot.py +++ b/tests/_core/test_plot.py @@ -922,6 +922,16 @@ def test_theme_error(self): with pytest.raises(TypeError, match=r"theme\(\) takes 1 positional"): p.theme("arg1", ...
[ { "path": "doc/_templates/autosummary/plot.rst", "old_path": "a/doc/_templates/autosummary/plot.rst", "new_path": "b/doc/_templates/autosummary/plot.rst", "metadata": "diff --git a/doc/_templates/autosummary/plot.rst b/doc/_templates/autosummary/plot.rst\nindex 65b97b856f..aae1c66570 100644\n--- a/d...
0.13
623b0b723c671e99f04e8ababf19adc563f30168
[ "tests/_core/test_plot.py::TestLayerAddition::test_type_checks", "tests/_core/test_plot.py::TestScaling::test_pair_single_coordinate_stat_orient", "tests/_core/test_plot.py::TestPairInterface::test_cross_mismatched_lengths", "tests/_core/test_plot.py::TestLegend::test_single_layer_common_variable", "tests/_...
[ "tests/_core/test_plot.py::TestThemeConfig::test_copy", "tests/_core/test_plot.py::TestThemeConfig::test_html_repr", "tests/_core/test_plot.py::TestPlotting::test_theme_validation", "tests/_core/test_plot.py::TestThemeConfig::test_reset", "tests/_core/test_plot.py::TestThemeConfig::test_setitem", "tests/_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "function", "name": "_repr_html_" } ] }
[ { "path": "doc/_templates/autosummary/plot.rst", "old_path": "a/doc/_templates/autosummary/plot.rst", "new_path": "b/doc/_templates/autosummary/plot.rst", "metadata": "diff --git a/doc/_templates/autosummary/plot.rst b/doc/_templates/autosummary/plot.rst\nindex 65b97b856f..aae1c66570 100644\n--- a/d...
diff --git a/doc/_templates/autosummary/plot.rst b/doc/_templates/autosummary/plot.rst index 65b97b856f..aae1c66570 100644 --- a/doc/_templates/autosummary/plot.rst +++ b/doc/_templates/autosummary/plot.rst @@ -4,54 +4,66 @@ .. autoclass:: {{ objname }} - {% block methods %} +{% block methods %} - .. rubric:...
mwaskom/seaborn
mwaskom__seaborn-3086
https://github.com/mwaskom/seaborn/pull/3086
diff --git a/doc/_docstrings/objects.Count.ipynb b/doc/_docstrings/objects.Count.ipynb new file mode 100644 index 0000000000..a509a68619 --- /dev/null +++ b/doc/_docstrings/objects.Count.ipynb @@ -0,0 +1,121 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "89113d6b-70b9-4ebe-9910...
diff --git a/tests/_stats/test_histogram.py b/tests/_stats/test_counting.py similarity index 86% rename from tests/_stats/test_histogram.py rename to tests/_stats/test_counting.py index f70865f0f2..44a0ae752b 100644 --- a/tests/_stats/test_histogram.py +++ b/tests/_stats/test_counting.py @@ -6,7 +6,45 @@ from numpy.te...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 79442157b5..41240f0c34 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -86,6 +86,7 @@ Stat objects\n \n Agg\n Est\n+ Count\n Hist\n Perc\n...
0.12
a02b6bf97bc3c66060f78bcc6704627d5638632d
[]
[ "tests/_stats/test_counting.py::TestHist::test_common_norm_false", "tests/_stats/test_counting.py::TestHist::test_common_norm_subset", "tests/_stats/test_counting.py::TestHist::test_array_bins", "tests/_stats/test_counting.py::TestHist::test_count_stat", "tests/_stats/test_counting.py::TestHist::test_percen...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "self" }, { "type": "field", "name": "bin_kws" }, { "type": "fie...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 79442157b5..41240f0c34 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -86,6 +86,7 @@ Stat objects\n \n Agg\n Est\n+ Count\n Hist\n Perc\n...
diff --git a/doc/api.rst b/doc/api.rst index 79442157b5..41240f0c34 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -86,6 +86,7 @@ Stat objects Agg Est + Count Hist Perc PolyFit diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 5db8f8644a..2850eaa94e 100644 --- a/doc/wh...
mwaskom/seaborn
mwaskom__seaborn-3063
https://github.com/mwaskom/seaborn/pull/3063
diff --git a/doc/_docstrings/objects.Perc.ipynb b/doc/_docstrings/objects.Perc.ipynb new file mode 100644 index 0000000000..b97c87cc1f --- /dev/null +++ b/doc/_docstrings/objects.Perc.ipynb @@ -0,0 +1,130 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "2d44a326-029b-47ff-b560-5f...
diff --git a/tests/_stats/test_order.py b/tests/_stats/test_order.py new file mode 100644 index 0000000000..eaacdcab8b --- /dev/null +++ b/tests/_stats/test_order.py @@ -0,0 +1,87 @@ + +import numpy as np +import pandas as pd + +import pytest +from numpy.testing import assert_array_equal + +from seaborn._core.groupby i...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 5b53444475..357d1e7f14 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -86,6 +86,7 @@ Stat objects\n Agg\n Est\n Hist\n+ Perc\n PolyFit\n ...
0.12
c412ddf1fede5d8882a6c230826c1d8fbbf61911
[]
[ "tests/_stats/test_order.py::TestPerc::test_list_k", "tests/_stats/test_order.py::TestPerc::test_orientation", "tests/_stats/test_order.py::TestPerc::test_int_k", "tests/_stats/test_order.py::TestPerc::test_grouped", "tests/_stats/test_order.py::TestPerc::test_method", "tests/_stats/test_order.py::TestPer...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "external" }, { "type": "field", "name": "orient" }, { "type": "...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 5b53444475..357d1e7f14 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -86,6 +86,7 @@ Stat objects\n Agg\n Est\n Hist\n+ Perc\n PolyFit\n ...
diff --git a/doc/api.rst b/doc/api.rst index 5b53444475..357d1e7f14 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -86,6 +86,7 @@ Stat objects Agg Est Hist + Perc PolyFit Move objects diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index a1ea32926c..7d66c67aea 100644 --- a/doc...
mwaskom/seaborn
mwaskom__seaborn-3087
https://github.com/mwaskom/seaborn/pull/3087
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 5db8f8644a..ca11a2db9c 100644 --- a/doc/whatsnew/v0.12.1.rst +++ b/doc/whatsnew/v0.12.1.rst @@ -14,7 +14,9 @@ v0.12.1 (Unreleased) - |Enhancement| |Defaults| Axes with a :class:`objects.Nominal` scale now appear like categorical axes in class sea...
diff --git a/tests/_core/test_scales.py b/tests/_core/test_scales.py index 1bceed9244..c4b39f5d34 100644 --- a/tests/_core/test_scales.py +++ b/tests/_core/test_scales.py @@ -213,6 +213,15 @@ def test_log_tick_count(self, x): a.set_view_interval(.5, 1050) assert_array_equal(a.major.locator(), [1, 10, ...
[ { "path": "doc/whatsnew/v0.12.1.rst", "old_path": "a/doc/whatsnew/v0.12.1.rst", "new_path": "b/doc/whatsnew/v0.12.1.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst\nindex 5db8f8644a..ca11a2db9c 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst...
0.12
a02b6bf97bc3c66060f78bcc6704627d5638632d
[ "tests/_core/test_scales.py::TestContinuous::test_tick_upto", "tests/_core/test_scales.py::TestNominal::test_color_alpha_in_palette", "tests/_core/test_scales.py::TestContinuous::test_label_like_pattern", "tests/_core/test_scales.py::TestContinuous::test_tick_locator", "tests/_core/test_scales.py::TestNomin...
[ "tests/_core/test_scales.py::TestContinuous::test_log_tick_format_disabled" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whatsnew/v0.12.1.rst", "old_path": "a/doc/whatsnew/v0.12.1.rst", "new_path": "b/doc/whatsnew/v0.12.1.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst\nindex 5db8f8644a..ca11a2db9c 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst...
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 5db8f8644a..ca11a2db9c 100644 --- a/doc/whatsnew/v0.12.1.rst +++ b/doc/whatsnew/v0.12.1.rst @@ -14,7 +14,9 @@ v0.12.1 (Unreleased) - |Enhancement| |Defaults| Axes with a :class:`objects.Nominal` scale now appear like categorical axes in class sea...
mwaskom/seaborn
mwaskom__seaborn-2944
https://github.com/mwaskom/seaborn/pull/2944
diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst index 07c98fa907..b1435a6cbd 100644 --- a/doc/whatsnew/v0.12.0.rst +++ b/doc/whatsnew/v0.12.0.rst @@ -62,6 +62,8 @@ Other updates - |Feature| Made it easier to customize :class:`FacetGrid` / :class:`PairGrid` / :class:`JointGrid` with a fluent (method-...
diff --git a/tests/test_axisgrid.py b/tests/test_axisgrid.py index 3ade4ebac3..ed1a1cd721 100644 --- a/tests/test_axisgrid.py +++ b/tests/test_axisgrid.py @@ -653,14 +653,14 @@ def test_refline(self): g = ag.FacetGrid(self.df, row="a", col="b") g.refline() - for ax in g.axes.ravel(): + ...
[ { "path": "doc/whatsnew/v0.12.0.rst", "old_path": "a/doc/whatsnew/v0.12.0.rst", "new_path": "b/doc/whatsnew/v0.12.0.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst\nindex 07c98fa907..b1435a6cbd 100644\n--- a/doc/whatsnew/v0.12.0.rst\n+++ b/doc/whatsnew/v0.12.0.rst...
0.12
ae9080d583032ab98a731e55753caf82b10c6905
[ "tests/test_axisgrid.py::TestFacetGrid::test_normal_axes", "tests/test_axisgrid.py::TestFacetGrid::test_pipe", "tests/test_axisgrid.py::TestPairGrid::test_size", "tests/test_axisgrid.py::TestPairGrid::test_map_upper", "tests/test_axisgrid.py::TestPairGrid::test_default_axes", "tests/test_axisgrid.py::Test...
[ "tests/test_axisgrid.py::TestPairGrid::test_tick_params", "tests/test_axisgrid.py::TestFacetGrid::test_tick_params" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whatsnew/v0.12.0.rst", "old_path": "a/doc/whatsnew/v0.12.0.rst", "new_path": "b/doc/whatsnew/v0.12.0.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst\nindex 07c98fa907..b1435a6cbd 100644\n--- a/doc/whatsnew/v0.12.0.rst\n+++ b/doc/whatsnew/v0.12.0.rst...
diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst index 07c98fa907..b1435a6cbd 100644 --- a/doc/whatsnew/v0.12.0.rst +++ b/doc/whatsnew/v0.12.0.rst @@ -62,6 +62,8 @@ Other updates - |Feature| Made it easier to customize :class:`FacetGrid` / :class:`PairGrid` / :class:`JointGrid` with a fluent (method-...
mwaskom/seaborn
mwaskom__seaborn-2928
https://github.com/mwaskom/seaborn/pull/2928
diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst index 013200b90f..09d63ce3f7 100644 --- a/doc/whatsnew/v0.12.0.rst +++ b/doc/whatsnew/v0.12.0.rst @@ -60,10 +60,12 @@ Other updates - |Feature| It is now possible to aggregate / sort a :func:`lineplot` along the y axis using `orient="y"` (:pr:`2854`). ...
diff --git a/tests/test_axisgrid.py b/tests/test_axisgrid.py index 4a33da94a0..3ade4ebac3 100644 --- a/tests/test_axisgrid.py +++ b/tests/test_axisgrid.py @@ -673,6 +673,29 @@ def test_refline(self): assert g.axes[0, 0].lines[-1].get_color() == color assert g.axes[0, 0].lines[-1].get_linestyle() == li...
[ { "path": "doc/whatsnew/v0.12.0.rst", "old_path": "a/doc/whatsnew/v0.12.0.rst", "new_path": "b/doc/whatsnew/v0.12.0.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst\nindex 013200b90f..09d63ce3f7 100644\n--- a/doc/whatsnew/v0.12.0.rst\n+++ b/doc/whatsnew/v0.12.0.rst...
0.12
f581300dd8029f71290a04ffc2bddc7f9f713d00
[ "tests/test_axisgrid.py::TestFacetGrid::test_normal_axes", "tests/test_axisgrid.py::TestPairGrid::test_size", "tests/test_axisgrid.py::TestPairGrid::test_map_upper", "tests/test_axisgrid.py::TestPairGrid::test_default_axes", "tests/test_axisgrid.py::TestPairGrid::test_map_lower", "tests/test_axisgrid.py::...
[ "tests/test_axisgrid.py::TestFacetGrid::test_pipe", "tests/test_axisgrid.py::TestFacetGrid::test_apply" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whatsnew/v0.12.0.rst", "old_path": "a/doc/whatsnew/v0.12.0.rst", "new_path": "b/doc/whatsnew/v0.12.0.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst\nindex 013200b90f..09d63ce3f7 100644\n--- a/doc/whatsnew/v0.12.0.rst\n+++ b/doc/whatsnew/v0.12.0.rst...
diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst index 013200b90f..09d63ce3f7 100644 --- a/doc/whatsnew/v0.12.0.rst +++ b/doc/whatsnew/v0.12.0.rst @@ -60,10 +60,12 @@ Other updates - |Feature| It is now possible to aggregate / sort a :func:`lineplot` along the y axis using `orient="y"` (:pr:`<PRID>`)...
mwaskom/seaborn
mwaskom__seaborn-3066
https://github.com/mwaskom/seaborn/pull/3066
diff --git a/doc/_docstrings/objects.Jitter.ipynb b/doc/_docstrings/objects.Jitter.ipynb new file mode 100644 index 0000000000..6aa600cddd --- /dev/null +++ b/doc/_docstrings/objects.Jitter.ipynb @@ -0,0 +1,178 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "f2e5a85d-c710-492b-a...
diff --git a/tests/_core/test_moves.py b/tests/_core/test_moves.py index bac86d12e2..6fd88bb5fc 100644 --- a/tests/_core/test_moves.py +++ b/tests/_core/test_moves.py @@ -78,6 +78,15 @@ def check_pos(self, res, df, var, limit): assert (res[var] < df[var] + limit / 2).all() assert (res[var] > df[var] -...
[ { "path": "doc/whatsnew/v0.12.1.rst", "old_path": "a/doc/whatsnew/v0.12.1.rst", "new_path": "b/doc/whatsnew/v0.12.1.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst\nindex ee779cee17..6ba57d5b49 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst...
0.12
aa56714f7ca39c809126200449f14073eb9fedcd
[ "tests/_core/test_moves.py::TestDodge::test_two_semantics", "tests/_core/test_moves.py::TestDodge::test_default", "tests/_core/test_moves.py::TestNorm::test_sum", "tests/_core/test_moves.py::TestStack::test_basic", "tests/_core/test_moves.py::TestDodge::test_single_semantic[grp2]", "tests/_core/test_moves...
[ "tests/_core/test_moves.py::TestJitter::test_default" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whatsnew/v0.12.1.rst", "old_path": "a/doc/whatsnew/v0.12.1.rst", "new_path": "b/doc/whatsnew/v0.12.1.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst\nindex ee779cee17..6ba57d5b49 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst...
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index ee779cee17..6ba57d5b49 100644 --- a/doc/whatsnew/v0.12.1.rst +++ b/doc/whatsnew/v0.12.1.rst @@ -8,6 +8,8 @@ v0.12.1 (Unreleased) - |Feature| The :class:`Band` and :class:`Range` marks will now cover the full extent of the data if `min` / `max` va...
mwaskom/seaborn
mwaskom__seaborn-3069
https://github.com/mwaskom/seaborn/pull/3069
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 6ba57d5b49..8c14a2f3bc 100644 --- a/doc/whatsnew/v0.12.1.rst +++ b/doc/whatsnew/v0.12.1.rst @@ -6,11 +6,13 @@ v0.12.1 (Unreleased) - |Feature| Added the :class:`objects.Perc` stat (:pr:`3063`). -- |Feature| The :class:`Band` and :class:`Range` ...
diff --git a/tests/_core/test_plot.py b/tests/_core/test_plot.py index 03a64917f3..e855aef9e6 100644 --- a/tests/_core/test_plot.py +++ b/tests/_core/test_plot.py @@ -645,6 +645,28 @@ def test_undefined_variable_raises(self): with pytest.raises(RuntimeError, match=err): p.plot() + def test_no...
[ { "path": "doc/whatsnew/v0.12.1.rst", "old_path": "a/doc/whatsnew/v0.12.1.rst", "new_path": "b/doc/whatsnew/v0.12.1.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst\nindex 6ba57d5b49..8c14a2f3bc 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst...
0.12
54cab15bdacfaa05a88fbc5502a5b322d99f148e
[ "tests/_core/test_plot.py::TestLayerAddition::test_type_checks", "tests/_core/test_plot.py::TestPairInterface::test_cross_mismatched_lengths", "tests/_core/test_plot.py::TestLabelVisibility::test_single_subplot", "tests/_core/test_plot.py::TestLabelVisibility::test_2d_unshared", "tests/_core/test_plot.py::T...
[ "tests/_core/test_plot.py::TestScaling::test_nominal_y_axis_tweaks", "tests/_core/test_plot.py::TestScaling::test_nominal_x_axis_tweaks" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whatsnew/v0.12.1.rst", "old_path": "a/doc/whatsnew/v0.12.1.rst", "new_path": "b/doc/whatsnew/v0.12.1.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst\nindex 6ba57d5b49..8c14a2f3bc 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst...
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 6ba57d5b49..8c14a2f3bc 100644 --- a/doc/whatsnew/v0.12.1.rst +++ b/doc/whatsnew/v0.12.1.rst @@ -6,11 +6,13 @@ v0.12.1 (Unreleased) - |Feature| Added the :class:`objects.Perc` stat (:pr:`<PRID>`). -- |Feature| The :class:`Band` and :class:`Range...
mwaskom/seaborn
mwaskom__seaborn-2866
https://github.com/mwaskom/seaborn/pull/2866
diff --git a/doc/docstrings/barplot.ipynb b/doc/docstrings/barplot.ipynb index 685d729129..b693cefa93 100644 --- a/doc/docstrings/barplot.ipynb +++ b/doc/docstrings/barplot.ipynb @@ -67,7 +67,7 @@ "metadata": {}, "outputs": [], "source": [ - "sns.barplot(data=df, x=\"island\", y=\"body_mass_g\", ci=\"sd\...
diff --git a/tests/test_categorical.py b/tests/test_categorical.py index 70554b3c81..686fb7bfc4 100644 --- a/tests/test_categorical.py +++ b/tests/test_categorical.py @@ -517,7 +517,7 @@ def test_no_bootstrappig(self): p = cat._CategoricalStatPlotter() p.establish_variables("g", "y", data=self.df) -...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 6beda83985..463568db59 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
0.12
1191b615a1f0716215a086d9b4615f1342e92cbe
[ "tests/test_categorical.py::TestViolinPlotter::test_draw_box_lines", "tests/test_categorical.py::TestCategoricalPlotter::test_hue_order", "tests/test_categorical.py::TestBoxenPlotter::test_invalid_depths", "tests/test_categorical.py::TestCategoricalPlotter::test_1d_input_data", "tests/test_categorical.py::T...
[ "tests/test_categorical.py::TestCategoricalStatPlotter::test_single_layer_stats", "tests/test_categorical.py::TestPointPlotter::test_different_defualt_colors", "tests/test_categorical.py::TestBarPlotter::test_errorbar", "tests/test_categorical.py::TestBarPlotter::test_draw_nested_vertical_bars", "tests/test...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 6beda83985..463568db59 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 6beda83985..463568db59 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -20,6 +20,8 @@ This release begins the process of modernizing the :ref:`categorical plots <cate - |Enhancement| It is now possible to assign `hue` when...
mwaskom/seaborn
mwaskom__seaborn-3016
https://github.com/mwaskom/seaborn/pull/3016
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 6ba57d5b49..f1ed1bb85a 100644 --- a/doc/whatsnew/v0.12.1.rst +++ b/doc/whatsnew/v0.12.1.rst @@ -12,10 +12,12 @@ v0.12.1 (Unreleased) - |Enhancement| Marks that sort along the orient axis (e.g. :class:`Line`) now use a stable algorithm (:pr:`3064`...
diff --git a/tests/test_categorical.py b/tests/test_categorical.py index 73b4b65cb0..8b84c40801 100644 --- a/tests/test_categorical.py +++ b/tests/test_categorical.py @@ -21,10 +21,12 @@ from seaborn.external.version import Version from seaborn._oldcore import categorical_order +from seaborn.axisgrid import FacetGr...
[ { "path": "doc/whatsnew/v0.12.1.rst", "old_path": "a/doc/whatsnew/v0.12.1.rst", "new_path": "b/doc/whatsnew/v0.12.1.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst\nindex 6ba57d5b49..f1ed1bb85a 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst...
0.12
54cab15bdacfaa05a88fbc5502a5b322d99f148e
[ "tests/test_categorical.py::TestViolinPlotter::test_draw_box_lines", "tests/test_categorical.py::TestCategoricalPlotter::test_hue_order", "tests/test_categorical.py::TestBoxenPlotter::test_invalid_depths", "tests/test_categorical.py::TestCategoricalPlotter::test_1d_input_data", "tests/test_categorical.py::T...
[ "tests/test_categorical.py::TestPointPlotter::test_different_defualt_colors", "tests/test_categorical.py::TestPointPlotter::test_on_facetgrid", "tests/test_categorical.py::TestPointPlotter::test_hue_offsets", "tests/test_categorical.py::TestPointPlotter::test_draw_horizontal_nested_points", "tests/test_cate...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whatsnew/v0.12.1.rst", "old_path": "a/doc/whatsnew/v0.12.1.rst", "new_path": "b/doc/whatsnew/v0.12.1.rst", "metadata": "diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst\nindex 6ba57d5b49..f1ed1bb85a 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst...
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 6ba57d5b49..f1ed1bb85a 100644 --- a/doc/whatsnew/v0.12.1.rst +++ b/doc/whatsnew/v0.12.1.rst @@ -12,10 +12,12 @@ v0.12.1 (Unreleased) - |Enhancement| Marks that sort along the orient axis (e.g. :class:`Line`) now use a stable algorithm (:pr:`<PRID...
mwaskom/seaborn
mwaskom__seaborn-2860
https://github.com/mwaskom/seaborn/pull/2860
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 77b3b5b62b..4711ecaa88 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -51,6 +51,8 @@ Other updates - |Enhancement| Example datasets are now stored in an OS-specific cache location (as determined by `appdirs`) rather than ...
diff --git a/tests/test_categorical.py b/tests/test_categorical.py index fac4567299..70554b3c81 100644 --- a/tests/test_categorical.py +++ b/tests/test_categorical.py @@ -2203,26 +2203,27 @@ class TestBarPlotter(CategoricalFixture): estimator=np.mean, ci=95, n_boot=100, units=None, seed=None, order=No...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 77b3b5b62b..4711ecaa88 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
0.12
a48dc8f4df8d81ff8b50bdf26b6c094333f6ea8d
[ "tests/test_categorical.py::TestViolinPlotter::test_draw_box_lines", "tests/test_categorical.py::TestCategoricalPlotter::test_hue_order", "tests/test_categorical.py::TestBoxenPlotter::test_invalid_depths", "tests/test_categorical.py::TestCategoricalPlotter::test_1d_input_data", "tests/test_categorical.py::T...
[ "tests/test_categorical.py::TestBarPlotter::test_draw_nested_vertical_bars", "tests/test_categorical.py::TestBarPlotter::test_draw_vertical_bars", "tests/test_categorical.py::TestBarPlotter::test_draw_horizontal_bars", "tests/test_categorical.py::TestBarPlotter::test_draw_nested_horizontal_bars", "tests/tes...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 77b3b5b62b..4711ecaa88 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 77b3b5b62b..4711ecaa88 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -51,6 +51,8 @@ Other updates - |Enhancement| Example datasets are now stored in an OS-specific cache location (as determined by `appdirs`) rather than ...
mwaskom/seaborn
mwaskom__seaborn-2853
https://github.com/mwaskom/seaborn/pull/2853
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 3423a79100..822d7ef6f3 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -53,6 +53,8 @@ Other updates - |Enhancement| When using :func:`pairplot` with `corner=True` and `diag_kind=None`, the top left y axis label is no longe...
diff --git a/tests/test_regression.py b/tests/test_regression.py index f84c9398a9..280599e673 100644 --- a/tests/test_regression.py +++ b/tests/test_regression.py @@ -522,6 +522,14 @@ def test_regplot_scatter_kws_alpha(self): scatter_kws={'color': color}) assert ax.collections[0]._alph...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 3423a79100..822d7ef6f3 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
0.12
a674a83cc894b5941a86d4c51ba2e57c632882c1
[ "tests/test_regression.py::TestRegressionPlots::test_lmplot_hue_col_nolegend", "tests/test_regression.py::TestRegressionPlotter::test_partial", "tests/test_regression.py::TestLinearPlotter::test_dropna", "tests/test_regression.py::TestRegressionPlotter::test_singleton[x0-y0]", "tests/test_regression.py::Tes...
[ "tests/test_regression.py::TestRegressionPlots::test_regplot_scatter_kws_alpha" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 3423a79100..822d7ef6f3 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 3423a79100..822d7ef6f3 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -53,6 +53,8 @@ Other updates - |Enhancement| When using :func:`pairplot` with `corner=True` and `diag_kind=None`, the top left y axis label is no longe...
mwaskom/seaborn
mwaskom__seaborn-2643
https://github.com/mwaskom/seaborn/pull/2643
diff --git a/doc/api.rst b/doc/api.rst index 4d30f9dfe8..86db07d7b8 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -184,10 +184,11 @@ Utility functions :toctree: generated/ :nosignatures: - load_dataset - get_dataset_names - get_data_home despine - desaturate + move_legend saturate +...
diff --git a/seaborn/tests/test_utils.py b/seaborn/tests/test_utils.py index d264935b89..587a2dcfa4 100644 --- a/seaborn/tests/test_utils.py +++ b/seaborn/tests/test_utils.py @@ -336,6 +336,96 @@ def test_locator_to_legend_entries(): assert str_levels == ['1e-04', '1e-03', '1e-02'] +def test_move_legend_ma...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 4d30f9dfe8..86db07d7b8 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -184,10 +184,11 @@ Utility functions\n :toctree: generated/\n :nosignatures:\n...
0.12
091f4c0e4f3580a8060de5596fa64c1ff9454dc5
[ "seaborn/tests/test_utils.py::test_draw_figure", "seaborn/tests/test_utils.py::test_get_color_cycle[cycler0-result0]", "seaborn/tests/test_utils.py::TestSpineUtils::test_despine", "seaborn/tests/test_utils.py::TestSpineUtils::test_despine_moved_ticks", "seaborn/tests/test_utils.py::test_get_color_cycle[cycl...
[ "seaborn/tests/test_utils.py::test_move_legend_input_checks", "seaborn/tests/test_utils.py::test_load_datasets", "seaborn/tests/test_utils.py::test_move_legend_matplotlib_objects" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "legends" }, { "type": "field", "name": "axisgrid" }, { "type": ...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 4d30f9dfe8..86db07d7b8 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -184,10 +184,11 @@ Utility functions\n :toctree: generated/\n :nosignatures:\n...
diff --git a/doc/api.rst b/doc/api.rst index 4d30f9dfe8..86db07d7b8 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -184,10 +184,11 @@ Utility functions :toctree: generated/ :nosignatures: - load_dataset - get_dataset_names - get_data_home despine - desaturate + move_legend saturate +...
mwaskom/seaborn
mwaskom__seaborn-2850
https://github.com/mwaskom/seaborn/pull/2850
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index a026fb99a8..4f90b48f29 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -51,6 +51,8 @@ Other updates - |Enhancement| Example datasets are now stored in an OS-specific cache location (as determined by `appdirs`) rather than ...
diff --git a/tests/test_axisgrid.py b/tests/test_axisgrid.py index 40d591f184..398f2d4a76 100644 --- a/tests/test_axisgrid.py +++ b/tests/test_axisgrid.py @@ -765,12 +765,12 @@ def test_corner(self): for ax in np.diag(g.axes): assert not ax.yaxis.get_visible() - assert not g.axes[0, 0...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex a026fb99a8..4f90b48f29 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
0.12
7b3e4dfd211190113d6d4e64d46882e1b2402ab6
[ "tests/test_axisgrid.py::TestFacetGrid::test_normal_axes", "tests/test_axisgrid.py::TestPairGrid::test_size", "tests/test_axisgrid.py::TestPairGrid::test_map_upper", "tests/test_axisgrid.py::TestPairGrid::test_default_axes", "tests/test_axisgrid.py::TestPairGrid::test_map_lower", "tests/test_axisgrid.py::...
[ "tests/test_axisgrid.py::TestPairGrid::test_corner" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex a026fb99a8..4f90b48f29 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index a026fb99a8..4f90b48f29 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -51,6 +51,8 @@ Other updates - |Enhancement| Example datasets are now stored in an OS-specific cache location (as determined by `appdirs`) rather than ...
mwaskom/seaborn
mwaskom__seaborn-2639
https://github.com/mwaskom/seaborn/pull/2639
diff --git a/doc/docstrings/FacetGrid.ipynb b/doc/docstrings/FacetGrid.ipynb index bcd8b5c0f8..de6fc22a2e 100644 --- a/doc/docstrings/FacetGrid.ipynb +++ b/doc/docstrings/FacetGrid.ipynb @@ -262,7 +262,7 @@ "source": [ "g = sns.FacetGrid(tips, col=\"sex\", row=\"time\", margin_titles=True, despine=False)\n", ...
diff --git a/seaborn/tests/test_axisgrid.py b/seaborn/tests/test_axisgrid.py index 719aceb1ba..699dd7ac83 100644 --- a/seaborn/tests/test_axisgrid.py +++ b/seaborn/tests/test_axisgrid.py @@ -40,10 +40,11 @@ def test_self_data(self): g = ag.FacetGrid(self.df) assert g.data is self.df - def test_se...
[ { "path": "doc/releases/v0.11.2.txt", "old_path": "a/doc/releases/v0.11.2.txt", "new_path": "b/doc/releases/v0.11.2.txt", "metadata": "diff --git a/doc/releases/v0.11.2.txt b/doc/releases/v0.11.2.txt\nindex 37318252f1..73f32c6d7c 100644\n--- a/doc/releases/v0.11.2.txt\n+++ b/doc/releases/v0.11.2.txt...
0.12
bfb7a046183647b145ad69600901dded26aa8292
[ "seaborn/tests/test_axisgrid.py::TestFacetGrid::test_dropna", "seaborn/tests/test_axisgrid.py::TestFacetGrid::test_categorical_column_missing_categories", "seaborn/tests/test_axisgrid.py::TestPairGrid::test_ignore_datelike_data", "seaborn/tests/test_axisgrid.py::TestPairGrid::test_hue_order", "seaborn/tests...
[ "seaborn/tests/test_axisgrid.py::TestFacetGrid::test_self_figure", "seaborn/tests/test_axisgrid.py::TestFacetGrid::test_gridspec_kws", "seaborn/tests/test_axisgrid.py::TestFacetGrid::test_figure_size_with_legend", "seaborn/tests/test_axisgrid.py::TestPairGrid::test_self_figure", "seaborn/tests/test_axisgrid...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "_figure" }, { "type": "field", "name": "_figure" } ] }
[ { "path": "doc/releases/v0.11.2.txt", "old_path": "a/doc/releases/v0.11.2.txt", "new_path": "b/doc/releases/v0.11.2.txt", "metadata": "diff --git a/doc/releases/v0.11.2.txt b/doc/releases/v0.11.2.txt\nindex 37318252f1..73f32c6d7c 100644\n--- a/doc/releases/v0.11.2.txt\n+++ b/doc/releases/v0.11.2.txt...
diff --git a/doc/releases/v0.11.2.txt b/doc/releases/v0.11.2.txt index 37318252f1..73f32c6d7c 100644 --- a/doc/releases/v0.11.2.txt +++ b/doc/releases/v0.11.2.txt @@ -12,10 +12,12 @@ This is a minor release that addresses issues in the v0.11 series and adds a sma - |Feature| In :func:`kdeplot`, added the `warn_singu...
mwaskom/seaborn
mwaskom__seaborn-2576
https://github.com/mwaskom/seaborn/pull/2576
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 45692e663a..ea7234c14b 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -28,17 +28,23 @@ A paper describing seaborn was published in the `Journal of Open Source Software - |Enhancement| |Fix| Improved integration with the m...
diff --git a/seaborn/tests/test_regression.py b/seaborn/tests/test_regression.py index ee471cff68..63768a521c 100644 --- a/seaborn/tests/test_regression.py +++ b/seaborn/tests/test_regression.py @@ -1,3 +1,4 @@ +from distutils.version import LooseVersion import numpy as np import matplotlib as mpl import matplotlib....
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 45692e663a..ea7234c14b 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
0.12
430c1bf1fcc690f0431e6fc87b481b7b43776594
[ "seaborn/tests/test_regression.py::TestRegressionPlots::test_lmplot_marker_linewidths", "seaborn/tests/test_regression.py::TestRegressionPlots::test_residplot", "seaborn/tests/test_regression.py::TestRegressionPlotter::test_regression_limits", "seaborn/tests/test_regression.py::TestRegressionPlots::test_regpl...
[ "seaborn/tests/test_regression.py::TestRegressionPlots::test_lmplot_facet_truncate[True]", "seaborn/tests/test_regression.py::TestRegressionPlots::test_lmplot_sharey", "seaborn/tests/test_regression.py::TestRegressionPlots::test_lmplot_facet_truncate[False]", "seaborn/tests/test_regression.py::TestRegressionP...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 45692e663a..ea7234c14b 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 45692e663a..ea7234c14b 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -28,17 +28,23 @@ A paper describing seaborn was published in the `Journal of Open Source Software - |Enhancement| |Fix| Improved integration with the m...
mwaskom/seaborn
mwaskom__seaborn-2443
https://github.com/mwaskom/seaborn/pull/2443
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 4a12cddbbb..8a0508c808 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -10,6 +10,11 @@ v0.12.0 (Unreleased) - In :func:`stripplot`, a "strip" with a single observation will be plotted without jitter (:pr:`2413`) + - I...
diff --git a/seaborn/tests/test_categorical.py b/seaborn/tests/test_categorical.py index 871d5947fd..3cbf190747 100644 --- a/seaborn/tests/test_categorical.py +++ b/seaborn/tests/test_categorical.py @@ -1,4 +1,5 @@ import itertools +import warnings import numpy as np import pandas as pd import matplotlib as mpl @@ ...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 4a12cddbbb..8a0508c808 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
0.12
a809747dad5f60be3260b3bdbb2cbc8d6135284a
[]
[ "seaborn/tests/test_categorical.py::TestCategoricalPlotter::test_longform_groupby", "seaborn/tests/test_categorical.py::TestSwarmPlot::test_positions_dodged[variables2]", "seaborn/tests/test_categorical.py::TestSwarmPlot::test_positions[variables14-None]", "seaborn/tests/test_categorical.py::TestViolinPlotter...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "orig_xyr" }, { "type": "class", "name": "Beeswarm" }, { "type":...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex 4a12cddbbb..8a0508c808 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 4a12cddbbb..8a0508c808 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -10,6 +10,11 @@ v0.12.0 (Unreleased) - In :func:`stripplot`, a "strip" with a single observation will be plotted without jitter (:pr:`<PRID>`) + -...
mwaskom/seaborn
mwaskom__seaborn-2570
https://github.com/mwaskom/seaborn/pull/2570
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index eee607ed19..7a9550864a 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -20,6 +20,8 @@ A paper describing seaborn was published in the `Journal of Open Source Software - |Enhancement| In :func:`histplot`, added `stat="perce...
diff --git a/seaborn/tests/test_distributions.py b/seaborn/tests/test_distributions.py index 029b5b7ba3..b26191fe9f 100644 --- a/seaborn/tests/test_distributions.py +++ b/seaborn/tests/test_distributions.py @@ -1750,7 +1750,7 @@ def test_mesh_with_hue(self, long_df): ax = histplot(long_df, x="x", y="y", hue="c...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex eee607ed19..7a9550864a 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
0.12
ec8fcc9930eec778d42c4fb39e60e16400e7940c
[ "seaborn/tests/test_distributions.py::TestHistPlotUnivariate::test_empty_data", "seaborn/tests/test_statistics.py::TestKDE::test_bivariate_normalization", "seaborn/tests/test_statistics.py::TestECDF::test_univariate_proportion", "seaborn/tests/test_statistics.py::TestEstimateAggregator::test_name_estimator", ...
[ "seaborn/tests/test_statistics.py::TestHistogram::test_bivariate_int_bins", "seaborn/tests/test_statistics.py::TestHistogram::test_bivariate_binrange", "seaborn/tests/test_statistics.py::TestHistogram::test_discrete_bins", "seaborn/tests/test_statistics.py::TestHistogram::test_bivariate_array_bins", "seabor...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "define_bin_params" }, { "type": "field", "name": "n_bins" }, { ...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex eee607ed19..7a9550864a 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index eee607ed19..7a9550864a 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -20,6 +20,8 @@ A paper describing seaborn was published in the `Journal of Open Source Software - |Enhancement| In :func:`histplot`, added `stat="perce...
mwaskom/seaborn
mwaskom__seaborn-2407
https://github.com/mwaskom/seaborn/pull/2407
diff --git a/doc/docstrings/lineplot.ipynb b/doc/docstrings/lineplot.ipynb index d9aa88ee86..9ae0a2477a 100644 --- a/doc/docstrings/lineplot.ipynb +++ b/doc/docstrings/lineplot.ipynb @@ -222,7 +222,7 @@ "cell_type": "raw", "metadata": {}, "source": [ - "Show error bars instead of error bands and plot the...
diff --git a/seaborn/tests/test_algorithms.py b/seaborn/tests/test_algorithms.py index f4fe38ca1a..e1ae1ffb7b 100644 --- a/seaborn/tests/test_algorithms.py +++ b/seaborn/tests/test_algorithms.py @@ -200,3 +200,20 @@ def test_bad_seed_old(): with pytest.raises(ValueError): algo._handle_random_seed("not_a...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex f628ec213a..dc9ade22e5 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
0.12
42e67d0f8589a0fd21356402b64ac6e37a693fea
[ "seaborn/tests/test_relational.py::TestRelationalPlotter::test_long_df_with_index[long_semantics5]", "seaborn/tests/test_relational.py::TestRelationalPlotter::test_long_vectors[long_semantics5-list]", "seaborn/tests/test_relational.py::TestRelationalPlotter::test_long_vectors[long_semantics7-numpy]", "seaborn...
[ "seaborn/tests/test_statistics.py::TestHistogram::test_bivariate_binrange", "seaborn/tests/test_statistics.py::TestEstimateAggregator::test_se_errorbars", "seaborn/tests/test_statistics.py::TestHistogram::test_count_stat", "seaborn/tests/test_statistics.py::TestEstimateAggregator::test_custom_errorbars", "s...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "EstimateAggregator" }, { "type": "field", "name": "sem" }, { "t...
[ { "path": "doc/releases/v0.12.0.txt", "old_path": "a/doc/releases/v0.12.0.txt", "new_path": "b/doc/releases/v0.12.0.txt", "metadata": "diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt\nindex f628ec213a..dc9ade22e5 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index f628ec213a..dc9ade22e5 100644 --- a/doc/releases/v0.12.0.txt +++ b/doc/releases/v0.12.0.txt @@ -2,6 +2,8 @@ v0.12.0 (Unreleased) -------------------- +- |API| |Feature| |Enhancement| TODO (Flesh this out further). Increased flexibility of what c...
mwaskom/seaborn
mwaskom__seaborn-2141
https://github.com/mwaskom/seaborn/pull/2141
diff --git a/doc/api.rst b/doc/api.rst index 81cde3ea95..563559c556 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -45,6 +45,7 @@ Distribution plots distplot histplot + ecdfplot kdeplot rugplot diff --git a/doc/docstrings/ecdfplot.ipynb b/doc/docstrings/ecdfplot.ipynb new file mode 100644 inde...
diff --git a/seaborn/tests/test_distributions.py b/seaborn/tests/test_distributions.py index 2ea44faa23..2593eca382 100644 --- a/seaborn/tests/test_distributions.py +++ b/seaborn/tests/test_distributions.py @@ -26,8 +26,9 @@ from ..distributions import ( _DistributionPlotter, histplot, - rugplot, + ecd...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 81cde3ea95..563559c556 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -45,6 +45,7 @@ Distribution plots\n \n distplot\n histplot\n+ ecdfplot\n ...
0.11
2d6f86a94efc6e373bc4e15a302ab5c9790f8082
[]
[ "seaborn/tests/test_distributions.py::TestHistPlotUnivariate::test_empty_data", "seaborn/tests/test_distributions.py::TestHistPlotUnivariate::test_probability_stat_common_norm", "seaborn/tests/test_distributions.py::TestKDEPlotUnivariate::test_hue_filling", "seaborn/tests/test_statistics.py::TestHistogram::te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "vals" }, { "type": "class", "name": "ECDF" }, { "type": "field"...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 81cde3ea95..563559c556 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -45,6 +45,7 @@ Distribution plots\n \n distplot\n histplot\n+ ecdfplot\n ...
diff --git a/doc/api.rst b/doc/api.rst index 81cde3ea95..563559c556 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -45,6 +45,7 @@ Distribution plots distplot histplot + ecdfplot kdeplot rugplot diff --git a/doc/releases/v0.11.0.txt b/doc/releases/v0.11.0.txt index 53c6690c5c..d6e24b693a 10064...
mwaskom/seaborn
mwaskom__seaborn-2125
https://github.com/mwaskom/seaborn/pull/2125
diff --git a/ci/deps_pinned.txt b/ci/deps_pinned.txt index d1a72958e2..0bb439f77d 100644 --- a/ci/deps_pinned.txt +++ b/ci/deps_pinned.txt @@ -1,5 +1,5 @@ -numpy=1.13 +numpy=1.15 scipy=1.0 pandas=0.23 -matplotlib=2.1 +matplotlib=2.2 statsmodels=0.8 diff --git a/doc/Makefile b/doc/Makefile index 1dfec5de5c..8ed9484cd...
diff --git a/seaborn/conftest.py b/seaborn/conftest.py index 2a1c291240..b88c1497de 100644 --- a/seaborn/conftest.py +++ b/seaborn/conftest.py @@ -137,7 +137,7 @@ def long_df(rng): y=rng.normal(size=n), a=rng.choice(list("abc"), n), b=rng.choice(list("mnop"), n), - c=rng.choice([0, 1],...
[ { "path": "doc/Makefile", "old_path": "a/doc/Makefile", "new_path": "b/doc/Makefile", "metadata": "diff --git a/doc/Makefile b/doc/Makefile\nindex 1dfec5de5c..8ed9484cd5 100644\n--- a/doc/Makefile\n+++ b/doc/Makefile\n@@ -44,13 +44,11 @@ clean:\n \t-rm -rf $(BUILDDIR)/*\n \t-rm -rf examples/*\n \t-r...
0.11
1f231436e65dfa490d8e328bd2cd97465daa1f76
[ "seaborn/tests/test_core.py::TestHueMapping::test_init_from_map", "seaborn/tests/test_core.py::TestStyleMapping::test_plotter_default_init", "seaborn/tests/test_core.py::TestStyleMapping::test_init_from_map", "seaborn/tests/test_core.py::TestCoreFunc::test_categorical_order", "seaborn/tests/test_core.py::Te...
[ "seaborn/tests/test_distributions.py::TestHistPlotUnivariate::test_empty_data", "seaborn/tests/test_distributions.py::TestHistPlotUnivariate::test_probability_stat_common_norm", "seaborn/tests/test_distributions.py::TestKDEPlotUnivariate::test_hue_filling", "seaborn/tests/test_statistics.py::TestHistogram::te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "arange" }, { "type": "file", "name": "examples/stacked_histogram.py" }, ...
[ { "path": "doc/Makefile", "old_path": "a/doc/Makefile", "new_path": "b/doc/Makefile", "metadata": "diff --git a/doc/Makefile b/doc/Makefile\nindex 1dfec5de5c..8ed9484cd5 100644\n--- a/doc/Makefile\n+++ b/doc/Makefile\n@@ -44,13 +44,11 @@ clean:\n \t-rm -rf $(BUILDDIR)/*\n \t-rm -rf examples/*\n \t-r...
diff --git a/doc/Makefile b/doc/Makefile index 1dfec5de5c..8ed9484cd5 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -44,13 +44,11 @@ clean: -rm -rf $(BUILDDIR)/* -rm -rf examples/* -rm -rf example_thumbs/* - -rm -rf tutorial/*_files/ - -rm -rf tutorial/*.rst - -rm -rf docstrings/*_files/ - -rm -rf docstrings/*....
mwaskom/seaborn
mwaskom__seaborn-2104
https://github.com/mwaskom/seaborn/pull/2104
diff --git a/.gitignore b/.gitignore index 41fd2281c8..013093cdc4 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ seaborn.egg-info/ .cache/ .coverage cover/ +htmlcov/ .idea/ .vscode/ .pytest_cache/ diff --git a/.travis.yml b/.travis.yml index 3978d0ed56..fda2bc6339 100644 --- a/.travis.yml +++ b/.travis....
diff --git a/seaborn/tests/test_axisgrid.py b/seaborn/tests/test_axisgrid.py index 521d9a5606..4735c323fc 100644 --- a/seaborn/tests/test_axisgrid.py +++ b/seaborn/tests/test_axisgrid.py @@ -1182,7 +1182,6 @@ def test_pairplot(self): n = len(self.df.a.unique()) for ax in g.diag_axes: - as...
[ { "path": "doc/matplotlibrc", "old_path": "/dev/null", "new_path": "b/doc/matplotlibrc", "metadata": "diff --git a/doc/matplotlibrc b/doc/matplotlibrc\nnew file mode 100644\nindex 0000000000..67a95bbfd0\n--- /dev/null\n+++ b/doc/matplotlibrc\n@@ -0,0 +1,1 @@\n+savefig.bbox : tight\n" }, { "p...
0.11
a76477e74729f70b826b3971a757d71d5eb74b13
[ "seaborn/tests/test_core.py::TestHueMapping::test_init_from_map", "seaborn/tests/test_core.py::TestStyleMapping::test_plotter_default_init", "seaborn/tests/test_core.py::TestStyleMapping::test_init_from_map", "seaborn/tests/test_core.py::TestCoreFunc::test_categorical_order", "seaborn/tests/test_core.py::Te...
[ "seaborn/tests/test_distributions.py::TestKDEPlotBivariate::test_contour_levels", "seaborn/tests/test_distributions.py::TestKDEPlotUnivariate::test_hue_filling", "seaborn/tests/test_distributions.py::TestKDEPlotUnivariate::test_bw_deprecation", "seaborn/tests/test_distributions.py::TestKDEPlotUnivariate::test...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "expand_margins" }, { "type": "field", "name": "val" }, { "type"...
[ { "path": "doc/matplotlibrc", "old_path": "/dev/null", "new_path": "b/doc/matplotlibrc", "metadata": "diff --git a/doc/matplotlibrc b/doc/matplotlibrc\nnew file mode 100644\nindex 0000000000..67a95bbfd0\n--- /dev/null\n+++ b/doc/matplotlibrc\n@@ -0,0 +1,1 @@\n+savefig.bbox : tight\n" }, { "p...
diff --git a/doc/matplotlibrc b/doc/matplotlibrc new file mode 100644 index 0000000000..67a95bbfd0 --- /dev/null +++ b/doc/matplotlibrc @@ -0,0 +1,1 @@ +savefig.bbox : tight diff --git a/doc/releases/v0.11.0.txt b/doc/releases/v0.11.0.txt index 30e5301d76..ec203ee0ae 100644 --- a/doc/releases/v0.11.0.txt +++ b/doc/rel...
mwaskom/seaborn
mwaskom__seaborn-2388
https://github.com/mwaskom/seaborn/pull/2388
diff --git a/doc/releases/v0.11.1.txt b/doc/releases/v0.11.1.txt index 49f884b8b0..d39c8ff65b 100644 --- a/doc/releases/v0.11.1.txt +++ b/doc/releases/v0.11.1.txt @@ -2,6 +2,8 @@ v0.11.1 (Unreleased) -------------------- +- [Enhancement| Reduced the use of matplotlib global state in the :ref:`multi-grid classes <mu...
diff --git a/seaborn/tests/test_axisgrid.py b/seaborn/tests/test_axisgrid.py index b79701333a..b643b5bfa2 100644 --- a/seaborn/tests/test_axisgrid.py +++ b/seaborn/tests/test_axisgrid.py @@ -15,7 +15,7 @@ from .. import rcmod from ..palettes import color_palette from ..relational import scatterplot -from ..distribut...
[ { "path": "doc/releases/v0.11.1.txt", "old_path": "a/doc/releases/v0.11.1.txt", "new_path": "b/doc/releases/v0.11.1.txt", "metadata": "diff --git a/doc/releases/v0.11.1.txt b/doc/releases/v0.11.1.txt\nindex 49f884b8b0..d39c8ff65b 100644\n--- a/doc/releases/v0.11.1.txt\n+++ b/doc/releases/v0.11.1.txt...
0.12
bcdac5411a1b71ff8d4a2fd12a937c129513e79e
[ "seaborn/tests/test_axisgrid.py::TestFacetGrid::test_dropna", "seaborn/tests/test_axisgrid.py::TestPairGrid::test_pairplot_kde", "seaborn/tests/test_axisgrid.py::TestPairGrid::test_map_diag_palette", "seaborn/tests/test_axisgrid.py::TestPairGrid::test_dropna[scatter]", "seaborn/tests/test_axisgrid.py::TestP...
[ "seaborn/tests/test_axisgrid.py::TestJointGrid::test_univariate_plot_matplotlib", "seaborn/tests/test_axisgrid.py::TestJointGrid::test_univariate_plot_distplot" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/releases/v0.11.1.txt", "old_path": "a/doc/releases/v0.11.1.txt", "new_path": "b/doc/releases/v0.11.1.txt", "metadata": "diff --git a/doc/releases/v0.11.1.txt b/doc/releases/v0.11.1.txt\nindex 49f884b8b0..d39c8ff65b 100644\n--- a/doc/releases/v0.11.1.txt\n+++ b/doc/releases/v0.11.1.txt...
diff --git a/doc/releases/v0.11.1.txt b/doc/releases/v0.11.1.txt index 49f884b8b0..d39c8ff65b 100644 --- a/doc/releases/v0.11.1.txt +++ b/doc/releases/v0.11.1.txt @@ -2,6 +2,8 @@ v0.11.1 (Unreleased) -------------------- +- [Enhancement| Reduced the use of matplotlib global state in the :ref:`multi-grid classes <mu...
mwaskom/seaborn
mwaskom__seaborn-2157
https://github.com/mwaskom/seaborn/pull/2157
diff --git a/.travis.yml b/.travis.yml index 92f365a05e..185da1bfe9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,7 +49,7 @@ before_script: script: - make lint - if [ $DOCTESTS == 'true' ]; - then make coverage; + then make test; else make unittests; fi diff --git a/Makefile b/Makefile inde...
diff --git a/seaborn/conftest.py b/seaborn/conftest.py index 34d41d06e1..2630971da5 100644 --- a/seaborn/conftest.py +++ b/seaborn/conftest.py @@ -149,6 +149,7 @@ def long_df(rng): df = pd.DataFrame(dict( x=rng.uniform(0, 20, n).round().astype("int"), y=rng.normal(size=n), + z=rng.lognorma...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 563559c556..86b3478431 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -43,11 +43,12 @@ Distribution plots\n .. autosummary::\n :toctree: generated/\n \n...
0.11
7dd9efcd1f57eff8c23455e2e906dbd248f10183
[ "seaborn/tests/test_core.py::TestHueMapping::test_init_from_map", "seaborn/tests/test_core.py::TestStyleMapping::test_plotter_default_init", "seaborn/tests/test_core.py::TestStyleMapping::test_init_from_map", "seaborn/tests/test_core.py::TestCoreFunc::test_categorical_order", "seaborn/tests/test_core.py::Te...
[ "seaborn/tests/test_distributions.py::TestHistPlotUnivariate::test_empty_data", "seaborn/tests/test_core.py::TestVectorPlotter::test_iter_data_values", "seaborn/tests/test_distributions.py::TestHistPlotUnivariate::test_probability_stat_common_norm", "seaborn/tests/test_utils.py::test_pmf_hist_basics", "seab...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "iter_data" }, { "type": "function", "name": "_assign_default_kwargs" }, ...
[ { "path": "doc/api.rst", "old_path": "a/doc/api.rst", "new_path": "b/doc/api.rst", "metadata": "diff --git a/doc/api.rst b/doc/api.rst\nindex 563559c556..86b3478431 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -43,11 +43,12 @@ Distribution plots\n .. autosummary::\n :toctree: generated/\n \n...
diff --git a/doc/api.rst b/doc/api.rst index 563559c556..86b3478431 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -43,11 +43,12 @@ Distribution plots .. autosummary:: :toctree: generated/ - distplot + displot histplot - ecdfplot kdeplot + ecdfplot rugplot + distplot .. _regressi...
sphinx-doc/sphinx
sphinx-doc__sphinx-7690
https://github.com/sphinx-doc/sphinx/pull/7690
diff --git a/doc/usage/extensions/napoleon.rst b/doc/usage/extensions/napoleon.rst index 76c423dc0e8..438c3395089 100644 --- a/doc/usage/extensions/napoleon.rst +++ b/doc/usage/extensions/napoleon.rst @@ -274,11 +274,12 @@ sure that "sphinx.ext.napoleon" is enabled in `conf.py`:: napoleon_use_ivar = False nap...
diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py index f9cd40104f2..56812d19390 100644 --- a/tests/test_ext_napoleon_docstring.py +++ b/tests/test_ext_napoleon_docstring.py @@ -9,13 +9,21 @@ :license: BSD, see LICENSE for details. """ +import re from collections import n...
[ { "path": "doc/usage/extensions/napoleon.rst", "old_path": "a/doc/usage/extensions/napoleon.rst", "new_path": "b/doc/usage/extensions/napoleon.rst", "metadata": "diff --git a/doc/usage/extensions/napoleon.rst b/doc/usage/extensions/napoleon.rst\nindex 76c423dc0e8..438c3395089 100644\n--- a/doc/usage...
3.2
e65021fb9b0286f373f01dc19a5777e5eed49576
[]
[ "tests/test_ext_napoleon_docstring.py::NumpyDocstringTest::test_xrefs_in_return_type", "tests/test_ext_napoleon_docstring.py::NumpyDocstringTest::test_docstrings", "tests/test_ext_napoleon_docstring.py::GoogleDocstringTest::test_attributes_with_class_reference", "tests/test_ext_napoleon_docstring.py::GoogleDo...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "function", "name": "_convert_numpy_type_spec" }, { "type": "field", "name": "_token_type" ...
[ { "path": "doc/usage/extensions/napoleon.rst", "old_path": "a/doc/usage/extensions/napoleon.rst", "new_path": "b/doc/usage/extensions/napoleon.rst", "metadata": "diff --git a/doc/usage/extensions/napoleon.rst b/doc/usage/extensions/napoleon.rst\nindex 76c423dc0e8..438c3395089 100644\n--- a/doc/usage...
diff --git a/doc/usage/extensions/napoleon.rst b/doc/usage/extensions/napoleon.rst index 76c423dc0e8..438c3395089 100644 --- a/doc/usage/extensions/napoleon.rst +++ b/doc/usage/extensions/napoleon.rst @@ -274,11 +274,12 @@ sure that "sphinx.ext.napoleon" is enabled in `conf.py`:: napoleon_use_ivar = False nap...
sphinx-doc/sphinx
sphinx-doc__sphinx-7005
https://github.com/sphinx-doc/sphinx/pull/7005
diff --git a/doc/latex.rst b/doc/latex.rst index dd5fd16791b..81f70dc1e57 100644 --- a/doc/latex.rst +++ b/doc/latex.rst @@ -817,6 +817,8 @@ Macros multiple paragraphs in header cells of tables. .. versionadded:: 1.6.3 ``\sphinxstylecodecontinued`` and ``\sphinxstylecodecontinues``. + .. versionadded:: ...
diff --git a/tests/test_markup.py b/tests/test_markup.py index edf4d737937..b6d99db90a0 100644 --- a/tests/test_markup.py +++ b/tests/test_markup.py @@ -230,6 +230,13 @@ def get(name): '<p><span class="guilabel">Foo</span></p>', r'\sphinxguilabel{Foo}', ), + ( + # kbd role + 'ver...
[ { "path": "doc/latex.rst", "old_path": "a/doc/latex.rst", "new_path": "b/doc/latex.rst", "metadata": "diff --git a/doc/latex.rst b/doc/latex.rst\nindex dd5fd16791b..81f70dc1e57 100644\n--- a/doc/latex.rst\n+++ b/doc/latex.rst\n@@ -817,6 +817,8 @@ Macros\n multiple paragraphs in header cells of ...
3.0
4fc80e281656947927d30cf747182d4781554d2f
[ "tests/test_markup.py::test_inline[verify-:rfc:`2324`-<p><span class=\"target\" id=\"index-0\"></span><a class=\"rfc reference external\" href=\"http://tools.ietf.org/html/rfc2324.html\"><strong>RFC 2324</strong></a></p>-\\\\index{RFC@\\\\spxentry{RFC}!RFC 2324@\\\\spxentry{RFC 2324}}\\\\sphinxhref{http://tools.iet...
[ "tests/test_markup.py::test_inline[verify-:kbd:`space`-<p><kbd class=\"kbd docutils literal notranslate\">space</kbd></p>-\\\\sphinxkeyboard{\\\\sphinxupquote{space}}]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/latex.rst", "old_path": "a/doc/latex.rst", "new_path": "b/doc/latex.rst", "metadata": "diff --git a/doc/latex.rst b/doc/latex.rst\nindex dd5fd16791b..81f70dc1e57 100644\n--- a/doc/latex.rst\n+++ b/doc/latex.rst\n@@ -817,6 +817,8 @@ Macros\n multiple paragraphs in header cells of ...
diff --git a/doc/latex.rst b/doc/latex.rst index dd5fd16791b..81f70dc1e57 100644 --- a/doc/latex.rst +++ b/doc/latex.rst @@ -817,6 +817,8 @@ Macros multiple paragraphs in header cells of tables. .. versionadded:: 1.6.3 ``\sphinxstylecodecontinued`` and ``\sphinxstylecodecontinues``. + .. versionadded:: ...
sphinx-doc/sphinx
sphinx-doc__sphinx-5533
https://github.com/sphinx-doc/sphinx/pull/5533
diff --git a/AUTHORS b/AUTHORS index b7636c4d280..3b1609b852b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -68,6 +68,7 @@ Other contributors, listed alphabetically, are: * Antonio Valentino -- qthelp builder, docstring inheritance * Filip Vavera -- napoleon todo directive * Pauli Virtanen -- autodoc improvements, autosumma...
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index f469a6be36e..5153ce3e320 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1569,6 +1569,29 @@ def test_autodoc_default_options_with_values(app): assert ' .. py:attribute:: EnumCls.val3' not in actual assert ' .. py:attribute...
[ { "path": "doc/usage/extensions/autodoc.rst", "old_path": "a/doc/usage/extensions/autodoc.rst", "new_path": "b/doc/usage/extensions/autodoc.rst", "metadata": "diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst\nindex e604cad2844..80783301ed5 100644\n--- a/doc/usage/exte...
2.0
2c244f9b48315d19eb61ea006a99ffad54c2f83c
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_autodoc.py::test_autodoc_c_module", "tests/test_auto...
[ "tests/test_autodoc.py::test_autodoc_default_options_with_values" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/usage/extensions/autodoc.rst", "old_path": "a/doc/usage/extensions/autodoc.rst", "new_path": "b/doc/usage/extensions/autodoc.rst", "metadata": "diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst\nindex e604cad2844..80783301ed5 100644\n--- a/doc/usage/exte...
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index e604cad2844..80783301ed5 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -383,9 +383,10 @@ There are also new config values that you can set: Setting ``None`` is equivalent to giving the op...
sphinx-doc/sphinx
sphinx-doc__sphinx-5394
https://github.com/sphinx-doc/sphinx/pull/5394
diff --git a/sphinx/ext/autodoc/importer.py b/sphinx/ext/autodoc/importer.py index 4b92a7b5906..39bd1c0dd62 100644 --- a/sphinx/ext/autodoc/importer.py +++ b/sphinx/ext/autodoc/importer.py @@ -31,13 +31,18 @@ class _MockObject(object): """Used by autodoc_mock_imports.""" + __display_name__ = '_MockObject' + ...
diff --git a/tests/test_ext_autodoc_importer.py b/tests/test_ext_autodoc_importer.py index fe0c9f2bcf7..108d06d7ccd 100644 --- a/tests/test_ext_autodoc_importer.py +++ b/tests/test_ext_autodoc_importer.py @@ -9,7 +9,7 @@ :license: BSD, see LICENSE for details. """ -from sphinx.ext.autodoc.importer import _MockO...
[]
2.0
95534534245db774fa4687e34503b906d21627f5
[ "tests/test_ext_autodoc_importer.py::test_MockObject" ]
[ "tests/test_ext_autodoc_importer.py::test_MockModule" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[]
sphinx-doc/sphinx
sphinx-doc__sphinx-6053
https://github.com/sphinx-doc/sphinx/pull/6053
diff --git a/CHANGES b/CHANGES index c96659a8413..4f907568992 100644 --- a/CHANGES +++ b/CHANGES @@ -156,6 +156,7 @@ Features added * #4182: autodoc: Support :confval:`suppress_warnings` * #5533: autodoc: :confval:`autodoc_default_options` supports ``member-order`` * #5394: autodoc: Display readable names in type an...
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index a56226b4256..7758f442d0e 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1517,6 +1517,12 @@ def test_autodoc_default_options(app): assert ' .. py:attribute:: EnumCls.val1' in actual assert ' .. py:attribute:: EnumCls.val4'...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex c96659a8413..4f907568992 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -156,6 +156,7 @@ Features added\n * #4182: autodoc: Support :confval:`suppress_warnings`\n * #5533: autodoc: :co...
2.0
11a398b1b059e7f2f9c327ad211c4053ee66869f
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_autodoc.py::test_autodoc_c_module", "tests/test_auto...
[ "tests/test_autodoc.py::test_autodoc_default_options" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex c96659a8413..4f907568992 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -156,6 +156,7 @@ Features added\n * #<PRID>: autodoc: Support :confval:`suppress_warnings`\n * #<PRID>: autodoc:...
diff --git a/CHANGES b/CHANGES index c96659a8413..4f907568992 100644 --- a/CHANGES +++ b/CHANGES @@ -156,6 +156,7 @@ Features added * #<PRID>: autodoc: Support :confval:`suppress_warnings` * #<PRID>: autodoc: :confval:`autodoc_default_options` supports ``member-order`` * #<PRID>: autodoc: Display readable names in t...
sphinx-doc/sphinx
sphinx-doc__sphinx-5390
https://github.com/sphinx-doc/sphinx/pull/5390
diff --git a/CHANGES b/CHANGES index bcbf75d68dd..6310ab50233 100644 --- a/CHANGES +++ b/CHANGES @@ -27,6 +27,8 @@ Features added __ https://github.com/sphinx-contrib/sphinx-pretty-searchresults * #4182: autodoc: Support :confval:`suppress_warnings` +* #4018: htmlhelp: Add :confval:`htmlhelp_file_suffix` and + :co...
diff --git a/tests/test_build_htmlhelp.py b/tests/test_build_htmlhelp.py new file mode 100644 index 00000000000..6eb7e3689d7 --- /dev/null +++ b/tests/test_build_htmlhelp.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +""" + test_build_htmlhelp + ~~~~~~~~~~~~~~~~~~~ + + Test the HTML Help builder and check outpu...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex bcbf75d68dd..6310ab50233 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -27,6 +27,8 @@ Features added\n __ https://github.com/sphinx-contrib/sphinx-pretty-searchresults\n \n * #4182: a...
2.0
95534534245db774fa4687e34503b906d21627f5
[ "tests/test_build_htmlhelp.py::test_default_htmlhelp_file_suffix" ]
[ "tests/test_build_htmlhelp.py::test_htmlhelp_file_suffix" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex bcbf75d68dd..6310ab50233 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -27,6 +27,8 @@ Features added\n __ https://github.com/sphinx-contrib/sphinx-pretty-searchresults\n \n * #<PRID>:...
diff --git a/CHANGES b/CHANGES index bcbf75d68dd..6310ab50233 100644 --- a/CHANGES +++ b/CHANGES @@ -27,6 +27,8 @@ Features added __ https://github.com/sphinx-contrib/sphinx-pretty-searchresults * #<PRID>: autodoc: Support :confval:`suppress_warnings` +* #<PRID>: htmlhelp: Add :confval:`htmlhelp_file_suffix` and + ...
sphinx-doc/sphinx
sphinx-doc__sphinx-6074
https://github.com/sphinx-doc/sphinx/pull/6074
diff --git a/CHANGES b/CHANGES index fd40e17dce3..49c8b667f12 100644 --- a/CHANGES +++ b/CHANGES @@ -166,6 +166,7 @@ Features added * #5533: autodoc: :confval:`autodoc_default_options` supports ``member-order`` * #5394: autodoc: Display readable names in type annotations for mocked objects * #5459: autodoc: :confval...
diff --git a/tests/roots/test-ext-autodoc/target/decorator.py b/tests/roots/test-ext-autodoc/target/decorator.py new file mode 100644 index 00000000000..4ccfedf28cd --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/decorator.py @@ -0,0 +1,16 @@ +def deco1(func): + """docstring for deco1""" + def wrapper(): ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex fd40e17dce3..49c8b667f12 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -166,6 +166,7 @@ Features added\n * #5533: autodoc: :confval:`autodoc_default_options` supports ``member-order``...
2.0
cd542fb2af2088fa63e4afb4ba83a12d04f830fb
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_autodoc.py::test_autodoc_c_module", "tests/test_auto...
[ "tests/test_autodoc.py::test_autodoc_decorator" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex fd40e17dce3..49c8b667f12 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -166,6 +166,7 @@ Features added\n * #<PRID>: autodoc: :confval:`autodoc_default_options` supports ``member-order...
diff --git a/CHANGES b/CHANGES index fd40e17dce3..49c8b667f12 100644 --- a/CHANGES +++ b/CHANGES @@ -166,6 +166,7 @@ Features added * #<PRID>: autodoc: :confval:`autodoc_default_options` supports ``member-order`` * #<PRID>: autodoc: Display readable names in type annotations for mocked objects * #<PRID>: autodoc: :c...
sphinx-doc/sphinx
sphinx-doc__sphinx-5645
https://github.com/sphinx-doc/sphinx/pull/5645
diff --git a/CHANGES b/CHANGES index 45c176ac145..cd330a70b4c 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,17 @@ Release 2.0.0 (in development) Dependencies ------------ -* LaTeX builder now depends on TeX Live 2015 or above +* LaTeX builder now depends on TeX Live 2015 or above. +* LaTeX builder (with ``'pdflatex...
diff --git a/tests/test_markup.py b/tests/test_markup.py index 0f401306b51..0c376d041d5 100644 --- a/tests/test_markup.py +++ b/tests/test_markup.py @@ -216,7 +216,7 @@ def get(name): 'verify', u'Γ\\\\∞$', None, - r'\(\Gamma\)\textbackslash{}\(\infty\)\$', + u'Γ\\textbackslash{}...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 45c176ac145..cd330a70b4c 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -4,7 +4,17 @@ Release 2.0.0 (in development)\n Dependencies\n ------------\n \n-* LaTeX builder now depends on T...
2.0
6c94801ec23ff6d4dda1e2aeb2f874bfb8b382ed
[ "tests/test_markup.py::test_inline[verify-:menuselection:`a --> b`-<p><span class=\"menuselection\">a \\u2023 b</span></p>-\\\\sphinxmenuselection{a \\\\(\\\\rightarrow\\\\) b}]", "tests/test_markup.py::test_compact_refonly_bullet_list", "tests/test_markup.py::test_inline[verify-:menuselection:`&Foo -&&- &Bar`-...
[ "tests/test_markup.py::test_inline[verify-\\u0393\\\\\\\\\\u221e$-None-\\u0393\\\\textbackslash{}\\\\(\\\\infty\\\\)\\\\$]", "tests/test_markup.py::test_inline[verify-::\\n\\n @\\u0393\\\\\\u221e${}-None-\\\\fvset{hllines={, ,}}%\\n\\\\begin{sphinxVerbatim}[commandchars=\\\\\\\\\\\\{\\\\}]\\n@\\u0393\\\\PYGZbs{}\...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 45c176ac145..cd330a70b4c 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -4,7 +4,17 @@ Release 2.0.0 (in development)\n Dependencies\n ------------\n \n-* LaTeX builder now depends on T...
diff --git a/CHANGES b/CHANGES index 45c176ac145..cd330a70b4c 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,17 @@ Release 2.0.0 (in development) Dependencies ------------ -* LaTeX builder now depends on TeX Live 2015 or above +* LaTeX builder now depends on TeX Live 2015 or above. +* LaTeX builder (with ``'pdflatex...
sphinx-doc/sphinx
sphinx-doc__sphinx-6015
https://github.com/sphinx-doc/sphinx/pull/6015
diff --git a/CHANGES b/CHANGES index 9eb401173d2..21abcc4d9fb 100644 --- a/CHANGES +++ b/CHANGES @@ -167,6 +167,8 @@ Features added * #1341 the HTML search considers words that contain a search term of length three or longer a match. * #4611: epub: Show warning for duplicated ToC entries +* #1851: Allow to omit an...
diff --git a/tests/roots/test-directive-code/highlight.rst b/tests/roots/test-directive-code/highlight.rst new file mode 100644 index 00000000000..4191b58c4e2 --- /dev/null +++ b/tests/roots/test-directive-code/highlight.rst @@ -0,0 +1,20 @@ +highlight +--------- + +.. code-block:: + + "A code-block without no langua...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 9eb401173d2..21abcc4d9fb 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -167,6 +167,8 @@ Features added\n * #1341 the HTML search considers words that contain a search term of length\n...
2.0
6fd191d52ebe1a8940934875d5e884e6c93c7522
[ "tests/test_directive_code.py::test_LiteralIncludeReader_lineno_start", "tests/test_directive_code.py::test_LiteralIncludeReader_lines1", "tests/test_directive_code.py::test_LiteralIncludeReader_prepend", "tests/test_directive_code.py::test_code_block", "tests/test_directive_code.py::test_LiteralIncludeRead...
[ "tests/test_directive_code.py::test_code_block_highlighted" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 9eb401173d2..21abcc4d9fb 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -167,6 +167,8 @@ Features added\n * #<PRID> the HTML search considers words that contain a search term of length...
diff --git a/CHANGES b/CHANGES index 9eb401173d2..21abcc4d9fb 100644 --- a/CHANGES +++ b/CHANGES @@ -167,6 +167,8 @@ Features added * #<PRID> the HTML search considers words that contain a search term of length three or longer a match. * #<PRID>: epub: Show warning for duplicated ToC entries +* #<PRID>: Allow to o...
sphinx-doc/sphinx
sphinx-doc__sphinx-6289
https://github.com/sphinx-doc/sphinx/pull/6289
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index 6d7ba827289..0b6061e7831 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -387,14 +387,17 @@ There are also config values that you can set: The supported options are ``'members'``, ``'memb...
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index 27412a9dabc..6512ca66c1a 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1551,6 +1551,8 @@ def test_autodoc_default_options(app): assert ' .. py:attribute:: EnumCls.val4' not in actual actual = do_autodoc(app, 'class', 'targ...
[ { "path": "doc/usage/extensions/autodoc.rst", "old_path": "a/doc/usage/extensions/autodoc.rst", "new_path": "b/doc/usage/extensions/autodoc.rst", "metadata": "diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst\nindex 6d7ba827289..0b6061e7831 100644\n--- a/doc/usage/exte...
2.1
11a4e47d6295b40ca02f3d2dd0e6e021568c150f
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_autodoc.py::test_autodoc_c_module", "tests/test_auto...
[ "tests/test_autodoc.py::test_autodoc_default_options" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/usage/extensions/autodoc.rst", "old_path": "a/doc/usage/extensions/autodoc.rst", "new_path": "b/doc/usage/extensions/autodoc.rst", "metadata": "diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst\nindex 6d7ba827289..0b6061e7831 100644\n--- a/doc/usage/exte...
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index 6d7ba827289..0b6061e7831 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -387,14 +387,17 @@ There are also config values that you can set: The supported options are ``'members'``, ``'memb...
sphinx-doc/sphinx
sphinx-doc__sphinx-6288
https://github.com/sphinx-doc/sphinx/pull/6288
diff --git a/sphinx/ext/autodoc/__init__.py b/sphinx/ext/autodoc/__init__.py index 4c1032db578..392c4e3b4b1 100644 --- a/sphinx/ext/autodoc/__init__.py +++ b/sphinx/ext/autodoc/__init__.py @@ -993,7 +993,9 @@ class FunctionDocumenter(DocstringSignatureMixin, ModuleLevelDocumenter): # typ @classmethod def can...
diff --git a/tests/roots/test-ext-autodoc/target/bound_method.py b/tests/roots/test-ext-autodoc/target/bound_method.py new file mode 100644 index 00000000000..d48b9ee1c46 --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/bound_method.py @@ -0,0 +1,7 @@ +class Cls: + def method(self): + """Method docstri...
[]
2.1
11a4e47d6295b40ca02f3d2dd0e6e021568c150f
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_autodoc.py::test_autodoc_c_module", "tests/test_auto...
[ "tests/test_autodoc.py::test_bound_method" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[]
sphinx-doc/sphinx
sphinx-doc__sphinx-6365
https://github.com/sphinx-doc/sphinx/pull/6365
diff --git a/CHANGES b/CHANGES index a90602d9d8f..00230b9b47a 100644 --- a/CHANGES +++ b/CHANGES @@ -81,6 +81,7 @@ Features added * #6289: autodoc: :confval:`autodoc_default_options` now supports ``imported-members`` option * #4777: autodoc: Support coroutine +* #744: autodoc: Support abstractmethod * #6212 autos...
diff --git a/tests/roots/test-ext-autodoc/target/abstractmethods.py b/tests/roots/test-ext-autodoc/target/abstractmethods.py new file mode 100644 index 00000000000..a4396d5c93e --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/abstractmethods.py @@ -0,0 +1,29 @@ +from abc import abstractmethod + + +class Base(): ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex a90602d9d8f..00230b9b47a 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -81,6 +81,7 @@ Features added\n * #6289: autodoc: :confval:`autodoc_default_options` now supports\n ``imported...
2.1
af9df449ea7c1c0dca7ebc39d66bc162a45bec4b
[ "tests/test_domain_py.py::test_pyfunction", "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_domain_p...
[ "tests/test_autodoc.py::test_abstractmethods", "tests/test_domain_py.py::test_pymethod_options" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex a90602d9d8f..00230b9b47a 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -81,6 +81,7 @@ Features added\n * #<PRID>: autodoc: :confval:`autodoc_default_options` now supports\n ``import...
diff --git a/CHANGES b/CHANGES index a90602d9d8f..00230b9b47a 100644 --- a/CHANGES +++ b/CHANGES @@ -81,6 +81,7 @@ Features added * #<PRID>: autodoc: :confval:`autodoc_default_options` now supports ``imported-members`` option * #<PRID>: autodoc: Support coroutine +* #<PRID>: autodoc: Support abstractmethod * #<PR...
sphinx-doc/sphinx
sphinx-doc__sphinx-6388
https://github.com/sphinx-doc/sphinx/pull/6388
diff --git a/CHANGES b/CHANGES index 2040dac035b..961c91fe53d 100644 --- a/CHANGES +++ b/CHANGES @@ -83,6 +83,8 @@ Features added ``imported-members`` option * #4777: autodoc: Support coroutine * #744: autodoc: Support abstractmethod +* #6325: autodoc: Support attributes in __slots__. For dict-style __slots__, + ...
diff --git a/tests/roots/test-ext-autodoc/target/slots.py b/tests/roots/test-ext-autodoc/target/slots.py new file mode 100644 index 00000000000..44e7503205f --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/slots.py @@ -0,0 +1,11 @@ +class Foo: + __slots__ = ['attr'] + + +class Bar: + __slots__ = {'attr1': ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 2040dac035b..961c91fe53d 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -83,6 +83,8 @@ Features added\n ``imported-members`` option\n * #4777: autodoc: Support coroutine\n * #744: au...
2.1
12ad21f1e3c90d1899d94faa8f25d14824ce1398
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_autodoc.py::test_autodoc_c_module", "tests/test_auto...
[ "tests/test_autodoc.py::test_slots" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 2040dac035b..961c91fe53d 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -83,6 +83,8 @@ Features added\n ``imported-members`` option\n * #<PRID>: autodoc: Support coroutine\n * #<PRID...
diff --git a/CHANGES b/CHANGES index 2040dac035b..961c91fe53d 100644 --- a/CHANGES +++ b/CHANGES @@ -83,6 +83,8 @@ Features added ``imported-members`` option * #<PRID>: autodoc: Support coroutine * #<PRID>: autodoc: Support abstractmethod +* #<PRID>: autodoc: Support attributes in __slots__. For dict-style __slot...
sphinx-doc/sphinx
sphinx-doc__sphinx-6397
https://github.com/sphinx-doc/sphinx/pull/6397
diff --git a/CHANGES b/CHANGES index 961c91fe53d..93adee35a0e 100644 --- a/CHANGES +++ b/CHANGES @@ -85,6 +85,8 @@ Features added * #744: autodoc: Support abstractmethod * #6325: autodoc: Support attributes in __slots__. For dict-style __slots__, autodoc considers values as a docstring of the attribute +* #6361: ...
diff --git a/tests/roots/test-ext-autodoc/target/typehints.py b/tests/roots/test-ext-autodoc/target/typehints.py new file mode 100644 index 00000000000..eedaab3b997 --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/typehints.py @@ -0,0 +1,10 @@ +def incr(a: int, b: int = 1) -> int: + return a + b + + +class Ma...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 961c91fe53d..93adee35a0e 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -85,6 +85,8 @@ Features added\n * #744: autodoc: Support abstractmethod\n * #6325: autodoc: Support attributes i...
2.1
6e795a05beb79a6bc8fa8453f37512b4887c13af
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_autodoc.py::test_autodoc_c_module", "tests/test_auto...
[ "tests/test_autodoc.py::test_autodoc_typehints_none" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 961c91fe53d..93adee35a0e 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -85,6 +85,8 @@ Features added\n * #<PRID>: autodoc: Support abstractmethod\n * #<PRID>: autodoc: Support attribu...
diff --git a/CHANGES b/CHANGES index 961c91fe53d..93adee35a0e 100644 --- a/CHANGES +++ b/CHANGES @@ -85,6 +85,8 @@ Features added * #<PRID>: autodoc: Support abstractmethod * #<PRID>: autodoc: Support attributes in __slots__. For dict-style __slots__, autodoc considers values as a docstring of the attribute +* #<...
sphinx-doc/sphinx
sphinx-doc__sphinx-6295
https://github.com/sphinx-doc/sphinx/pull/6295
diff --git a/CHANGES b/CHANGES index e07b6705999..9cc8cab22af 100644 --- a/CHANGES +++ b/CHANGES @@ -75,11 +75,13 @@ Features added functions * #6289: autodoc: :confval:`autodoc_default_options` now supports ``imported-members`` option +* #4777: autodoc: Support coroutine * #6212 autosummary: Add :confval:`auto...
diff --git a/tests/roots/test-ext-autodoc/target/functions.py b/tests/roots/test-ext-autodoc/target/functions.py index 7c79188d920..8ff00f7344c 100644 --- a/tests/roots/test-ext-autodoc/target/functions.py +++ b/tests/roots/test-ext-autodoc/target/functions.py @@ -5,7 +5,11 @@ def func(): pass +async def corou...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex e07b6705999..9cc8cab22af 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -75,11 +75,13 @@ Features added\n functions\n * #6289: autodoc: :confval:`autodoc_default_options` now support...
2.1
30d7d58ace6a1a5c55becb691581049e2a0ea746
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_util_inspect.py::test_isfunction", "tests/test_domain_py.py::test_pydata", "tests/test_pycode_parser.py::test_comment_picker_basic", "tests/test_autodoc.py::test_autodoc_default_options", "tests...
[ "tests/test_autodoc.py::test_coroutine", "tests/test_domain_py.py::test_pyfunction", "tests/test_util_inspect.py::test_iscoroutinefunction", "tests/test_domain_py.py::test_pymethod_options" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "function", "name": "iscoroutinefunction" }, { "type": "field", "name": "iscoroutinefunction" ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex e07b6705999..9cc8cab22af 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -75,11 +75,13 @@ Features added\n functions\n * #<PRID>: autodoc: :confval:`autodoc_default_options` now suppo...
diff --git a/CHANGES b/CHANGES index e07b6705999..9cc8cab22af 100644 --- a/CHANGES +++ b/CHANGES @@ -75,11 +75,13 @@ Features added functions * #<PRID>: autodoc: :confval:`autodoc_default_options` now supports ``imported-members`` option +* #<PRID>: autodoc: Support coroutine * #<PRID> autosummary: Add :confval...
sphinx-doc/sphinx
sphinx-doc__sphinx-6423
https://github.com/sphinx-doc/sphinx/pull/6423
diff --git a/CHANGES b/CHANGES index 2363ea75981..c228978ec92 100644 --- a/CHANGES +++ b/CHANGES @@ -90,6 +90,8 @@ Features added autodoc considers values as a docstring of the attribute * #6361: autodoc: Add :confval:`autodoc_typehints` to suppress typehints from signature +* #1063: autodoc: ``automodule`` dire...
diff --git a/tests/roots/test-ext-autodoc/target/module.py b/tests/roots/test-ext-autodoc/target/module.py new file mode 100644 index 00000000000..d5b557d946b --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/module.py @@ -0,0 +1,4 @@ +#: docstring for CONSTANT1 +CONSTANT1 = "" + +CONSTANT2 = "" diff --git a/test...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 2363ea75981..c228978ec92 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -90,6 +90,8 @@ Features added\n autodoc considers values as a docstring of the attribute\n * #6361: autodoc: A...
2.1
54d5fcfaebc3364044761d30c0fed6bd4d3052c3
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_docstring_signature", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_typehints_none", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/tes...
[ "tests/test_autodoc.py::test_module_variables" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 2363ea75981..c228978ec92 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -90,6 +90,8 @@ Features added\n autodoc considers values as a docstring of the attribute\n * #<PRID>: autodoc:...
diff --git a/CHANGES b/CHANGES index 2363ea75981..c228978ec92 100644 --- a/CHANGES +++ b/CHANGES @@ -90,6 +90,8 @@ Features added autodoc considers values as a docstring of the attribute * #<PRID>: autodoc: Add :confval:`autodoc_typehints` to suppress typehints from signature +* #<PRID>: autodoc: ``automodule`` ...
sphinx-doc/sphinx
sphinx-doc__sphinx-6212
https://github.com/sphinx-doc/sphinx/pull/6212
diff --git a/doc/usage/extensions/autosummary.rst b/doc/usage/extensions/autosummary.rst index d1ac0ad326f..6b2310411e5 100644 --- a/doc/usage/extensions/autosummary.rst +++ b/doc/usage/extensions/autosummary.rst @@ -149,6 +149,14 @@ also use these config values: :confval:`autodoc_mock_imports` for more details. I...
diff --git a/tests/roots/test-ext-autosummary-imported_members/autosummary_dummy_package/__init__.py b/tests/roots/test-ext-autosummary-imported_members/autosummary_dummy_package/__init__.py new file mode 100644 index 00000000000..0a7d9f382f6 --- /dev/null +++ b/tests/roots/test-ext-autosummary-imported_members/autosum...
[ { "path": "doc/usage/extensions/autosummary.rst", "old_path": "a/doc/usage/extensions/autosummary.rst", "new_path": "b/doc/usage/extensions/autosummary.rst", "metadata": "diff --git a/doc/usage/extensions/autosummary.rst b/doc/usage/extensions/autosummary.rst\nindex d1ac0ad326f..6b2310411e5 100644\n...
2.0
e1185ff2e48f6e5094fdc12a6286fc161677c0e4
[ "tests/test_ext_autosummary.py::test_import_by_name", "tests/test_ext_autosummary.py::test_autosummary_generate", "tests/test_ext_autosummary.py::test_autosummary_latex_table_colspec", "tests/test_ext_autosummary.py::test_escaping", "tests/test_ext_autosummary.py::test_mangle_signature" ]
[ "tests/test_ext_autosummary.py::test_autosummary_imported_members" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/usage/extensions/autosummary.rst", "old_path": "a/doc/usage/extensions/autosummary.rst", "new_path": "b/doc/usage/extensions/autosummary.rst", "metadata": "diff --git a/doc/usage/extensions/autosummary.rst b/doc/usage/extensions/autosummary.rst\nindex d1ac0ad326f..6b2310411e5 100644\n...
diff --git a/doc/usage/extensions/autosummary.rst b/doc/usage/extensions/autosummary.rst index d1ac0ad326f..6b2310411e5 100644 --- a/doc/usage/extensions/autosummary.rst +++ b/doc/usage/extensions/autosummary.rst @@ -149,6 +149,14 @@ also use these config values: :confval:`autodoc_mock_imports` for more details. I...
sphinx-doc/sphinx
sphinx-doc__sphinx-6922
https://github.com/sphinx-doc/sphinx/pull/6922
diff --git a/CHANGES b/CHANGES index 46073b0c13f..120b75ec53d 100644 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,8 @@ Features added -------------- * #6910: inheritance_diagram: Make the background of diagrams transparent +* #6446: duration: Add ``sphinx.ext.durations`` to inspect which documents slow + down the buil...
diff --git a/tests/test_ext_duration.py b/tests/test_ext_duration.py new file mode 100644 index 00000000000..65ea1eef7da --- /dev/null +++ b/tests/test_ext_duration.py @@ -0,0 +1,21 @@ +""" + test_ext_duration + ~~~~~~~~~~~~~~~~~ + + Test sphinx.ext.duration extension. + + :copyright: Copyright 2007-2019 by...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 46073b0c13f..120b75ec53d 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -14,6 +14,8 @@ Features added\n --------------\n \n * #6910: inheritance_diagram: Make the background of diagram...
2.4
0f79bccb3510f7e030d4eeb986934524e55e5c0e
[]
[ "tests/test_ext_duration.py::test_githubpages" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "sphinx/ext/duration.py" }, { "type": "field", "name": "app" } ] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 46073b0c13f..120b75ec53d 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -14,6 +14,8 @@ Features added\n --------------\n \n * #<PRID>: inheritance_diagram: Make the background of diagr...
diff --git a/CHANGES b/CHANGES index 46073b0c13f..120b75ec53d 100644 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,8 @@ Features added -------------- * #<PRID>: inheritance_diagram: Make the background of diagrams transparent +* #<PRID>: duration: Add ``sphinx.ext.durations`` to inspect which documents slow + down the ...
sphinx-doc/sphinx
sphinx-doc__sphinx-6816
https://github.com/sphinx-doc/sphinx/pull/6816
diff --git a/CHANGES b/CHANGES index cf7231b7d56..8256a8a5d2a 100644 --- a/CHANGES +++ b/CHANGES @@ -39,6 +39,8 @@ Features added * #2546: apidoc: .so file support * #6798: autosummary: emit ``autodoc-skip-member`` event on generating stub file * #6483: i18n: make explicit titles in toctree translatable +* #6816: li...
diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py index 4bf47a96262..22866b27bb3 100644 --- a/tests/test_build_linkcheck.py +++ b/tests/test_build_linkcheck.py @@ -8,6 +8,7 @@ :license: BSD, see LICENSE for details. """ +from unittest import mock import pytest @@ -47,3 +48,25 @@ de...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex cf7231b7d56..8256a8a5d2a 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -39,6 +39,8 @@ Features added\n * #2546: apidoc: .so file support\n * #6798: autosummary: emit ``autodoc-skip-me...
2.3
125179e76e76f5629138a945b026262916cfaaef
[ "tests/test_build_linkcheck.py::test_anchors_ignored" ]
[ "tests/test_build_linkcheck.py::test_auth" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex cf7231b7d56..8256a8a5d2a 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -39,6 +39,8 @@ Features added\n * #<PRID>: apidoc: .so file support\n * #<PRID>: autosummary: emit ``autodoc-ski...
diff --git a/CHANGES b/CHANGES index cf7231b7d56..8256a8a5d2a 100644 --- a/CHANGES +++ b/CHANGES @@ -39,6 +39,8 @@ Features added * #<PRID>: apidoc: .so file support * #<PRID>: autosummary: emit ``autodoc-skip-member`` event on generating stub file * #<PRID>: i18n: make explicit titles in toctree translatable +* #<P...
sphinx-doc/sphinx
sphinx-doc__sphinx-7018
https://github.com/sphinx-doc/sphinx/pull/7018
diff --git a/CHANGES b/CHANGES index 2f568045018..78112e42579 100644 --- a/CHANGES +++ b/CHANGES @@ -41,8 +41,13 @@ Features added annotation (python3.8+ or `typed_ast <https://github.com/python/typed_ast>`_ is required) * #7051: autodoc: Support instance variables without defaults (PEP-526) +* #6418: autodoc: A...
diff --git a/tests/roots/test-ext-autodoc/index.rst b/tests/roots/test-ext-autodoc/index.rst index ce430220429..1a60fc28191 100644 --- a/tests/roots/test-ext-autodoc/index.rst +++ b/tests/roots/test-ext-autodoc/index.rst @@ -7,3 +7,5 @@ .. automodule:: autodoc_dummy_bar :members: + +.. autofunction:: target.type...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 2f568045018..78112e42579 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -41,8 +41,13 @@ Features added\n annotation (python3.8+ or `typed_ast <https://github.com/python/typed_ast>`_\...
2.4
0cc625a82c029d59a443f17df9fa31eaf83bf336
[]
[ "tests/test_ext_autodoc_configs.py::test_autodoc_docstring_signature", "tests/test_ext_autodoc_configs.py::test_autodoc_inherit_docstrings", "tests/test_ext_autodoc_configs.py::test_autodoc_typehints_none", "tests/test_ext_autodoc_configs.py::test_merge_autodoc_default_flags1", "tests/test_ext_autodoc_confi...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "sphinx/ext/autodoc/typehints.py" } ] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 2f568045018..78112e42579 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -41,8 +41,13 @@ Features added\n annotation (python3.8+ or `typed_ast <https://github.com/python/typed_ast>`_\...
diff --git a/CHANGES b/CHANGES index 2f568045018..78112e42579 100644 --- a/CHANGES +++ b/CHANGES @@ -41,8 +41,13 @@ Features added annotation (python3.8+ or `typed_ast <https://github.com/python/typed_ast>`_ is required) * #<PRID>: autodoc: Support instance variables without defaults (PEP-526) +* #<PRID>: autodo...
sphinx-doc/sphinx
sphinx-doc__sphinx-6817
https://github.com/sphinx-doc/sphinx/pull/6817
diff --git a/CHANGES b/CHANGES index 9780573c9c3..cb772974e4a 100644 --- a/CHANGES +++ b/CHANGES @@ -37,6 +37,7 @@ Features added * #6812: Improve a warning message when extensions are not parallel safe * #6818: Improve Intersphinx performance for multiple remote inventories. * #2546: apidoc: .so file support +* #67...
diff --git a/tests/roots/test-ext-autosummary-skip-member/conf.py b/tests/roots/test-ext-autosummary-skip-member/conf.py new file mode 100644 index 00000000000..7c8f0e9cf4b --- /dev/null +++ b/tests/roots/test-ext-autosummary-skip-member/conf.py @@ -0,0 +1,20 @@ +import os +import sys + +sys.path.insert(0, os.path.absp...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 9780573c9c3..cb772974e4a 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -37,6 +37,7 @@ Features added\n * #6812: Improve a warning message when extensions are not parallel safe\n * #68...
2.3
463572703753c5afe5a68e8ba7fd7252c1ea3d62
[ "tests/test_ext_autosummary.py::test_empty_autosummary_generate", "tests/test_ext_autosummary.py::test_import_by_name", "tests/test_ext_autosummary.py::test_invalid_autosummary_generate", "tests/test_ext_autosummary.py::test_autosummary_generate", "tests/test_ext_autosummary.py::test_autosummary_latex_table...
[ "tests/test_ext_autosummary.py::test_autosummary_skip_member" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "function", "name": "skip_member" }, { "type": "field", "name": "skip_member" } ] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 9780573c9c3..cb772974e4a 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -37,6 +37,7 @@ Features added\n * #<PRID>: Improve a warning message when extensions are not parallel safe\n * #...
diff --git a/CHANGES b/CHANGES index 9780573c9c3..cb772974e4a 100644 --- a/CHANGES +++ b/CHANGES @@ -37,6 +37,7 @@ Features added * #<PRID>: Improve a warning message when extensions are not parallel safe * #<PRID>: Improve Intersphinx performance for multiple remote inventories. * #<PRID>: apidoc: .so file support ...
sphinx-doc/sphinx
sphinx-doc__sphinx-7057
https://github.com/sphinx-doc/sphinx/pull/7057
diff --git a/CHANGES b/CHANGES index 1466548e4e3..2f568045018 100644 --- a/CHANGES +++ b/CHANGES @@ -22,6 +22,7 @@ Deprecated * ``sphinx.util.detect_encoding()`` * ``sphinx.util.get_module_source()`` * ``sphinx.util.inspect.Signature`` +* ``sphinx.util.inspect.safe_getmembers()`` Features added -------------- @@...
diff --git a/tests/roots/test-ext-autodoc/target/typed_vars.py b/tests/roots/test-ext-autodoc/target/typed_vars.py new file mode 100644 index 00000000000..4a9a6f7b515 --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/typed_vars.py @@ -0,0 +1,13 @@ +#: attr1 +attr1: str = '' +#: attr2 +attr2: str + + +class Class:...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 1466548e4e3..2f568045018 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -22,6 +22,7 @@ Deprecated\n * ``sphinx.util.detect_encoding()``\n * ``sphinx.util.get_module_source()``\n * ``sp...
2.4
f8fc6075ba317ba694ae4df5227a5358a08df6e3
[ "tests/test_autodoc.py::test_get_doc", "tests/test_autodoc.py::test_autodoc_exception", "tests/test_autodoc.py::test_autodoc_warnings", "tests/test_autodoc.py::test_partialmethod", "tests/test_autodoc.py::test_autodoc_c_module", "tests/test_autodoc.py::test_autodoc_subclass_of_builtin_class", "tests/tes...
[ "tests/test_autodoc.py::test_autodoc_typed_instance_variables" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 1466548e4e3..2f568045018 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -22,6 +22,7 @@ Deprecated\n * ``sphinx.util.detect_encoding()``\n * ``sphinx.util.get_module_source()``\n * ``sp...
diff --git a/CHANGES b/CHANGES index 1466548e4e3..2f568045018 100644 --- a/CHANGES +++ b/CHANGES @@ -22,6 +22,7 @@ Deprecated * ``sphinx.util.detect_encoding()`` * ``sphinx.util.get_module_source()`` * ``sphinx.util.inspect.Signature`` +* ``sphinx.util.inspect.safe_getmembers()`` Features added -------------- @@...
sphinx-doc/sphinx
sphinx-doc__sphinx-6422
https://github.com/sphinx-doc/sphinx/pull/6422
diff --git a/CHANGES b/CHANGES index 1531fe6bb53..db687fb440e 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,8 @@ Incompatible changes -------------------- * Drop features and APIs deprecated in 1.8.x +* #247: autosummary: stub files are overwritten automatically by default. see + :confval:`autosummary_generate_ov...
diff --git a/tests/test_ext_autosummary.py b/tests/test_ext_autosummary.py index 21841cc749c..9e5654ac47f 100644 --- a/tests/test_ext_autosummary.py +++ b/tests/test_ext_autosummary.py @@ -31,6 +31,7 @@ 'confoverrides': { 'extensions': ['sphinx.ext.autosummary'], 'autosummary_generate': True, + ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 1531fe6bb53..db687fb440e 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -8,6 +8,8 @@ Incompatible changes\n --------------------\n \n * Drop features and APIs deprecated in 1.8.x\n+* #...
3.0
089046979f2b84cf850ee95776d10fe9fd9a77e9
[ "tests/test_ext_autosummary.py::test_empty_autosummary_generate", "tests/test_ext_autosummary.py::test_import_by_name", "tests/test_ext_autosummary.py::test_autosummary_generate_overwrite1", "tests/test_ext_autosummary.py::test_invalid_autosummary_generate", "tests/test_ext_autosummary.py::test_autosummary_...
[ "tests/test_ext_autosummary.py::test_autosummary_generate_overwrite2" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 1531fe6bb53..db687fb440e 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -8,6 +8,8 @@ Incompatible changes\n --------------------\n \n * Drop features and APIs deprecated in 1.8.x\n+* #...
diff --git a/CHANGES b/CHANGES index 1531fe6bb53..db687fb440e 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,8 @@ Incompatible changes -------------------- * Drop features and APIs deprecated in 1.8.x +* #<PRID>: autosummary: stub files are overwritten automatically by default. see + :confval:`autosummary_generate...
sphinx-doc/sphinx
sphinx-doc__sphinx-6775
https://github.com/sphinx-doc/sphinx/pull/6775
diff --git a/CHANGES b/CHANGES index 5497d94a22c..6473ed44d76 100644 --- a/CHANGES +++ b/CHANGES @@ -23,6 +23,8 @@ Features added * #267: html: Eliminate prompt characters of doctest block from copyable text * #6729: html theme: agogo theme now supports ``rightsidebar`` option * #6780: Add PEP-561 Support +* #6762: ...
diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index 8410bbd033c..c48399f1bee 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -1437,3 +1437,11 @@ def test_index_on_title(app, status, warning): '\\label{\\detokenize{contents:test-for-index-in-top-level-title}}' ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 5497d94a22c..6473ed44d76 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -23,6 +23,8 @@ Features added\n * #267: html: Eliminate prompt characters of doctest block from copyable text\n ...
2.3
8dbb799cb16ab99f58079af344a254d8233a5fff
[ "tests/test_build_latex.py::test_latex_additional_settings_for_language_code", "tests/test_build_latex.py::test_latex_toplevel_sectioning_is_part", "tests/test_build_latex.py::test_image_in_section", "tests/test_build_latex.py::test_latex_glossary", "tests/test_build_latex.py::test_latex_toplevel_sectioning...
[ "tests/test_build_latex.py::test_latex_elements_extrapackages" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 5497d94a22c..6473ed44d76 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -23,6 +23,8 @@ Features added\n * #<PRID>: html: Eliminate prompt characters of doctest block from copyable text...
diff --git a/CHANGES b/CHANGES index 5497d94a22c..6473ed44d76 100644 --- a/CHANGES +++ b/CHANGES @@ -23,6 +23,8 @@ Features added * #<PRID>: html: Eliminate prompt characters of doctest block from copyable text * #<PRID>: html theme: agogo theme now supports ``rightsidebar`` option * #<PRID>: Add PEP-561 Support +* ...
sphinx-doc/sphinx
sphinx-doc__sphinx-5927
https://github.com/sphinx-doc/sphinx/pull/5927
diff --git a/CHANGES b/CHANGES index 4c032f04cd8..eebe32a30df 100644 --- a/CHANGES +++ b/CHANGES @@ -66,6 +66,7 @@ Incompatible changes the text width and height, even if width and/or height option were used. (refs: #5956) * #4550: All tables and figures without ``align`` option are displayed to center +* #4587:...
diff --git a/tests/test_api_translator.py b/tests/test_api_translator.py index 7e2767681bf..3e97cbc5a1b 100644 --- a/tests/test_api_translator.py +++ b/tests/test_api_translator.py @@ -12,6 +12,8 @@ import pytest +from sphinx.util import docutils + @pytest.fixture(scope='module', autouse=True) def setup_module...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 4c032f04cd8..eebe32a30df 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -66,6 +66,7 @@ Incompatible changes\n the text width and height, even if width and/or height option were used....
2.0
a90a19aa0d6440690613864fb0af6b6971b96cb1
[ "tests/test_api_translator.py::test_html_with_set_translator_for_text", "tests/test_build_html.py::test_numfig_with_singlehtml[index.html-expect5]", "tests/test_build_html.py::test_numfig_with_numbered_toctree[index.html-expect3]", "tests/test_build_html.py::test_numfig_with_prefix[foo.html-expect27]", "tes...
[ "tests/test_build_html.py::test_numfig_with_numbered_toctree[index.html-expect12]", "tests/test_build_html.py::test_numfig_with_prefix[index.html-expect11]", "tests/test_build_html.py::test_numfig_without_numbered_toctree[index.html-expect8]", "tests/test_build_html.py::test_enumerable_node[index.html-expect9...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex 4c032f04cd8..eebe32a30df 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -66,6 +66,7 @@ Incompatible changes\n the text width and height, even if width and/or height option were used....
diff --git a/CHANGES b/CHANGES index 4c032f04cd8..eebe32a30df 100644 --- a/CHANGES +++ b/CHANGES @@ -66,6 +66,7 @@ Incompatible changes the text width and height, even if width and/or height option were used. (refs: #<PRID>) * #<PRID>: All tables and figures without ``align`` option are displayed to center +* #<...
sphinx-doc/sphinx
sphinx-doc__sphinx-6979
https://github.com/sphinx-doc/sphinx/pull/6979
diff --git a/CHANGES b/CHANGES index ef1ccf6f075..de3b7a06b6d 100644 --- a/CHANGES +++ b/CHANGES @@ -16,6 +16,8 @@ Incompatible changes :confval:`autosummary_generate_overwrite` to change the behavior * #5923: autodoc: the members of ``object`` class are not documented by default when ``:inherited-members:`` and...
diff --git a/tests/roots/test-ext-autodoc/target/private.py b/tests/roots/test-ext-autodoc/target/private.py new file mode 100644 index 00000000000..38f27666354 --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/private.py @@ -0,0 +1,5 @@ +def private_function(name): + """private_function is a docstring(). + + ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex ef1ccf6f075..de3b7a06b6d 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -16,6 +16,8 @@ Incompatible changes\n :confval:`autosummary_generate_overwrite` to change the behavior\n * #59...
3.0
0319faf8f1503453b6ce19020819a8cf44e39f13
[ "tests/test_ext_autodoc_private_members.py::test_private_field_and_private_members" ]
[ "tests/test_ext_autodoc_private_members.py::test_private_field" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "function", "name": "extract_metadata" }, { "type": "field", "name": "extract_metadata" } ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex ef1ccf6f075..de3b7a06b6d 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -16,6 +16,8 @@ Incompatible changes\n :confval:`autosummary_generate_overwrite` to change the behavior\n * #<P...
diff --git a/CHANGES b/CHANGES index ef1ccf6f075..de3b7a06b6d 100644 --- a/CHANGES +++ b/CHANGES @@ -16,6 +16,8 @@ Incompatible changes :confval:`autosummary_generate_overwrite` to change the behavior * #<PRID>: autodoc: the members of ``object`` class are not documented by default when ``:inherited-members:`` a...
sphinx-doc/sphinx
sphinx-doc__sphinx-7268
https://github.com/sphinx-doc/sphinx/pull/7268
diff --git a/CHANGES b/CHANGES index fd58586dfb6..72a53269cfe 100644 --- a/CHANGES +++ b/CHANGES @@ -59,6 +59,8 @@ Features added ``:meta private:`` in info-field-list * #7165: autodoc: Support Annotated type (PEP-593) * #2815: autodoc: Support singledispatch functions and methods +* #7079: autodoc: :confval:`auto...
diff --git a/tests/test_ext_autodoc_configs.py b/tests/test_ext_autodoc_configs.py index b90772f6e1c..e250b21b389 100644 --- a/tests/test_ext_autodoc_configs.py +++ b/tests/test_ext_autodoc_configs.py @@ -462,10 +462,9 @@ def test_mocked_module_imports(app, warning): assert warning.getvalue() == '' -@pytest.ma...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex fd58586dfb6..72a53269cfe 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -59,6 +59,8 @@ Features added\n ``:meta private:`` in info-field-list\n * #7165: autodoc: Support Annotated ty...
3.0
a73617c51b9e29d7f059a2794f4574bb80cfcf57
[ "tests/test_ext_autodoc_configs.py::test_autodoc_docstring_signature", "tests/test_ext_autodoc_configs.py::test_autodoc_inherit_docstrings", "tests/test_ext_autodoc_configs.py::test_autodoc_typehints_none", "tests/test_ext_autodoc_configs.py::test_autoclass_content_init", "tests/test_ext_autodoc_configs.py:...
[ "tests/test_ext_autodoc_configs.py::test_autodoc_typehints_description" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex fd58586dfb6..72a53269cfe 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -59,6 +59,8 @@ Features added\n ``:meta private:`` in info-field-list\n * #<PRID>: autodoc: Support Annotated ...
diff --git a/CHANGES b/CHANGES index fd58586dfb6..72a53269cfe 100644 --- a/CHANGES +++ b/CHANGES @@ -59,6 +59,8 @@ Features added ``:meta private:`` in info-field-list * #<PRID>: autodoc: Support Annotated type (PEP-593) * #<PRID>: autodoc: Support singledispatch functions and methods +* #<PRID>: autodoc: :confval...
sphinx-doc/sphinx
sphinx-doc__sphinx-6560
https://github.com/sphinx-doc/sphinx/pull/6560
diff --git a/CHANGES b/CHANGES index e8c0561abab..df590535e15 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,8 @@ Incompatible changes Deprecated ---------- +* ``sphinx.domains.std.StandardDomain.add_object()`` + Features added -------------- @@ -27,6 +29,8 @@ Features added old stub file * #5923: autodoc:...
diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py index c7a7b496af1..db1346bcf94 100644 --- a/tests/test_domain_std.py +++ b/tests/test_domain_std.py @@ -172,6 +172,15 @@ def test_glossary_warning(app, status, warning): assert ("case3.rst:4: WARNING: glossary term must be preceded by empty line" ...
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex e8c0561abab..df590535e15 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -20,6 +20,8 @@ Incompatible changes\n Deprecated\n ----------\n \n+* ``sphinx.domains.std.StandardDomain.add_obj...
3.0
1fc4e8c2519183e302c073e91221a55af8e54215
[]
[ "tests/test_domain_std.py::test_glossary", "tests/test_domain_std.py::test_process_doc_handle_table_title", "tests/test_domain_std.py::test_process_doc_handle_figure_caption", "tests/test_domain_std.py::test_cmdoption", "tests/test_domain_std.py::test_multiple_cmdoptions", "tests/test_domain_std.py::test_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "CHANGES", "old_path": "a/CHANGES", "new_path": "b/CHANGES", "metadata": "diff --git a/CHANGES b/CHANGES\nindex e8c0561abab..df590535e15 100644\n--- a/CHANGES\n+++ b/CHANGES\n@@ -20,6 +20,8 @@ Incompatible changes\n Deprecated\n ----------\n \n+* ``sphinx.domains.std.StandardDomain.add_obj...
diff --git a/CHANGES b/CHANGES index e8c0561abab..df590535e15 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,8 @@ Incompatible changes Deprecated ---------- +* ``sphinx.domains.std.StandardDomain.add_object()`` + Features added -------------- @@ -27,6 +29,8 @@ Features added old stub file * #<PRID>: autodo...