repo
string
instance_id
string
html_url
string
feature_patch
string
test_patch
string
doc_changes
list
version
string
base_commit
string
PASS2PASS
list
FAIL2PASS
list
mask_doc_diff
list
augmentations
dict
problem_statement
string
psf/requests
psf__requests-5856
https://github.com/psf/requests/pull/5856
diff --git a/HISTORY.md b/HISTORY.md index 59e4a9f707..ccf4e17400 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,7 +4,12 @@ Release History dev --- -- \[Short description of non-trivial change.\] +- \[Short description of non-trivial change.\] + +- Added a `requests.exceptions.JSONDecodeError` to decrease inconsi...
diff --git a/tests/test_requests.py b/tests/test_requests.py index b77cba007d..b6d97dd9f4 100644 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -2570,4 +2570,9 @@ def test_parameters_for_nonstandard_schemes(self, input, params, expected): def test_post_json_nan(self, httpbin): data = {"foo":...
[ { "path": "docs/user/quickstart.rst", "old_path": "a/docs/user/quickstart.rst", "new_path": "b/docs/user/quickstart.rst", "metadata": "diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst\nindex b4649f00d5..73d0b2931a 100644\n--- a/docs/user/quickstart.rst\n+++ b/docs/user/quickstart.rst...
2.26
a1a6a549a0143d9b32717dbe3d75cd543ae5a4f6
[ "tests/test_requests.py::TestRequests::test_invalid_url[InvalidSchema-localhost.localdomain:3128/]", "tests/test_requests.py::TestRequests::test_params_bytes_are_encoded", "tests/test_requests.py::TestTimeout::test_invalid_timeout[foo-must be an int, float or None]", "tests/test_requests.py::TestRequests::tes...
[ "tests/test_requests.py::TestPreparingURLs::test_json_decode_compatibility" ]
[ { "path": "docs/user/quickstart.rst", "old_path": "a/docs/user/quickstart.rst", "new_path": "b/docs/user/quickstart.rst", "metadata": "diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst\nindex b4649f00..73d0b293 100644\n--- a/docs/user/quickstart.rst\n+++ b/docs/user/quickstart.rst\n@@...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index b4649f00..73d0b293 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -153,9 +153,9 @@ There's also a builtin JSON decoder, in case you're dealing with JSON data:: In case the JSON decoding fails, ``r.json()`` raises an excep...
pytest-dev/pytest
pytest-dev__pytest-2794
https://github.com/pytest-dev/pytest/pull/2794
diff --git a/AUTHORS b/AUTHORS index cf31e038961..2fd2ab15e5d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -166,6 +166,7 @@ Tarcisio Fischer Tareq Alayan Ted Xiao Thomas Grainger +Thomas Hisch Tom Viner Trevor Bekolay Tyler Goodlet diff --git a/_pytest/config.py b/_pytest/config.py index 690f9858774..0d77cfbbf04 100644 ...
diff --git a/testing/logging/test_fixture.py b/testing/logging/test_fixture.py new file mode 100644 index 00000000000..b5bee4233a5 --- /dev/null +++ b/testing/logging/test_fixture.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- +import logging + + +logger = logging.getLogger(__name__) +sublogger = logging.getLogger(__name...
[ { "path": "doc/en/contents.rst", "old_path": "a/doc/en/contents.rst", "new_path": "b/doc/en/contents.rst", "metadata": "diff --git a/doc/en/contents.rst b/doc/en/contents.rst\nindex 028414eb658..12dbce2ee17 100644\n--- a/doc/en/contents.rst\n+++ b/doc/en/contents.rst\n@@ -30,6 +30,7 @@ Full pytest d...
3.3
1480aed78122016f5b98d3bb2de3cfe272e0e148
[ "testing/test_capture.py::TestCaptureFixture::test_stdfd_functional", "testing/test_capture.py::test_capture_early_option_parsing", "testing/test_capture.py::TestPerTestCapturing::test_capture_and_fixtures", "testing/test_capture.py::test_setup_failure_does_not_kill_capturing", "testing/test_capture.py::Tes...
[ "testing/logging/test_reporting.py::test_disable_log_capturing", "testing/logging/test_fixture.py::test_record_tuples", "testing/logging/test_fixture.py::test_clear", "testing/logging/test_fixture.py::test_fixture_help", "testing/logging/test_fixture.py::test_with_statement", "testing/logging/test_reporti...
[ { "path": "doc/en/contents.rst", "old_path": "a/doc/en/contents.rst", "new_path": "b/doc/en/contents.rst", "metadata": "diff --git a/doc/en/contents.rst b/doc/en/contents.rst\nindex 6b9eed010..7a6570e0b 100644\n--- a/doc/en/contents.rst\n+++ b/doc/en/contents.rst\n@@ -30,6 +30,7 @@ Full pytest docum...
{ "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": "_pytest/logging.py" }, { "type": "field", "name": "ret" } ] }
diff --git a/doc/en/contents.rst b/doc/en/contents.rst index 6b9eed010..7a6570e0b 100644 --- a/doc/en/contents.rst +++ b/doc/en/contents.rst @@ -30,6 +30,7 @@ Full pytest documentation xunit_setup plugins writing_plugins + logging goodpractices pythonpath diff --git a/doc/en/logging.rst b/doc/e...
matplotlib/matplotlib
matplotlib__matplotlib-18715
https://github.com/matplotlib/matplotlib/pull/18715
diff --git a/doc/users/next_whats_new/auto_minor_tick.rst b/doc/users/next_whats_new/auto_minor_tick.rst new file mode 100644 index 000000000000..02db8f6beb38 --- /dev/null +++ b/doc/users/next_whats_new/auto_minor_tick.rst @@ -0,0 +1,5 @@ +rcParams for ``AutoMinorLocator`` divisions +----------------------------------...
diff --git a/lib/matplotlib/tests/test_ticker.py b/lib/matplotlib/tests/test_ticker.py index 15981c4c9047..3d38df575f09 100644 --- a/lib/matplotlib/tests/test_ticker.py +++ b/lib/matplotlib/tests/test_ticker.py @@ -211,6 +211,60 @@ def test_additional(self, lim, ref): assert_almost_equal(ax.yaxis.get_tickloc...
[ { "path": "doc/users/next_whats_new/auto_minor_tick.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/auto_minor_tick.rst", "metadata": "diff --git a/doc/users/next_whats_new/auto_minor_tick.rst b/doc/users/next_whats_new/auto_minor_tick.rst\nnew file mode 100644\nindex 00000000...
3.7
b61bb0b6392c23d38cd45c658bfcd44df145830d
[ "lib/matplotlib/tests/test_ticker.py::TestLogFormatter::test_pprint[1000-100-1000]", "lib/matplotlib/tests/test_ticker.py::TestScalarFormatter::test_offset_value[-0.492-0.492-0]", "lib/matplotlib/tests/test_ticker.py::TestPercentFormatter::test_basic[autodecimal, x<100%, display_range=8.4 (autodecimal test 2)]"...
[ "lib/matplotlib/tests/test_ticker.py::TestAutoMinorLocator::test_number_of_minor_ticks_int[2-lim0-ref0-True]", "lib/matplotlib/tests/test_ticker.py::TestAutoMinorLocator::test_number_of_minor_ticks_auto[lim1-ref1-False]", "lib/matplotlib/tests/test_ticker.py::TestAutoMinorLocator::test_number_of_minor_ticks_aut...
[ { "path": "doc/users/next_whats_new/auto_minor_tick.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/auto_minor_tick.rst", "metadata": "diff --git a/doc/users/next_whats_new/auto_minor_tick.rst b/doc/users/next_whats_new/auto_minor_tick.rst\nnew file mode 100644\nindex 00000000...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/auto_minor_tick.rst b/doc/users/next_whats_new/auto_minor_tick.rst new file mode 100644 index 0000000000..02db8f6beb --- /dev/null +++ b/doc/users/next_whats_new/auto_minor_tick.rst @@ -0,0 +1,5 @@ +rcParams for ``AutoMinorLocator`` divisions +--------------------------------------...
matplotlib/matplotlib
matplotlib__matplotlib-19743
https://github.com/matplotlib/matplotlib/pull/19743
diff --git a/doc/users/next_whats_new/legend-figure-outside.rst b/doc/users/next_whats_new/legend-figure-outside.rst new file mode 100644 index 000000000000..a78725b4e2b6 --- /dev/null +++ b/doc/users/next_whats_new/legend-figure-outside.rst @@ -0,0 +1,8 @@ +Figure legends can be placed outside figures using constraine...
diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py index 56794a3428b8..a8d7fd107d8b 100644 --- a/lib/matplotlib/tests/test_legend.py +++ b/lib/matplotlib/tests/test_legend.py @@ -4,6 +4,7 @@ import warnings import numpy as np +from numpy.testing import assert_allclose import pyt...
[ { "path": "doc/users/next_whats_new/legend-figure-outside.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/legend-figure-outside.rst", "metadata": "diff --git a/doc/users/next_whats_new/legend-figure-outside.rst b/doc/users/next_whats_new/legend-figure-outside.rst\nnew file mod...
3.5
5793ebb2201bf778f08ac1d4cd0b8dd674c96053
[ "lib/matplotlib/tests/test_legend.py::test_legend_auto1[png]", "lib/matplotlib/tests/test_legend.py::test_framealpha[png]", "lib/matplotlib/tests/test_legend.py::test_alpha_rcparam[png]", "lib/matplotlib/tests/test_legend.py::test_cross_figure_patch_legend", "lib/matplotlib/tests/test_legend.py::test_legend...
[ "lib/matplotlib/tests/test_legend.py::test_figure_legend_outside" ]
[ { "path": "doc/users/next_whats_new/legend-figure-outside.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/legend-figure-outside.rst", "metadata": "diff --git a/doc/users/next_whats_new/legend-figure-outside.rst b/doc/users/next_whats_new/legend-figure-outside.rst\nnew file mod...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/legend-figure-outside.rst b/doc/users/next_whats_new/legend-figure-outside.rst new file mode 100644 index 0000000000..a78725b4e2 --- /dev/null +++ b/doc/users/next_whats_new/legend-figure-outside.rst @@ -0,0 +1,8 @@ +Figure legends can be placed outside figures using constrained_la...
matplotlib/matplotlib
matplotlib__matplotlib-23525
https://github.com/matplotlib/matplotlib/pull/23525
diff --git a/doc/users/next_whats_new/bar_plot_labels.rst b/doc/users/next_whats_new/bar_plot_labels.rst new file mode 100644 index 000000000000..6da57a317f59 --- /dev/null +++ b/doc/users/next_whats_new/bar_plot_labels.rst @@ -0,0 +1,16 @@ +Easier labelling of bars in bar plot +------------------------------------ + +...
diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py index 51fbea3cfaaa..3a1ba341b2e0 100644 --- a/lib/matplotlib/tests/test_axes.py +++ b/lib/matplotlib/tests/test_axes.py @@ -1886,6 +1886,35 @@ def test_bar_hatches(fig_test, fig_ref): ax_test.bar(x, y, hatch=hatches) +@pytest.ma...
[ { "path": "doc/users/next_whats_new/bar_plot_labels.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/bar_plot_labels.rst", "metadata": "diff --git a/doc/users/next_whats_new/bar_plot_labels.rst b/doc/users/next_whats_new/bar_plot_labels.rst\nnew file mode 100644\nindex 00000000...
3.5
23100c42b274898f983011c12d5399a96982fe71
[ "lib/matplotlib/tests/test_axes.py::test_stem_dates", "lib/matplotlib/tests/test_axes.py::test_errorbar_inputs_shotgun[kwargs12]", "lib/matplotlib/tests/test_axes.py::test_hist_zorder[stepfilled-1]", "lib/matplotlib/tests/test_axes.py::test_axline_transaxes_panzoom[png]", "lib/matplotlib/tests/test_axes.py:...
[ "lib/matplotlib/tests/test_axes.py::test_bar_labels[x1-width1-label1-expected_labels1-_nolegend_]", "lib/matplotlib/tests/test_axes.py::test_bar_labels_length", "lib/matplotlib/tests/test_axes.py::test_bar_labels[x2-width2-label2-expected_labels2-_nolegend_]" ]
[ { "path": "doc/users/next_whats_new/bar_plot_labels.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/bar_plot_labels.rst", "metadata": "diff --git a/doc/users/next_whats_new/bar_plot_labels.rst b/doc/users/next_whats_new/bar_plot_labels.rst\nnew file mode 100644\nindex 00000000...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/bar_plot_labels.rst b/doc/users/next_whats_new/bar_plot_labels.rst new file mode 100644 index 0000000000..6da57a317f --- /dev/null +++ b/doc/users/next_whats_new/bar_plot_labels.rst @@ -0,0 +1,16 @@ +Easier labelling of bars in bar plot +------------------------------------ + +The ...
matplotlib/matplotlib
matplotlib__matplotlib-24470
https://github.com/matplotlib/matplotlib/pull/24470
diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst new file mode 100644 index 000000000000..f54def10e954 --- /dev/null +++ b/doc/users/next_whats_new/pie_hatch.rst @@ -0,0 +1,18 @@ +``hatch`` parameter for pie +------------------------------------------- + +`~matplotlib.axes.Ax...
diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py index 3b471d4e0d92..7acd1040c5d6 100644 --- a/lib/matplotlib/tests/test_axes.py +++ b/lib/matplotlib/tests/test_axes.py @@ -5744,6 +5744,24 @@ def test_normalize_kwarg_pie(): assert abs(t2[0][-1].theta2 - 360.) > 1e-3 +@check_fi...
[ { "path": "doc/users/next_whats_new/pie_hatch.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/pie_hatch.rst", "metadata": "diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst\nnew file mode 100644\nindex 000000000000..f54def10e954\n--- ...
3.5
e0dc18d51ef29118cc13e394f76641dcb5198846
[ "lib/matplotlib/tests/test_axes.py::test_stem_dates", "lib/matplotlib/tests/test_axes.py::test_errorbar_inputs_shotgun[kwargs12]", "lib/matplotlib/tests/test_axes.py::test_hist_zorder[stepfilled-1]", "lib/matplotlib/tests/test_axes.py::test_axline_transaxes_panzoom[png]", "lib/matplotlib/tests/test_axes.py:...
[ "lib/matplotlib/tests/test_axes.py::test_pie_hatch_multi[pdf]", "lib/matplotlib/tests/test_axes.py::test_pie_hatch_single[pdf]", "lib/matplotlib/tests/test_axes.py::test_pie_hatch_multi[svg]", "lib/matplotlib/tests/test_axes.py::test_pie_hatch_multi[png]", "lib/matplotlib/tests/test_axes.py::test_pie_hatch_...
[ { "path": "doc/users/next_whats_new/pie_hatch.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/pie_hatch.rst", "metadata": "diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst\nnew file mode 100644\nindex 0000000000..f54def10e9\n--- /dev...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst new file mode 100644 index 0000000000..f54def10e9 --- /dev/null +++ b/doc/users/next_whats_new/pie_hatch.rst @@ -0,0 +1,18 @@ +``hatch`` parameter for pie +------------------------------------------- + +`~matplotlib.axes.Axes.p...
matplotlib/matplotlib
matplotlib__matplotlib-24937
https://github.com/matplotlib/matplotlib/pull/24937
diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst new file mode 100644 index 000000000000..f54def10e954 --- /dev/null +++ b/doc/users/next_whats_new/pie_hatch.rst @@ -0,0 +1,18 @@ +``hatch`` parameter for pie +------------------------------------------- + +`~matplotlib.axes.Ax...
diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py index f3f6b8938eb5..642316e4c000 100644 --- a/lib/matplotlib/tests/test_axes.py +++ b/lib/matplotlib/tests/test_axes.py @@ -5744,6 +5744,24 @@ def test_normalize_kwarg_pie(): assert abs(t2[0][-1].theta2 - 360.) > 1e-3 +@check_fi...
[ { "path": "doc/users/next_whats_new/pie_hatch.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/pie_hatch.rst", "metadata": "diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst\nnew file mode 100644\nindex 000000000000..f54def10e954\n--- ...
3.5
c19b6f5e9dc011c3b31d9996368c0fea4dcd3594
[ "lib/matplotlib/tests/test_axes.py::test_stem_dates", "lib/matplotlib/tests/test_axes.py::test_errorbar_inputs_shotgun[kwargs12]", "lib/matplotlib/tests/test_axes.py::test_hist_zorder[stepfilled-1]", "lib/matplotlib/tests/test_axes.py::test_axline_transaxes_panzoom[png]", "lib/matplotlib/tests/test_axes.py:...
[ "lib/matplotlib/tests/test_axes.py::test_pie_hatch_multi[pdf]", "lib/matplotlib/tests/test_axes.py::test_pie_hatch_single[pdf]", "lib/matplotlib/tests/test_axes.py::test_pie_hatch_multi[svg]", "lib/matplotlib/tests/test_axes.py::test_pie_hatch_multi[png]", "lib/matplotlib/tests/test_axes.py::test_pie_hatch_...
[ { "path": "doc/users/next_whats_new/pie_hatch.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/pie_hatch.rst", "metadata": "diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst\nnew file mode 100644\nindex 0000000000..f54def10e9\n--- /dev...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst new file mode 100644 index 0000000000..f54def10e9 --- /dev/null +++ b/doc/users/next_whats_new/pie_hatch.rst @@ -0,0 +1,18 @@ +``hatch`` parameter for pie +------------------------------------------- + +`~matplotlib.axes.Axes.p...
matplotlib/matplotlib
matplotlib__matplotlib-20966
https://github.com/matplotlib/matplotlib/pull/20966
diff --git a/doc/users/next_whats_new/callbacks_on_norms.rst b/doc/users/next_whats_new/callbacks_on_norms.rst new file mode 100644 index 000000000000..1904a92d2fba --- /dev/null +++ b/doc/users/next_whats_new/callbacks_on_norms.rst @@ -0,0 +1,8 @@ +A callback registry has been added to Normalize objects +~~~~~~~~~~~~~...
diff --git a/lib/matplotlib/tests/test_colors.py b/lib/matplotlib/tests/test_colors.py index ae004e957591..bf89a3a82364 100644 --- a/lib/matplotlib/tests/test_colors.py +++ b/lib/matplotlib/tests/test_colors.py @@ -1,5 +1,6 @@ import copy import itertools +import unittest.mock from io import BytesIO import numpy ...
[ { "path": "doc/users/next_whats_new/callbacks_on_norms.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/callbacks_on_norms.rst", "metadata": "diff --git a/doc/users/next_whats_new/callbacks_on_norms.rst b/doc/users/next_whats_new/callbacks_on_norms.rst\nnew file mode 100644\nin...
3.4
1dff078a4645666af374dc55812788d37bea7612
[ "lib/matplotlib/tests/test_colors.py::test_colormap_reversing[OrRd_r]", "lib/matplotlib/tests/test_colors.py::test_colormap_reversing[cubehelix]", "lib/matplotlib/tests/test_image.py::test_imsave_fspath[png]", "lib/matplotlib/tests/test_colors.py::test_colormap_reversing[summer]", "lib/matplotlib/tests/test...
[ "lib/matplotlib/tests/test_colors.py::test_norm_callback", "lib/matplotlib/tests/test_colors.py::test_scalarmappable_norm_update" ]
[ { "path": "doc/users/next_whats_new/callbacks_on_norms.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/callbacks_on_norms.rst", "metadata": "diff --git a/doc/users/next_whats_new/callbacks_on_norms.rst b/doc/users/next_whats_new/callbacks_on_norms.rst\nnew file mode 100644\nin...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/callbacks_on_norms.rst b/doc/users/next_whats_new/callbacks_on_norms.rst new file mode 100644 index 0000000000..1904a92d2f --- /dev/null +++ b/doc/users/next_whats_new/callbacks_on_norms.rst @@ -0,0 +1,8 @@ +A callback registry has been added to Normalize objects +~~~~~~~~~~~~~~~~~...
matplotlib/matplotlib
matplotlib__matplotlib-20816
https://github.com/matplotlib/matplotlib/pull/20816
diff --git a/doc/users/next_whats_new/callback_blocking.rst b/doc/users/next_whats_new/callback_blocking.rst new file mode 100644 index 000000000000..090e06c61bbf --- /dev/null +++ b/doc/users/next_whats_new/callback_blocking.rst @@ -0,0 +1,25 @@ +``CallbackRegistry`` objects gain a method to temporarily block signals ...
diff --git a/lib/matplotlib/tests/test_cbook.py b/lib/matplotlib/tests/test_cbook.py index 47287524afde..474ea1a41d93 100644 --- a/lib/matplotlib/tests/test_cbook.py +++ b/lib/matplotlib/tests/test_cbook.py @@ -361,6 +361,39 @@ def test_callbackregistry_custom_exception_handler(monkeypatch, cb, excp): cb.proce...
[ { "path": "doc/users/next_whats_new/callback_blocking.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/callback_blocking.rst", "metadata": "diff --git a/doc/users/next_whats_new/callback_blocking.rst b/doc/users/next_whats_new/callback_blocking.rst\nnew file mode 100644\nindex ...
3.4
586fcffaae03e40f851c5bc854de290b89bae18e
[ "lib/matplotlib/tests/test_cbook.py::test_normalize_kwargs_pass[inp1-expected1-kwargs_to_norm1]", "lib/matplotlib/tests/test_cbook.py::test_normalize_kwargs_fail[inp1-kwargs_to_norm1]", "lib/matplotlib/tests/test_cbook.py::Test_boxplot_stats::test_boxplot_stats_autorange_false", "lib/matplotlib/tests/test_cbo...
[ "lib/matplotlib/tests/test_cbook.py::test_callbackregistry_blocking" ]
[ { "path": "doc/users/next_whats_new/callback_blocking.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/callback_blocking.rst", "metadata": "diff --git a/doc/users/next_whats_new/callback_blocking.rst b/doc/users/next_whats_new/callback_blocking.rst\nnew file mode 100644\nindex ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/callback_blocking.rst b/doc/users/next_whats_new/callback_blocking.rst new file mode 100644 index 0000000000..090e06c61b --- /dev/null +++ b/doc/users/next_whats_new/callback_blocking.rst @@ -0,0 +1,25 @@ +``CallbackRegistry`` objects gain a method to temporarily block signals +---...
matplotlib/matplotlib
matplotlib__matplotlib-25686
https://github.com/matplotlib/matplotlib/pull/25686
diff --git a/doc/users/next_whats_new/get_suptitle.rst b/doc/users/next_whats_new/get_suptitle.rst new file mode 100644 index 000000000000..b03ad10b1b4c --- /dev/null +++ b/doc/users/next_whats_new/get_suptitle.rst @@ -0,0 +1,4 @@ +``Figure.get_suptitle()``, ``Figure.get_supxlabel()``, ``Figure.get_supylabel()`` +~~~~~...
diff --git a/lib/matplotlib/tests/test_figure.py b/lib/matplotlib/tests/test_figure.py index 4188ca878fed..d8f137ddd61a 100644 --- a/lib/matplotlib/tests/test_figure.py +++ b/lib/matplotlib/tests/test_figure.py @@ -302,6 +302,19 @@ def test_suptitle_subfigures(): assert sf2.get_facecolor() == (1.0, 1.0, 1.0, 1.0) ...
[ { "path": "doc/users/next_whats_new/get_suptitle.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/get_suptitle.rst", "metadata": "diff --git a/doc/users/next_whats_new/get_suptitle.rst b/doc/users/next_whats_new/get_suptitle.rst\nnew file mode 100644\nindex 000000000000..b03ad1...
3.7
b86ebbafe4673583345d0a01a6ea205af34c58dc
[ "lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_all_nested[png]", "lib/matplotlib/tests/test_figure.py::test_tightbbox_box_aspect[svg]", "lib/matplotlib/tests/test_figure.py::test_iterability_axes_argument", "lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_basic[x3-png]", "lib/mat...
[ "lib/matplotlib/tests/test_figure.py::test_get_suptitle_supxlabel_supylabel" ]
[ { "path": "doc/users/next_whats_new/get_suptitle.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/get_suptitle.rst", "metadata": "diff --git a/doc/users/next_whats_new/get_suptitle.rst b/doc/users/next_whats_new/get_suptitle.rst\nnew file mode 100644\nindex 0000000000..b03ad10b...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/get_suptitle.rst b/doc/users/next_whats_new/get_suptitle.rst new file mode 100644 index 0000000000..b03ad10b1b --- /dev/null +++ b/doc/users/next_whats_new/get_suptitle.rst @@ -0,0 +1,4 @@ +``Figure.get_suptitle()``, ``Figure.get_supxlabel()``, ``Figure.get_supylabel()`` +~~~~~~~~~...
matplotlib/matplotlib
matplotlib__matplotlib-25821
https://github.com/matplotlib/matplotlib/pull/25821
diff --git a/doc/api/toolkits/mplot3d/axes3d.rst b/doc/api/toolkits/mplot3d/axes3d.rst index 99c57db64d9a..f6d8e2529896 100644 --- a/doc/api/toolkits/mplot3d/axes3d.rst +++ b/doc/api/toolkits/mplot3d/axes3d.rst @@ -209,6 +209,7 @@ Sharing :nosignatures: sharez + shareview Interactive diff --git a/doc/u...
diff --git a/lib/mpl_toolkits/mplot3d/tests/test_axes3d.py b/lib/mpl_toolkits/mplot3d/tests/test_axes3d.py index 3b890d31ae44..f4114e7be511 100644 --- a/lib/mpl_toolkits/mplot3d/tests/test_axes3d.py +++ b/lib/mpl_toolkits/mplot3d/tests/test_axes3d.py @@ -1689,6 +1689,20 @@ def test_set_zlim(): ax.set_zlim(top=...
[ { "path": "doc/api/toolkits/mplot3d/axes3d.rst", "old_path": "a/doc/api/toolkits/mplot3d/axes3d.rst", "new_path": "b/doc/api/toolkits/mplot3d/axes3d.rst", "metadata": "diff --git a/doc/api/toolkits/mplot3d/axes3d.rst b/doc/api/toolkits/mplot3d/axes3d.rst\nindex 99c57db64d9a..f6d8e2529896 100644\n---...
3.7
4bdae2e004b29d075f96a7dbbee918f7dfb13ed1
[ "lib/mpl_toolkits/mplot3d/tests/test_axes3d.py::test_ax3d_tickcolour", "lib/mpl_toolkits/mplot3d/tests/test_axes3d.py::test_view_init_vertical_axis[x-proj_expected2-axis_lines_expected2-tickdirs_expected2]", "lib/mpl_toolkits/mplot3d/tests/test_axes3d.py::test_scatter3d_modification[png]", "lib/mpl_toolkits/m...
[ "lib/mpl_toolkits/mplot3d/tests/test_axes3d.py::test_shared_view[png]" ]
[ { "path": "doc/api/toolkits/mplot3d/axes3d.rst", "old_path": "a/doc/api/toolkits/mplot3d/axes3d.rst", "new_path": "b/doc/api/toolkits/mplot3d/axes3d.rst", "metadata": "diff --git a/doc/api/toolkits/mplot3d/axes3d.rst b/doc/api/toolkits/mplot3d/axes3d.rst\nindex 99c57db64d..f6d8e25298 100644\n--- a/d...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/api/toolkits/mplot3d/axes3d.rst b/doc/api/toolkits/mplot3d/axes3d.rst index 99c57db64d..f6d8e25298 100644 --- a/doc/api/toolkits/mplot3d/axes3d.rst +++ b/doc/api/toolkits/mplot3d/axes3d.rst @@ -209,6 +209,7 @@ Sharing :nosignatures: sharez + shareview Interactive diff --git a/doc/user...
matplotlib/matplotlib
matplotlib__matplotlib-24759
https://github.com/matplotlib/matplotlib/pull/24759
diff --git a/doc/users/next_whats_new/reverse_legend.rst b/doc/users/next_whats_new/reverse_legend.rst new file mode 100644 index 000000000000..00f2c0dbeac7 --- /dev/null +++ b/doc/users/next_whats_new/reverse_legend.rst @@ -0,0 +1,4 @@ +Reversed order of legend entries +-------------------------------- +The order of l...
diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py index 0016dc4d2d14..56794a3428b8 100644 --- a/lib/matplotlib/tests/test_legend.py +++ b/lib/matplotlib/tests/test_legend.py @@ -294,6 +294,38 @@ def test_legend_remove(): assert ax.get_legend() is None +def test_reverse_lege...
[ { "path": "doc/users/next_whats_new/reverse_legend.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/reverse_legend.rst", "metadata": "diff --git a/doc/users/next_whats_new/reverse_legend.rst b/doc/users/next_whats_new/reverse_legend.rst\nnew file mode 100644\nindex 000000000000...
3.5
b62376ce3b7a87d163b0482df94ae11601b66965
[ "lib/matplotlib/tests/test_legend.py::test_legend_auto1[png]", "lib/matplotlib/tests/test_legend.py::test_framealpha[png]", "lib/matplotlib/tests/test_legend.py::test_alpha_rcparam[png]", "lib/matplotlib/tests/test_legend.py::test_cross_figure_patch_legend", "lib/matplotlib/tests/test_legend.py::test_legend...
[ "lib/matplotlib/tests/test_legend.py::test_reverse_legend_handles_and_labels", "lib/matplotlib/tests/test_legend.py::test_reverse_legend_display[png]" ]
[ { "path": "doc/users/next_whats_new/reverse_legend.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/reverse_legend.rst", "metadata": "diff --git a/doc/users/next_whats_new/reverse_legend.rst b/doc/users/next_whats_new/reverse_legend.rst\nnew file mode 100644\nindex 0000000000.....
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/reverse_legend.rst b/doc/users/next_whats_new/reverse_legend.rst new file mode 100644 index 0000000000..00f2c0dbea --- /dev/null +++ b/doc/users/next_whats_new/reverse_legend.rst @@ -0,0 +1,4 @@ +Reversed order of legend entries +-------------------------------- +The order of legen...
matplotlib/matplotlib
matplotlib__matplotlib-26089
https://github.com/matplotlib/matplotlib/pull/26089
diff --git a/doc/users/next_whats_new/set_loc.rst b/doc/users/next_whats_new/set_loc.rst new file mode 100644 index 000000000000..2a8722a18da0 --- /dev/null +++ b/doc/users/next_whats_new/set_loc.rst @@ -0,0 +1,23 @@ +Add a public method to modify the location of ``Legend`` +--------------------------------------------...
diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py index c94a0f5f6169..720dfc3e6c65 100644 --- a/lib/matplotlib/tests/test_legend.py +++ b/lib/matplotlib/tests/test_legend.py @@ -755,6 +755,26 @@ def test_legend_alignment(alignment): assert leg.get_alignment() == alignment +...
[ { "path": "doc/users/next_whats_new/set_loc.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/set_loc.rst", "metadata": "diff --git a/doc/users/next_whats_new/set_loc.rst b/doc/users/next_whats_new/set_loc.rst\nnew file mode 100644\nindex 000000000000..2a8722a18da0\n--- /dev/nul...
3.7
f588d2b06e5b3c3296046d2ee9f0c13831cafe1c
[ "lib/matplotlib/tests/test_legend.py::test_plot_single_input_multiple_label[label_array0]", "lib/matplotlib/tests/test_legend.py::test_not_covering_scatter[png]", "lib/matplotlib/tests/test_legend.py::test_legend_auto1[svg]", "lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_single[color2]", "lib...
[ "lib/matplotlib/tests/test_legend.py::test_fig_legend_set_loc[right]", "lib/matplotlib/tests/test_legend.py::test_ax_legend_set_loc[center]", "lib/matplotlib/tests/test_legend.py::test_fig_legend_set_loc[outside right]", "lib/matplotlib/tests/test_legend.py::test_ax_legend_set_loc[best]" ]
[ { "path": "doc/users/next_whats_new/set_loc.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/set_loc.rst", "metadata": "diff --git a/doc/users/next_whats_new/set_loc.rst b/doc/users/next_whats_new/set_loc.rst\nnew file mode 100644\nindex 0000000000..2a8722a18d\n--- /dev/null\n+...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/set_loc.rst b/doc/users/next_whats_new/set_loc.rst new file mode 100644 index 0000000000..2a8722a18d --- /dev/null +++ b/doc/users/next_whats_new/set_loc.rst @@ -0,0 +1,23 @@ +Add a public method to modify the location of ``Legend`` +------------------------------------------------...
matplotlib/matplotlib
matplotlib__matplotlib-25779
https://github.com/matplotlib/matplotlib/pull/25779
diff --git a/doc/users/next_whats_new/get_vertices_co_vertices.rst b/doc/users/next_whats_new/get_vertices_co_vertices.rst new file mode 100644 index 000000000000..98254a82ce63 --- /dev/null +++ b/doc/users/next_whats_new/get_vertices_co_vertices.rst @@ -0,0 +1,7 @@ +``Ellipse.get_vertices()``, ``Ellipse.get_co_vertice...
diff --git a/lib/matplotlib/tests/test_patches.py b/lib/matplotlib/tests/test_patches.py index b9e1db32d419..fd872bac98d4 100644 --- a/lib/matplotlib/tests/test_patches.py +++ b/lib/matplotlib/tests/test_patches.py @@ -104,6 +104,57 @@ def test_corner_center(): assert_almost_equal(ellipse.get_corners(), corners_ro...
[ { "path": "doc/users/next_whats_new/get_vertices_co_vertices.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/get_vertices_co_vertices.rst", "metadata": "diff --git a/doc/users/next_whats_new/get_vertices_co_vertices.rst b/doc/users/next_whats_new/get_vertices_co_vertices.rst\n...
3.7
06305a2f5dc589888697b3b909859103b8259153
[ "lib/matplotlib/tests/test_patches.py::test_patch_alpha_override[pdf]", "lib/matplotlib/tests/test_patches.py::test_clip_to_bbox[png]", "lib/matplotlib/tests/test_patches.py::test_contains_points", "lib/matplotlib/tests/test_patches.py::test_units_rectangle[png]", "lib/matplotlib/tests/test_patches.py::test...
[ "lib/matplotlib/tests/test_patches.py::test_ellipse_vertices" ]
[ { "path": "doc/users/next_whats_new/get_vertices_co_vertices.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/get_vertices_co_vertices.rst", "metadata": "diff --git a/doc/users/next_whats_new/get_vertices_co_vertices.rst b/doc/users/next_whats_new/get_vertices_co_vertices.rst\n...
{ "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": "galleries/examples/shapes_and_collections/ellipse_arrow.py" } ] }
diff --git a/doc/users/next_whats_new/get_vertices_co_vertices.rst b/doc/users/next_whats_new/get_vertices_co_vertices.rst new file mode 100644 index 0000000000..98254a82ce --- /dev/null +++ b/doc/users/next_whats_new/get_vertices_co_vertices.rst @@ -0,0 +1,7 @@ +``Ellipse.get_vertices()``, ``Ellipse.get_co_vertices()`...
matplotlib/matplotlib
matplotlib__matplotlib-25542
https://github.com/matplotlib/matplotlib/pull/25542
diff --git a/doc/users/next_whats_new/multiplelocator_offset.rst b/doc/users/next_whats_new/multiplelocator_offset.rst new file mode 100644 index 000000000000..863fdb3c4d7e --- /dev/null +++ b/doc/users/next_whats_new/multiplelocator_offset.rst @@ -0,0 +1,17 @@ +``offset`` parameter for MultipleLocator +---------------...
diff --git a/lib/matplotlib/tests/test_ticker.py b/lib/matplotlib/tests/test_ticker.py index 3d38df575f09..53224d373f80 100644 --- a/lib/matplotlib/tests/test_ticker.py +++ b/lib/matplotlib/tests/test_ticker.py @@ -63,6 +63,12 @@ def test_basic(self): 9.441, 12.588]) assert_almo...
[ { "path": "doc/users/next_whats_new/multiplelocator_offset.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/multiplelocator_offset.rst", "metadata": "diff --git a/doc/users/next_whats_new/multiplelocator_offset.rst b/doc/users/next_whats_new/multiplelocator_offset.rst\nnew file...
3.7
7b821ce6b4a4474b1013435954c05c63574e3814
[ "lib/matplotlib/tests/test_ticker.py::TestLogFormatter::test_pprint[1000-100-1000]", "lib/matplotlib/tests/test_ticker.py::TestScalarFormatter::test_offset_value[-0.492-0.492-0]", "lib/matplotlib/tests/test_ticker.py::TestPercentFormatter::test_basic[autodecimal, x<100%, display_range=8.4 (autodecimal test 2)]"...
[ "lib/matplotlib/tests/test_ticker.py::TestMultipleLocator::test_set_params", "lib/matplotlib/tests/test_ticker.py::TestMultipleLocator::test_basic_with_offset", "lib/matplotlib/tests/test_ticker.py::TestMultipleLocator::test_view_limits_round_numbers_with_offset" ]
[ { "path": "doc/users/next_whats_new/multiplelocator_offset.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/multiplelocator_offset.rst", "metadata": "diff --git a/doc/users/next_whats_new/multiplelocator_offset.rst b/doc/users/next_whats_new/multiplelocator_offset.rst\nnew file...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/multiplelocator_offset.rst b/doc/users/next_whats_new/multiplelocator_offset.rst new file mode 100644 index 0000000000..863fdb3c4d --- /dev/null +++ b/doc/users/next_whats_new/multiplelocator_offset.rst @@ -0,0 +1,17 @@ +``offset`` parameter for MultipleLocator +-------------------...
matplotlib/matplotlib
matplotlib__matplotlib-24257
https://github.com/matplotlib/matplotlib/pull/24257
diff --git a/doc/api/next_api_changes/development/24257-AL.rst b/doc/api/next_api_changes/development/24257-AL.rst new file mode 100644 index 000000000000..584420df8fd7 --- /dev/null +++ b/doc/api/next_api_changes/development/24257-AL.rst @@ -0,0 +1,2 @@ +importlib_resources>=2.3.0 is now required on Python<3.10 +~~~~~...
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 020f09df4010..eddb14be0bc6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -162,8 +162,8 @@ jobs: # Install dependencies from PyPI. python -m pip install --upgrade $PRE \ - 'cont...
[ { "path": "doc/api/next_api_changes/development/24257-AL.rst", "old_path": "/dev/null", "new_path": "b/doc/api/next_api_changes/development/24257-AL.rst", "metadata": "diff --git a/doc/api/next_api_changes/development/24257-AL.rst b/doc/api/next_api_changes/development/24257-AL.rst\nnew file mode 10...
3.5
aca6e9d5e98811ca37c442217914b15e78127c89
[ "lib/matplotlib/tests/test_style.py::test_use", "lib/matplotlib/tests/test_style.py::test_available", "lib/matplotlib/tests/test_style.py::test_invalid_rc_warning_includes_filename", "lib/matplotlib/tests/test_style.py::test_context_with_union_of_dict_and_namedstyle", "lib/matplotlib/tests/test_style.py::te...
[ "lib/matplotlib/tests/test_style.py::test_style_from_module" ]
[ { "path": "doc/api/next_api_changes/development/#####-AL.rst", "old_path": "/dev/null", "new_path": "b/doc/api/next_api_changes/development/#####-AL.rst", "metadata": "diff --git a/doc/api/next_api_changes/development/#####-AL.rst b/doc/api/next_api_changes/development/#####-AL.rst\nnew file mode 10...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/api/next_api_changes/development/#####-AL.rst b/doc/api/next_api_changes/development/#####-AL.rst new file mode 100644 index 0000000000..584420df8f --- /dev/null +++ b/doc/api/next_api_changes/development/#####-AL.rst @@ -0,0 +1,2 @@ +importlib_resources>=2.3.0 is now required on Python<3.10 +~~~~~~~~~...
matplotlib/matplotlib
matplotlib__matplotlib-26278
https://github.com/matplotlib/matplotlib/pull/26278
diff --git a/doc/users/next_whats_new/contour_clip_path.rst b/doc/users/next_whats_new/contour_clip_path.rst new file mode 100644 index 000000000000..db4039a4fd70 --- /dev/null +++ b/doc/users/next_whats_new/contour_clip_path.rst @@ -0,0 +1,24 @@ +Clipping for contour plots +-------------------------- + +`~.Axes.contou...
diff --git a/lib/matplotlib/tests/test_contour.py b/lib/matplotlib/tests/test_contour.py index c730c8ea332d..7a4c4570580c 100644 --- a/lib/matplotlib/tests/test_contour.py +++ b/lib/matplotlib/tests/test_contour.py @@ -9,6 +9,7 @@ import matplotlib as mpl from matplotlib import pyplot as plt, rc_context, ticker from...
[ { "path": "doc/users/next_whats_new/contour_clip_path.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/contour_clip_path.rst", "metadata": "diff --git a/doc/users/next_whats_new/contour_clip_path.rst b/doc/users/next_whats_new/contour_clip_path.rst\nnew file mode 100644\nindex ...
3.7
02d2e137251ebcbd698b6f1ff8c455a1e52082af
[ "lib/matplotlib/tests/test_contour.py::test_contour_shape_error[args9-Input z must be at least a (2, 2) shaped array, but has shape (1, 1)]", "lib/matplotlib/tests/test_contour.py::test_contour_shape_2d_valid", "lib/matplotlib/tests/test_contour.py::test_contour_manual_labels[svg-False]", "lib/matplotlib/test...
[ "lib/matplotlib/tests/test_contour.py::test_contour_clip_path" ]
[ { "path": "doc/users/next_whats_new/contour_clip_path.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/contour_clip_path.rst", "metadata": "diff --git a/doc/users/next_whats_new/contour_clip_path.rst b/doc/users/next_whats_new/contour_clip_path.rst\nnew file mode 100644\nindex ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/contour_clip_path.rst b/doc/users/next_whats_new/contour_clip_path.rst new file mode 100644 index 0000000000..db4039a4fd --- /dev/null +++ b/doc/users/next_whats_new/contour_clip_path.rst @@ -0,0 +1,24 @@ +Clipping for contour plots +-------------------------- + +`~.Axes.contour` a...
matplotlib/matplotlib
matplotlib__matplotlib-25904
https://github.com/matplotlib/matplotlib/pull/25904
diff --git a/doc/users/next_whats_new/spinesproxyset.rst b/doc/users/next_whats_new/spinesproxyset.rst new file mode 100644 index 000000000000..cfd8d2908ec7 --- /dev/null +++ b/doc/users/next_whats_new/spinesproxyset.rst @@ -0,0 +1,3 @@ +``SpinesProxy`` now supports calling the ``set()`` method +~~~~~~~~~~~~~~~~~~~~~~~...
diff --git a/lib/matplotlib/tests/test_spines.py b/lib/matplotlib/tests/test_spines.py index 89bc0c872de5..9ce16fb39227 100644 --- a/lib/matplotlib/tests/test_spines.py +++ b/lib/matplotlib/tests/test_spines.py @@ -12,6 +12,9 @@ class SpineMock: def __init__(self): self.val = None + def s...
[ { "path": "doc/users/next_whats_new/spinesproxyset.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/spinesproxyset.rst", "metadata": "diff --git a/doc/users/next_whats_new/spinesproxyset.rst b/doc/users/next_whats_new/spinesproxyset.rst\nnew file mode 100644\nindex 000000000000...
3.7
2466ccb77a92fe57e045ac0c0b56d61ce563abf9
[ "lib/matplotlib/tests/test_spines.py::test_spines_black_axes[svg]", "lib/matplotlib/tests/test_spines.py::test_spines_axes_positions[svg]", "lib/matplotlib/tests/test_spines.py::test_spine_nonlinear_data_positions[png]", "lib/matplotlib/tests/test_spines.py::test_spines_data_positions[png]", "lib/matplotlib...
[ "lib/matplotlib/tests/test_spines.py::test_spine_class" ]
[ { "path": "doc/users/next_whats_new/spinesproxyset.rst", "old_path": "/dev/null", "new_path": "b/doc/users/next_whats_new/spinesproxyset.rst", "metadata": "diff --git a/doc/users/next_whats_new/spinesproxyset.rst b/doc/users/next_whats_new/spinesproxyset.rst\nnew file mode 100644\nindex 0000000000.....
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/users/next_whats_new/spinesproxyset.rst b/doc/users/next_whats_new/spinesproxyset.rst new file mode 100644 index 0000000000..cfd8d2908e --- /dev/null +++ b/doc/users/next_whats_new/spinesproxyset.rst @@ -0,0 +1,3 @@ +``SpinesProxy`` now supports calling the ``set()`` method +~~~~~~~~~~~~~~~~~~~~~~~~~~~...
pydata/xarray
pydata__xarray-3475
https://github.com/pydata/xarray/pull/3475
diff --git a/doc/data-structures.rst b/doc/data-structures.rst index d5567f4863e..93cdc7e9765 100644 --- a/doc/data-structures.rst +++ b/doc/data-structures.rst @@ -393,14 +393,14 @@ methods (like pandas) for transforming datasets into new objects. For removing variables, you can select and drop an explicit list of ...
diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py index 9b000b82b03..de3a7eadab0 100644 --- a/xarray/tests/test_backends.py +++ b/xarray/tests/test_backends.py @@ -800,7 +800,7 @@ def equals_latlon(obj): assert "coordinates" not in ds["lat"].attrs assert "coord...
[ { "path": "doc/data-structures.rst", "old_path": "a/doc/data-structures.rst", "new_path": "b/doc/data-structures.rst", "metadata": "diff --git a/doc/data-structures.rst b/doc/data-structures.rst\nindex d5567f4863e..93cdc7e9765 100644\n--- a/doc/data-structures.rst\n+++ b/doc/data-structures.rst\n@@ ...
0014
4dce93f134e8296ea730104b46ce3372b90304ac
[ "xarray/tests/test_dataset.py::test_rolling_reduce[max-1-None-False-1]", "xarray/tests/test_dataset.py::test_rolling_reduce[max-3-1-False-2]", "xarray/tests/test_dataset.py::test_rolling_reduce[max-4-3-True-1]", "xarray/tests/test_dataset.py::test_rolling_reduce[median-3-2-True-2]", "xarray/tests/test_datas...
[ "xarray/tests/test_dataarray.py::TestDataArray::test_sel_dataarray", "xarray/tests/test_duck_array_ops.py::test_argmin_max[x-True-max-False-False-str-1]", "xarray/tests/test_duck_array_ops.py::test_argmin_max[x-True-max-False-False-int-1]", "xarray/tests/test_duck_array_ops.py::test_argmin_max[x-False-min-Fal...
[ { "path": "doc/data-structures.rst", "old_path": "a/doc/data-structures.rst", "new_path": "b/doc/data-structures.rst", "metadata": "diff --git a/doc/data-structures.rst b/doc/data-structures.rst\nindex d5567f48..93cdc7e9 100644\n--- a/doc/data-structures.rst\n+++ b/doc/data-structures.rst\n@@ -393,1...
{ "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": "PendingDeprecationWarning" } ] }
diff --git a/doc/data-structures.rst b/doc/data-structures.rst index d5567f48..93cdc7e9 100644 --- a/doc/data-structures.rst +++ b/doc/data-structures.rst @@ -393,14 +393,14 @@ methods (like pandas) for transforming datasets into new objects. For removing variables, you can select and drop an explicit list of varia...
pydata/xarray
pydata__xarray-3421
https://github.com/pydata/xarray/pull/3421
diff --git a/doc/reshaping.rst b/doc/reshaping.rst index 51202f9be41..455a24f9216 100644 --- a/doc/reshaping.rst +++ b/doc/reshaping.rst @@ -18,12 +18,14 @@ Reordering dimensions --------------------- To reorder dimensions on a :py:class:`~xarray.DataArray` or across all variables -on a :py:class:`~xarray.Dataset`,...
diff --git a/xarray/tests/__init__.py b/xarray/tests/__init__.py index 88476e5e730..f85a33f7a3c 100644 --- a/xarray/tests/__init__.py +++ b/xarray/tests/__init__.py @@ -158,18 +158,21 @@ def source_ndarray(array): def assert_equal(a, b): + __tracebackhide__ = True xarray.testing.assert_equal(a, b) xar...
[ { "path": "doc/reshaping.rst", "old_path": "a/doc/reshaping.rst", "new_path": "b/doc/reshaping.rst", "metadata": "diff --git a/doc/reshaping.rst b/doc/reshaping.rst\nindex 51202f9be41..455a24f9216 100644\n--- a/doc/reshaping.rst\n+++ b/doc/reshaping.rst\n@@ -18,12 +18,14 @@ Reordering dimensions\n -...
0014
fb0cf7b5fe56519a933ffcecbce9e9327fe236a6
[ "xarray/tests/test_dataset.py::test_rolling_reduce[max-1-None-False-1]", "xarray/tests/test_dataset.py::test_rolling_reduce[max-3-1-False-2]", "xarray/tests/test_dataset.py::test_rolling_reduce[max-4-3-True-1]", "xarray/tests/test_dataset.py::test_rolling_reduce[median-3-2-True-2]", "xarray/tests/test_datas...
[ "xarray/tests/test_utils.py::test_infix_dims[supplied1-all_1-expected1]", "xarray/tests/test_utils.py::test_infix_dims_errors[supplied0-all_0]", "xarray/tests/test_utils.py::test_infix_dims[supplied2-all_2-expected2]", "xarray/tests/test_utils.py::test_infix_dims[supplied4-all_4-expected4]", "xarray/tests/t...
[ { "path": "doc/reshaping.rst", "old_path": "a/doc/reshaping.rst", "new_path": "b/doc/reshaping.rst", "metadata": "diff --git a/doc/reshaping.rst b/doc/reshaping.rst\nindex 51202f9b..455a24f9 100644\n--- a/doc/reshaping.rst\n+++ b/doc/reshaping.rst\n@@ -18,12 +18,14 @@ Reordering dimensions\n -------...
{ "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": "infix_dims" }, { "type": "field", "name": "infix_dims" }, { "ty...
diff --git a/doc/reshaping.rst b/doc/reshaping.rst index 51202f9b..455a24f9 100644 --- a/doc/reshaping.rst +++ b/doc/reshaping.rst @@ -18,12 +18,14 @@ Reordering dimensions --------------------- To reorder dimensions on a :py:class:`~xarray.DataArray` or across all variables -on a :py:class:`~xarray.Dataset`, use :...
pydata/xarray
pydata__xarray-3733
https://github.com/pydata/xarray/pull/3733
diff --git a/doc/api.rst b/doc/api.rst index b9c3e3bdd33..216f47f988f 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -30,6 +30,7 @@ Top-level functions zeros_like ones_like dot + polyval map_blocks show_versions set_options @@ -172,6 +173,7 @@ Computation Dataset.quantile Dataset.differ...
diff --git a/xarray/tests/test_computation.py b/xarray/tests/test_computation.py index 369903552ad..4eed464d2dc 100644 --- a/xarray/tests/test_computation.py +++ b/xarray/tests/test_computation.py @@ -1120,3 +1120,35 @@ def test_where(): actual = xr.where(cond, 1, 0) expected = xr.DataArray([1, 0], dims="x") ...
[ { "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 b9c3e3bdd33..216f47f988f 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -30,6 +30,7 @@ Top-level functions\n zeros_like\n ones_like\n dot\n+ poly...
0016
009aa66620b3437cf0de675013fa7d1ff231963c
[ "xarray/tests/test_dataset.py::test_rolling_reduce[median-3-3-True-2]", "xarray/tests/test_dataset.py::test_rolling_reduce[std-3-2-False-1]", "xarray/tests/test_dataarray.py::test_rolling_wrapped_bottleneck[1-1-False-mean]", "xarray/tests/test_dataset.py::test_rolling_reduce[mean-3-2-True-1]", "xarray/tests...
[ "xarray/tests/test_duck_array_ops.py::test_argmin_max[x-True-max-False-False-int-1]", "xarray/tests/test_duck_array_ops.py::test_min_count_dataset[prod]", "xarray/tests/test_duck_array_ops.py::TestArrayNotNullEquiv::test_wrong_shape", "xarray/tests/test_duck_array_ops.py::test_min_count[x-prod-False-bool_-1]"...
[ { "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 b9c3e3bd..216f47f9 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -30,6 +30,7 @@ Top-level functions\n zeros_like\n ones_like\n dot\n+ polyval\n ...
{ "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": "least_squares" }, { "type": "function", "name": "least_squares" }, { ...
diff --git a/doc/api.rst b/doc/api.rst index b9c3e3bd..216f47f9 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -30,6 +30,7 @@ Top-level functions zeros_like ones_like dot + polyval map_blocks show_versions set_options @@ -172,6 +173,7 @@ Computation Dataset.quantile Dataset.differentiat...
pydata/xarray
pydata__xarray-4248
https://github.com/pydata/xarray/pull/4248
diff --git a/doc/internals.rst b/doc/internals.rst index 46c117e312b..b158f12ac6d 100644 --- a/doc/internals.rst +++ b/doc/internals.rst @@ -42,6 +42,38 @@ xarray objects via the (readonly) :py:attr:`Dataset.variables <xarray.Dataset.variables>` and :py:attr:`DataArray.variable <xarray.DataArray.variable>` attributes...
diff --git a/xarray/tests/test_formatting.py b/xarray/tests/test_formatting.py index 82de8080c80..1cc91266421 100644 --- a/xarray/tests/test_formatting.py +++ b/xarray/tests/test_formatting.py @@ -7,6 +7,7 @@ import xarray as xr from xarray.core import formatting +from xarray.core.npcompat import IS_NEP18_ACTIVE ...
[ { "path": "doc/internals.rst", "old_path": "a/doc/internals.rst", "new_path": "b/doc/internals.rst", "metadata": "diff --git a/doc/internals.rst b/doc/internals.rst\nindex 46c117e312b..b158f12ac6d 100644\n--- a/doc/internals.rst\n+++ b/doc/internals.rst\n@@ -42,6 +42,38 @@ xarray objects via the (re...
0016
98dc1f4ea18738492e074e9e51ddfed5cd30ab94
[ "xarray/tests/test_formatting.py::TestFormatting::test_diff_attrs_repr_with_array", "xarray/tests/test_formatting.py::TestFormatting::test_format_timestamp_out_of_bounds", "xarray/tests/test_formatting.py::test_large_array_repr_length", "xarray/tests/test_formatting.py::test_short_numpy_repr", "xarray/tests...
[ "xarray/tests/test_formatting.py::test_inline_variable_array_repr_custom_repr" ]
[ { "path": "doc/internals.rst", "old_path": "a/doc/internals.rst", "new_path": "b/doc/internals.rst", "metadata": "diff --git a/doc/internals.rst b/doc/internals.rst\nindex 46c117e3..b158f12a 100644\n--- a/doc/internals.rst\n+++ b/doc/internals.rst\n@@ -42,6 +42,38 @@ xarray objects via the (readonly...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/internals.rst b/doc/internals.rst index 46c117e3..b158f12a 100644 --- a/doc/internals.rst +++ b/doc/internals.rst @@ -42,6 +42,38 @@ xarray objects via the (readonly) :py:attr:`Dataset.variables <xarray.Dataset.variables>` and :py:attr:`DataArray.variable <xarray.DataArray.variable>` attributes. +D...
pydata/xarray
pydata__xarray-4343
https://github.com/pydata/xarray/pull/4343
diff --git a/doc/weather-climate.rst b/doc/weather-climate.rst index f03dfd14c73..9a92a1842d3 100644 --- a/doc/weather-climate.rst +++ b/doc/weather-climate.rst @@ -97,14 +97,25 @@ using the same formatting as the standard `datetime.strftime`_ convention . For data indexed by a :py:class:`~xarray.CFTimeIndex` xarray...
diff --git a/xarray/tests/test_cftime_offsets.py b/xarray/tests/test_cftime_offsets.py index 343e059f53c..3efcf8039c6 100644 --- a/xarray/tests/test_cftime_offsets.py +++ b/xarray/tests/test_cftime_offsets.py @@ -970,6 +970,15 @@ def test_rollback(calendar, offset, initial_date_args, partial_expected_date_arg ...
[ { "path": "doc/weather-climate.rst", "old_path": "a/doc/weather-climate.rst", "new_path": "b/doc/weather-climate.rst", "metadata": "diff --git a/doc/weather-climate.rst b/doc/weather-climate.rst\nindex f03dfd14c73..9a92a1842d3 100644\n--- a/doc/weather-climate.rst\n+++ b/doc/weather-climate.rst\n@@ ...
0016
e6c111355137a123488c8dad48d473b32e9e5366
[]
[ "xarray/tests/test_cftimeindex.py::test_parse_iso8601_like[month]", "xarray/tests/test_cftimeindex.py::test_parse_iso8601_like[minute]", "xarray/tests/test_cftimeindex.py::test_parse_iso8601_like[hour-dash]", "xarray/tests/test_cftimeindex.py::test_parse_iso8601_like[second-dash]", "xarray/tests/test_cftime...
[ { "path": "doc/weather-climate.rst", "old_path": "a/doc/weather-climate.rst", "new_path": "b/doc/weather-climate.rst", "metadata": "diff --git a/doc/weather-climate.rst b/doc/weather-climate.rst\nindex f03dfd14..9a92a184 100644\n--- a/doc/weather-climate.rst\n+++ b/doc/weather-climate.rst\n@@ -97,14...
{ "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": "parse_iso8601_like" }, { "type": "function", "name": "parse_iso8601_like" ...
diff --git a/doc/weather-climate.rst b/doc/weather-climate.rst index f03dfd14..9a92a184 100644 --- a/doc/weather-climate.rst +++ b/doc/weather-climate.rst @@ -97,14 +97,25 @@ using the same formatting as the standard `datetime.strftime`_ convention . For data indexed by a :py:class:`~xarray.CFTimeIndex` xarray curre...
pydata/xarray
pydata__xarray-4534
https://github.com/pydata/xarray/pull/4534
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index b10271b13f5..5d9a0263c35 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -298,6 +298,7 @@ core.accessor_dt.DatetimeAccessor.is_quarter_start core.accessor_dt.DatetimeAccessor.is_year_end core.accessor_dt.DatetimeAccessor.is_year_start + ...
diff --git a/xarray/tests/test_accessor_dt.py b/xarray/tests/test_accessor_dt.py index ae5b0b6d7cf..984bfc763bc 100644 --- a/xarray/tests/test_accessor_dt.py +++ b/xarray/tests/test_accessor_dt.py @@ -1,3 +1,5 @@ +from distutils.version import LooseVersion + import numpy as np import pandas as pd import pytest @@ -6...
[ { "path": "doc/api-hidden.rst", "old_path": "a/doc/api-hidden.rst", "new_path": "b/doc/api-hidden.rst", "metadata": "diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst\nindex b10271b13f5..5d9a0263c35 100644\n--- a/doc/api-hidden.rst\n+++ b/doc/api-hidden.rst\n@@ -298,6 +298,7 @@\n core.accessor...
0016
764ffc95af41602b7ba216bad4be438330c3dc45
[ "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[month]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[nanosecond]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[year]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccesso...
[ "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_isocalendar[week-week]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_isocalendar[year-year]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[week]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccess...
[ { "path": "doc/api-hidden.rst", "old_path": "a/doc/api-hidden.rst", "new_path": "b/doc/api-hidden.rst", "metadata": "diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst\nindex b10271b1..5d9a0263 100644\n--- a/doc/api-hidden.rst\n+++ b/doc/api-hidden.rst\n@@ -298,6 +298,7 @@\n core.accessor_dt.Da...
{ "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": "LooseVersion" }, { "type": "field", "name": "distutils" }, { "t...
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index b10271b1..5d9a0263 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -298,6 +298,7 @@ core.accessor_dt.DatetimeAccessor.is_quarter_start core.accessor_dt.DatetimeAccessor.is_year_end core.accessor_dt.DatetimeAccessor.is_year_start + core...
pydata/xarray
pydata__xarray-5174
https://github.com/pydata/xarray/pull/5174
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index ebbfc87b4d3..04fd567941f 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -99,6 +99,9 @@ New Features :py:func:`xarray.open_mfdataset` when `combine='by_coords'` is specified. Fixes (:issue:`5230`). By `Tom Nicholas <https://github.com/TomNichol...
diff --git a/xarray/tests/test_dask.py b/xarray/tests/test_dask.py index 032e81737e1..8b875662ab8 100644 --- a/xarray/tests/test_dask.py +++ b/xarray/tests/test_dask.py @@ -110,8 +110,39 @@ def test_indexing(self): self.assertLazyAndIdentical(u[0], v[0]) self.assertLazyAndIdentical(u[:1], v[:1]) ...
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex ebbfc87b4d3..04fd567941f 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -99,6 +99,9 @@ New Features\n :py:func:`...
0018
01b6cc76c6b7c77f2f93fc1766eb76f851529b5d
[ "xarray/tests/test_dask.py::test_token_identical[obj0-<lambda>1]", "xarray/tests/test_dask.py::test_token_changes_when_buffer_changes[obj0]", "xarray/tests/test_dask.py::test_unify_chunks_shallow_copy[<lambda>0-obj1]", "xarray/tests/test_dask.py::TestVariable::test_compute", "xarray/tests/test_dask.py::test...
[ "xarray/tests/test_dask.py::TestVariable::test_indexing" ]
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex ebbfc87b..924444f3 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -99,6 +99,8 @@ New Features\n :py:func:`xarray...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index ebbfc87b..924444f3 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -99,6 +99,8 @@ New Features :py:func:`xarray.open_mfdataset` when `combine='by_coords'` is specified. Fixes (:issue:`5230`). By `Tom Nicholas <https://github.com/TomNicholas>`_....
pydata/xarray
pydata__xarray-4849
https://github.com/pydata/xarray/pull/4849
diff --git a/doc/api.rst b/doc/api.rst index a140d9e2b81..6288ce01803 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -179,6 +179,7 @@ Computation Dataset.integrate Dataset.map_blocks Dataset.polyfit + Dataset.curvefit **Aggregation**: :py:attr:`~Dataset.all` @@ -375,7 +376,7 @@ Computation DataArra...
diff --git a/xarray/tests/test_dataarray.py b/xarray/tests/test_dataarray.py index 20e357543d6..c18f9acfca1 100644 --- a/xarray/tests/test_dataarray.py +++ b/xarray/tests/test_dataarray.py @@ -4690,6 +4690,60 @@ def test_query(self, backend, engine, parser): with pytest.raises(UndefinedVariableError): ...
[ { "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 a140d9e2b81..6288ce01803 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -179,6 +179,7 @@ Computation\n Dataset.integrate\n Dataset.map_blocks\n Dat...
0018
ba47216ec1cd2f170fd85a10f232be7bf3ecc578
[ "xarray/tests/test_dataarray.py::test_rolling_reduce[mean-4-None-True-2]", "xarray/tests/test_dataarray.py::TestDataArray::test_groupby_multidim_map", "xarray/tests/test_dataarray.py::TestDataArray::test_coord_coords", "xarray/tests/test_dataarray.py::test_rolling_reduce[max-2-1-False-2]", "xarray/tests/tes...
[ "xarray/tests/test_dataarray.py::TestDataArray::test_curvefit_helpers" ]
[ { "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 a140d9e2..6288ce01 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -179,6 +179,7 @@ Computation\n Dataset.integrate\n Dataset.map_blocks\n Dataset.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": [ { "type": "field", "name": "bounds_defaults" }, { "type": "field", "name": "_get_func_args" }, { ...
diff --git a/doc/api.rst b/doc/api.rst index a140d9e2..6288ce01 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -179,6 +179,7 @@ Computation Dataset.integrate Dataset.map_blocks Dataset.polyfit + Dataset.curvefit **Aggregation**: :py:attr:`~Dataset.all` @@ -375,7 +376,7 @@ Computation DataArray.inte...
pydata/xarray
pydata__xarray-4984
https://github.com/pydata/xarray/pull/4984
diff --git a/ci/requirements/environment.yml b/ci/requirements/environment.yml index 36147c64c03..57498fa5700 100644 --- a/ci/requirements/environment.yml +++ b/ci/requirements/environment.yml @@ -22,6 +22,7 @@ dependencies: - nc-time-axis - netcdf4 - numba + - numexpr - numpy - pandas - pint diff --...
diff --git a/xarray/tests/__init__.py b/xarray/tests/__init__.py index 4b47e1d2c7e..aebcb0f2b8d 100644 --- a/xarray/tests/__init__.py +++ b/xarray/tests/__init__.py @@ -83,6 +83,7 @@ def LooseVersion(vstring): has_cartopy, requires_cartopy = _importorskip("cartopy") # Need Pint 0.15 for __dask_tokenize__ tests for Qu...
[ { "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 7e13c2feefe..4af9bb01208 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -138,6 +138,7 @@ Indexing\n Dataset.set_index\n Dataset.reset_index\n Datas...
0018
daea5df23209e8b7148067fd6272e2eed9f40bf1
[ "xarray/tests/test_dataset.py::test_rolling_reduce[median-3-3-True-2]", "xarray/tests/test_dataset.py::test_rolling_reduce[std-3-2-False-1]", "xarray/tests/test_dataset.py::test_rolling_reduce[mean-3-2-True-1]", "xarray/tests/test_dataset.py::test_rolling_reduce[max-2-3-True-2]", "xarray/tests/test_accessor...
[ "xarray/tests/test_dataarray.py::TestDataArray::test_query[numpy-None-python]", "xarray/tests/test_dataset.py::TestDataset::test_query[numpy-python-python]", "xarray/tests/test_dataarray.py::TestDataArray::test_query[numpy-python-pandas]", "xarray/tests/test_dataarray.py::TestDataArray::test_query[numpy-None-...
[ { "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 7e13c2fe..4af9bb01 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -138,6 +138,7 @@ Indexing\n Dataset.set_index\n Dataset.reset_index\n Dataset.reo...
{ "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": "parser" }, { "type": "field", "name": "parser" }, { "type": "fi...
diff --git a/doc/api.rst b/doc/api.rst index 7e13c2fe..4af9bb01 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -138,6 +138,7 @@ Indexing Dataset.set_index Dataset.reset_index Dataset.reorder_levels + Dataset.query Missing value handling ---------------------- @@ -321,6 +322,7 @@ Indexing DataArray....
pydata/xarray
pydata__xarray-5126
https://github.com/pydata/xarray/pull/5126
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 403227b1b6b..e22805b0342 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -82,6 +82,13 @@ New Features - Disable the `cfgrib` backend if the `eccodes` library is not installed (:pull:`5083`). By `Baudouin Raoult <https://github.com/b8raoult>`_. - Added...
diff --git a/xarray/tests/test_formatting.py b/xarray/tests/test_formatting.py index 1098587dca7..1e2a968debe 100644 --- a/xarray/tests/test_formatting.py +++ b/xarray/tests/test_formatting.py @@ -391,6 +391,17 @@ def test_array_repr(self): assert actual == expected + with xr.set_options(display_exp...
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex 403227b1b6b..e22805b0342 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -82,6 +82,13 @@ New Features\n - Disable t...
0018
6bfbaede69eb73810cb63672a8161bd1fc147594
[ "xarray/tests/test_formatting_html.py::test_repr_of_multiindex", "xarray/tests/test_formatting.py::TestFormatting::test_diff_attrs_repr_with_array", "xarray/tests/test_formatting_html.py::test_format_dims_unsafe_dim_name", "xarray/tests/test_formatting.py::TestFormatting::test_format_timestamp_out_of_bounds",...
[ "xarray/tests/test_formatting.py::test__mapping_repr[35-40-30]", "xarray/tests/test_formatting.py::test__mapping_repr[11-40-30]", "xarray/tests/test_formatting.py::TestFormatting::test_array_repr", "xarray/tests/test_formatting.py::test__mapping_repr[50-40-30]", "xarray/tests/test_formatting.py::test__mappi...
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex 403227b1..a7c456c6 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -82,6 +82,12 @@ New Features\n - Disable the `cf...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 403227b1..a7c456c6 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -82,6 +82,12 @@ New Features - Disable the `cfgrib` backend if the `eccodes` library is not installed (:pull:`5083`). By `Baudouin Raoult <https://github.com/b8raoult>`_. - Added :py:m...
pydata/xarray
pydata__xarray-5233
https://github.com/pydata/xarray/pull/5233
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index a6681715a3e..8ed9e47be01 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -77,6 +77,7 @@ core.accessor_dt.DatetimeAccessor.floor core.accessor_dt.DatetimeAccessor.round core.accessor_dt.DatetimeAccessor.strftime + core.accessor_dt.Datet...
diff --git a/xarray/tests/test_accessor_dt.py b/xarray/tests/test_accessor_dt.py index bdfe25b3c5c..b471bd2e267 100644 --- a/xarray/tests/test_accessor_dt.py +++ b/xarray/tests/test_accessor_dt.py @@ -105,6 +105,10 @@ def test_isocalendar(self, field, pandas_field) -> None: actual = self.data.time.dt.isocalend...
[ { "path": "doc/api-hidden.rst", "old_path": "a/doc/api-hidden.rst", "new_path": "b/doc/api-hidden.rst", "metadata": "diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst\nindex a6681715a3e..8ed9e47be01 100644\n--- a/doc/api-hidden.rst\n+++ b/doc/api-hidden.rst\n@@ -77,6 +77,7 @@\n core.accessor_d...
0020
2694046c748a51125de6d460073635f1d789958e
[ "xarray/tests/test_accessor_dt.py::test_date_cftime[365_day]", "xarray/tests/test_accessor_dt.py::test_field_access[366_day-dayofyear]", "xarray/tests/test_accessor_dt.py::TestTimedeltaAccessor::test_accessor_methods[ceil-D]", "xarray/tests/test_accessor_dt.py::test_dask_field_access_1d[gregorian-day]", "xa...
[ "xarray/tests/test_accessor_dt.py::test_cftime_round_accessor[all_leap-True]", "xarray/tests/test_cftime_offsets.py::test_rollforward[360_day-<MonthBegin: n=2>-(1, 3, 2)-(1, 4)]", "xarray/tests/test_cftime_offsets.py::test_add_year_end_onOffset[standard-(1, 1)-()-<YearEnd: n=1, month=2>-(1, 2)-()]", "xarray/t...
[ { "path": "doc/api-hidden.rst", "old_path": "a/doc/api-hidden.rst", "new_path": "b/doc/api-hidden.rst", "metadata": "diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst\nindex a6681715..8ed9e47b 100644\n--- a/doc/api-hidden.rst\n+++ b/doc/api-hidden.rst\n@@ -77,6 +77,7 @@\n core.accessor_dt.Date...
{ "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": "source" }, { "type": "field", "name": "dtype" }, { "type": "fie...
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index a6681715..8ed9e47b 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -77,6 +77,7 @@ core.accessor_dt.DatetimeAccessor.floor core.accessor_dt.DatetimeAccessor.round core.accessor_dt.DatetimeAccessor.strftime + core.accessor_dt.DatetimeAcc...
pydata/xarray
pydata__xarray-6706
https://github.com/pydata/xarray/pull/6706
diff --git a/doc/api.rst b/doc/api.rst index 644b86cdebb..810c1a92682 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -61,6 +61,7 @@ Attributes Dataset.dims Dataset.sizes + Dataset.dtypes Dataset.data_vars Dataset.coords Dataset.attrs diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 3c53d3...
diff --git a/xarray/tests/test_dataarray.py b/xarray/tests/test_dataarray.py index d4f7b0f096f..3b1b1da651f 100644 --- a/xarray/tests/test_dataarray.py +++ b/xarray/tests/test_dataarray.py @@ -1321,9 +1321,11 @@ def test_coords(self) -> None: ] da = DataArray(np.random.randn(2, 3), coords, name="foo")...
[ { "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 644b86cdebb..810c1a92682 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -61,6 +61,7 @@ Attributes\n \n Dataset.dims\n Dataset.sizes\n+ Dataset.dtype...
2206
9a719909ffbab972f6811cbfea8447075b4b919e
[ "xarray/tests/test_dataarray.py::test_rolling_reduce[dask-max-4-3-True-2]", "xarray/tests/test_dataset.py::test_ndrolling_reduce[numpy-False-max-None-True-2]", "xarray/tests/test_dataarray.py::test_rolling_reduce[numpy-max-3-1-False-1]", "xarray/tests/test_dataset.py::TestDataset::test_setitem_dimension_overr...
[ "xarray/tests/test_dataset.py::TestDataset::test_coords_properties", "xarray/tests/test_dataarray.py::TestDataArray::test_coords", "xarray/tests/test_dataset.py::TestDataset::test_data_vars_properties", "xarray/tests/test_dataset.py::TestDataset::test_properties" ]
[ { "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 644b86cd..810c1a92 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -61,6 +61,7 @@ Attributes\n \n Dataset.dims\n Dataset.sizes\n+ Dataset.dtypes\n ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/api.rst b/doc/api.rst index 644b86cd..810c1a92 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -61,6 +61,7 @@ Attributes Dataset.dims Dataset.sizes + Dataset.dtypes Dataset.data_vars Dataset.coords Dataset.attrs diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 3c091aa8..1...
pydata/xarray
pydata__xarray-6635
https://github.com/pydata/xarray/pull/6635
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index c9ee52f3da0..b922e7f3949 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -48,6 +48,9 @@ New Features is faster and requires less memory. (:pull:`6548`) By `Michael Niklas <https://github.com/headtr1ck>`_. - Improved overall typing. +- :py:meth:`D...
diff --git a/xarray/tests/test_dataarray.py b/xarray/tests/test_dataarray.py index 01d17837f61..970e2a8e710 100644 --- a/xarray/tests/test_dataarray.py +++ b/xarray/tests/test_dataarray.py @@ -3140,10 +3140,12 @@ def test_series_categorical_index(self): arr = DataArray(s) assert "'a'" in repr(arr) # ...
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex c9ee52f3da0..b922e7f3949 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -48,6 +48,9 @@ New Features\n is faster ...
2206
3b242a184072db9928ede7b72c07f047cd67d23b
[ "xarray/tests/test_dataarray.py::TestDataArray::test_pad_stat_length[stat_length2-minimum]", "xarray/tests/test_dataarray.py::test_rolling_exp_mean_pandas[1-numpy-span-5-x]", "xarray/tests/test_dataarray.py::test_rolling_reduce[numpy-sum-3-3-True-1]", "xarray/tests/test_dataarray.py::TestReduce2D::test_max[x3...
[ "xarray/tests/test_dataarray.py::TestDataArray::test_to_and_from_dict[False]", "xarray/tests/test_dataarray.py::TestDataArray::test_to_and_from_dict[True]" ]
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex c9ee52f3..4e9ecc42 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -48,6 +48,8 @@ New Features\n is faster and 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": [] }
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index c9ee52f3..4e9ecc42 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -48,6 +48,8 @@ New Features is faster and requires less memory. (:pull:`6548`) By `Michael Niklas <https://github.com/headtr1ck>`_. - Improved overall typing. +- :py:meth:`Dataset...
pydata/xarray
pydata__xarray-7052
https://github.com/pydata/xarray/pull/7052
diff --git a/ci/requirements/min-all-deps.yml b/ci/requirements/min-all-deps.yml index 8ff322ee6a4..1a2307aee5e 100644 --- a/ci/requirements/min-all-deps.yml +++ b/ci/requirements/min-all-deps.yml @@ -3,10 +3,10 @@ channels: - conda-forge - nodefaults dependencies: - # MINIMUM VERSIONS POLICY: see doc/installin...
diff --git a/xarray/tests/__init__.py b/xarray/tests/__init__.py index 08afdffc3b1..8d6b8f11475 100644 --- a/xarray/tests/__init__.py +++ b/xarray/tests/__init__.py @@ -4,7 +4,6 @@ import platform import warnings from contextlib import contextmanager, nullcontext -from typing import Any from unittest import mock #...
[ { "path": "doc/api-hidden.rst", "old_path": "a/doc/api-hidden.rst", "new_path": "b/doc/api-hidden.rst", "metadata": "diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst\nindex 30bc9f858f2..18c2539c04e 100644\n--- a/doc/api-hidden.rst\n+++ b/doc/api-hidden.rst\n@@ -330,11 +330,6 @@\n plot.scatter...
2211
ddccd5c538220ab7b8fdab390c64e29be97ee00b
[]
[ "xarray/tests/test_plot.py::TestContour::test_xyincrease_defaults", "xarray/tests/test_plot.py::TestSurface::test_complex_raises_typeerror", "xarray/tests/test_plot.py::TestSurface::test_seaborn_palette_as_cmap", "xarray/tests/test_plot.py::test_get_axis[default]", "xarray/tests/test_plot.py::TestPlot::test...
[ { "path": "doc/api-hidden.rst", "old_path": "a/doc/api-hidden.rst", "new_path": "b/doc/api-hidden.rst", "metadata": "diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst\nindex 30bc9f85..18c2539c 100644\n--- a/doc/api-hidden.rst\n+++ b/doc/api-hidden.rst\n@@ -330,11 +330,6 @@\n plot.scatter\n ...
{ "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": "DataArrayPlotAccessor" }, { "type": "file", "name": "xarray/plot/accessor.py"...
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index 30bc9f85..18c2539c 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -330,11 +330,6 @@ plot.scatter plot.surface - plot.FacetGrid.map_dataarray - plot.FacetGrid.set_titles - plot.FacetGrid.set_ticks - plot.FacetGrid.map - CFTimeI...
pydata/xarray
pydata__xarray-7147
https://github.com/pydata/xarray/pull/7147
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 8d7d0ec672c..3b923862473 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -25,6 +25,9 @@ New Features - Add scatter plot for datarrays. Scatter plots now also supports 3d plots with the z argument. (:pull:`6778`) By `Jimmy Westling <https://github...
diff --git a/xarray/tests/test_conventions.py b/xarray/tests/test_conventions.py index 3ee6699fced..cc18272be72 100644 --- a/xarray/tests/test_conventions.py +++ b/xarray/tests/test_conventions.py @@ -475,3 +475,9 @@ def test_scalar_units() -> None: actual = conventions.decode_cf_variable("t", var) assert_i...
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex 8d7d0ec672c..3b923862473 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -25,6 +25,9 @@ New Features\n - Add scatte...
2210
9f390f50718ee94237084cbc1badb66f9a8083d6
[ "xarray/tests/test_conventions.py::TestCFEncodedDataStore::test_ondisk_after_print", "xarray/tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_string_data", "xarray/tests/test_conventions.py::TestDecodeCF::test_decode_cf_datetime_transition_to_invalid", "xarray/tests/test_conventions.py::TestC...
[ "xarray/tests/test_conventions.py::test_decode_cf_error_includes_variable_name" ]
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex 8d7d0ec6..a71f7fce 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -25,6 +25,8 @@ New Features\n - Add scatter plot...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 8d7d0ec6..a71f7fce 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -25,6 +25,8 @@ New Features - Add scatter plot for datarrays. Scatter plots now also supports 3d plots with the z argument. (:pull:`6778`) By `Jimmy Westling <https://github.com/i...
pydata/xarray
pydata__xarray-7739
https://github.com/pydata/xarray/pull/7739
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index bfc040eb271..0a262585a41 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -102,6 +102,10 @@ New Features - Added ability to save ``DataArray`` objects directly to Zarr using :py:meth:`~xarray.DataArray.to_zarr`. (:issue:`7692`, :pull:`7693`) . By ...
diff --git a/xarray/tests/test_dataarray.py b/xarray/tests/test_dataarray.py index dcbfd42c9f1..a27fb4defb9 100644 --- a/xarray/tests/test_dataarray.py +++ b/xarray/tests/test_dataarray.py @@ -6,7 +6,7 @@ from collections.abc import Hashable from copy import deepcopy from textwrap import dedent -from typing import A...
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex bfc040eb271..0a262585a41 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -102,6 +102,10 @@ New Features\n - Added a...
2305
a54d5b3fe2dac8a77a4952a33d443e09e77587bf
[ "xarray/tests/test_dataarray.py::TestReduce2D::test_argmin_dim[datetime]", "xarray/tests/test_dataarray.py::TestDataArray::test_align_copy", "xarray/tests/test_dataarray.py::TestDataArray::test_to_dataframe_multiindex", "xarray/tests/test_dataset.py::TestDataset::test_update", "xarray/tests/test_dataset.py:...
[ "xarray/tests/test_dataset.py::TestDataset::test_to_and_from_dict[array-True]", "xarray/tests/test_dataarray.py::TestDataArray::test_to_and_from_dict[True-array-False]", "xarray/tests/test_dataarray.py::TestDataArray::test_to_and_from_dict[False-array-True]", "xarray/tests/test_dataarray.py::TestDataArray::te...
[ { "path": "doc/whats-new.rst", "old_path": "a/doc/whats-new.rst", "new_path": "b/doc/whats-new.rst", "metadata": "diff --git a/doc/whats-new.rst b/doc/whats-new.rst\nindex bfc040eb..d16b3b5f 100644\n--- a/doc/whats-new.rst\n+++ b/doc/whats-new.rst\n@@ -102,6 +102,8 @@ New Features\n - Added ability ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index bfc040eb..d16b3b5f 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -102,6 +102,8 @@ New Features - Added ability to save ``DataArray`` objects directly to Zarr using :py:meth:`~xarray.DataArray.to_zarr`. (:issue:`7692`, :pull:`7693`) . By `Joe Ha...
pydata/xarray
pydata__xarray-7368
https://github.com/pydata/xarray/pull/7368
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index 1a2b1d11747..527bdcdede2 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -9,17 +9,40 @@ .. autosummary:: :toctree: generated/ + Coordinates.from_pandas_multiindex + Coordinates.get + Coordinates.items + Coordinates.keys + Coordinate...
diff --git a/xarray/testing.py b/xarray/testing.py index 47e7dca81ae..6a8bb04f170 100644 --- a/xarray/testing.py +++ b/xarray/testing.py @@ -8,6 +8,7 @@ import pandas as pd from xarray.core import duck_array_ops, formatting, utils +from xarray.core.coordinates import Coordinates from xarray.core.dataarray import D...
[ { "path": "doc/api-hidden.rst", "old_path": "a/doc/api-hidden.rst", "new_path": "b/doc/api-hidden.rst", "metadata": "diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst\nindex 1a2b1d11747..527bdcdede2 100644\n--- a/doc/api-hidden.rst\n+++ b/doc/api-hidden.rst\n@@ -9,17 +9,40 @@\n .. autosummary::\n...
2308
6b1ff6d13bf360df786500dfa7d62556d23e6df9
[]
[ "xarray/tests/test_dataarray.py::TestReduce1D::test_argmin[datetime]", "xarray/tests/test_variable.py::TestIndexVariable::test_getitem_with_mask", "xarray/tests/test_variable.py::TestVariable::test_object_conversion", "xarray/tests/test_dataarray.py::TestDataArray::test__title_for_slice_truncate", "xarray/t...
[ { "path": "doc/api-hidden.rst", "old_path": "a/doc/api-hidden.rst", "new_path": "b/doc/api-hidden.rst", "metadata": "diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst\nindex 1a2b1d11..527bdcde 100644\n--- a/doc/api-hidden.rst\n+++ b/doc/api-hidden.rst\n@@ -9,17 +9,40 @@\n .. autosummary::\n :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": "function", "name": "sizes" }, { "type": "field", "name": "deep" }, { "type": "fi...
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index 1a2b1d11..527bdcde 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -9,17 +9,40 @@ .. autosummary:: :toctree: generated/ + Coordinates.from_pandas_multiindex + Coordinates.get + Coordinates.items + Coordinates.keys + Coordinates.valu...
sphinx-doc/sphinx
sphinx-doc__sphinx-7979
https://github.com/sphinx-doc/sphinx/pull/7979
diff --git a/CHANGES b/CHANGES index 38c18256d95..1f2d2f56901 100644 --- a/CHANGES +++ b/CHANGES @@ -12,6 +12,7 @@ Incompatible changes * #4826: py domain: The structure of python objects is changed. A boolean value is added to indicate that the python object is canonical one +* #7784: i18n: The msgid for alt te...
diff --git a/tests/roots/test-intl/xx/LC_MESSAGES/figure.po b/tests/roots/test-intl/xx/LC_MESSAGES/figure.po index 449b15e3f3e..64bbdf763db 100644 --- a/tests/roots/test-intl/xx/LC_MESSAGES/figure.po +++ b/tests/roots/test-intl/xx/LC_MESSAGES/figure.po @@ -37,19 +37,17 @@ msgstr "BLOCK" msgid "image url and alt" msgs...
[ { "path": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex c17bc58adac..382e4091e8e 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/...
4.0
82a149f4f33ad3f36d96590b58006e64c6bada59
[ "tests/test_intl.py::test_text_inconsistency_warnings", "tests/test_intl.py::test_text_glossary_term", "tests/test_intl.py::test_xml_warnings", "tests/test_intl.py::test_image_glob_intl_using_figure_language_filename", "tests/test_intl.py::test_text_definition_terms", "tests/test_intl.py::test_xml_role_xr...
[ "tests/test_intl.py::test_text_figure_captions" ]
[ { "path": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex c17bc58ad..382e4091e 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/usag...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index c17bc58ad..382e4091e 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -801,13 +801,16 @@ documentation on :ref:`intl` for details. :literal-block: literal blocks (``::`` annotation and ``code-block`` directive)...
sphinx-doc/sphinx
sphinx-doc__sphinx-7463
https://github.com/sphinx-doc/sphinx/pull/7463
diff --git a/CHANGES b/CHANGES index 4c983abafa4..9bb47a4e7a8 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,9 @@ Dependencies Incompatible changes -------------------- +* #4826: py domain: The structure of python objects is changed. A boolean value + is added to indicate that the python object is canonical one ...
diff --git a/tests/test_domain_py.py b/tests/test_domain_py.py index 5a1d73cfe66..6f91323a6e3 100644 --- a/tests/test_domain_py.py +++ b/tests/test_domain_py.py @@ -192,20 +192,22 @@ def find_obj(modname, prefix, obj_name, obj_type, searchmode=0): assert (find_obj(None, None, 'NONEXISTANT', 'class') == []) ...
[ { "path": "doc/usage/restructuredtext/domains.rst", "old_path": "a/doc/usage/restructuredtext/domains.rst", "new_path": "b/doc/usage/restructuredtext/domains.rst", "metadata": "diff --git a/doc/usage/restructuredtext/domains.rst b/doc/usage/restructuredtext/domains.rst\nindex 9559acf2200..59e273c939...
4.0
f393d216255140d7dbd684de2f08dbeee4faaf02
[ "tests/test_domain_py.py::test_resolve_xref_for_properties", "tests/test_domain_py.py::test_pyfunction_signature_full", "tests/test_domain_py.py::test_parse_annotation", "tests/test_domain_py.py::test_pydata_signature_old", "tests/test_environment.py::test_env_relfn2path", "tests/test_domain_py.py::test_d...
[ "tests/test_domain_py.py::test_pyfunction", "tests/test_domain_py.py::test_pydecorator_signature", "tests/test_domain_py.py::test_pydata", "tests/test_domain_py.py::test_pydecoratormethod_signature", "tests/test_domain_py.py::test_pyclass_options", "tests/test_domain_py.py::test_pystaticmethod", "tests/...
[ { "path": "doc/usage/restructuredtext/domains.rst", "old_path": "a/doc/usage/restructuredtext/domains.rst", "new_path": "b/doc/usage/restructuredtext/domains.rst", "metadata": "diff --git a/doc/usage/restructuredtext/domains.rst b/doc/usage/restructuredtext/domains.rst\nindex 9559acf22..59e273c93 10...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/restructuredtext/domains.rst b/doc/usage/restructuredtext/domains.rst index 9559acf22..59e273c93 100644 --- a/doc/usage/restructuredtext/domains.rst +++ b/doc/usage/restructuredtext/domains.rst @@ -189,6 +189,14 @@ The following directives are provided for module and class contents: .. v...
sphinx-doc/sphinx
sphinx-doc__sphinx-7762
https://github.com/sphinx-doc/sphinx/pull/7762
diff --git a/CHANGES b/CHANGES index 76341235314..51839ff6972 100644 --- a/CHANGES +++ b/CHANGES @@ -82,6 +82,8 @@ Features added * #7596: py domain: Change a type annotation for variables to a hyperlink * #7582: napoleon: a type for attribute are represented like type annotation * #7734: napoleon: overescaped trail...
diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py index 54bde6b6858..d1fec550f7b 100644 --- a/tests/test_build_linkcheck.py +++ b/tests/test_build_linkcheck.py @@ -124,3 +124,36 @@ def test_auth(app, status, warning): assert c_kwargs['auth'] == 'authinfo2' else: ...
[ { "path": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex bc483fa1ceb..cdcc2a561ec 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/...
3.1
c063c9c0fe383a20da613448d1f606b9635773b9
[ "tests/test_build_linkcheck.py::test_auth", "tests/test_build_linkcheck.py::test_anchors_ignored", "tests/test_build_linkcheck.py::test_defaults_json" ]
[ "tests/test_build_linkcheck.py::test_linkcheck_request_headers" ]
[ { "path": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex bc483fa1c..cdcc2a561 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/usag...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index bc483fa1c..cdcc2a561 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -2390,6 +2390,32 @@ Options for the linkcheck builder .. versionadded:: 1.1 +.. confval:: linkcheck_request_headers + + A dictionary t...
sphinx-doc/sphinx
sphinx-doc__sphinx-8026
https://github.com/sphinx-doc/sphinx/pull/8026
diff --git a/CHANGES b/CHANGES index 2b54e9170be..d686d297d81 100644 --- a/CHANGES +++ b/CHANGES @@ -33,6 +33,7 @@ Features added * #7902: html theme: Add a new option :confval:`globaltoc_maxdepth` to control the behavior of globaltoc in sidebar * #7840: i18n: Optimize the dependencies check on bootstrap +* #7768:...
diff --git a/tests/test_util_i18n.py b/tests/test_util_i18n.py index e6e828efafd..7e3a7e2c99b 100644 --- a/tests/test_util_i18n.py +++ b/tests/test_util_i18n.py @@ -90,6 +90,8 @@ def test_format_date(): @pytest.mark.xfail(os.name != 'posix', reason="Path separators don't match on windows") def test_get_filename_for...
[ { "path": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex eba6904c40c..550b26e2dab 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/...
3.2
4f56fad7b7f5c71ffa734fd6a7a53b399a728f41
[ "tests/test_util_i18n.py::test_catalog_info_for_sub_domain_file_and_path", "tests/test_util_i18n.py::test_catalog_outdated", "tests/test_util_i18n.py::test_CatalogRepository", "tests/test_util_i18n.py::test_catalog_info_for_file_and_path", "tests/test_util_i18n.py::test_catalog_write_mo" ]
[ "tests/test_util_i18n.py::test_get_filename_for_language" ]
[ { "path": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex eba6904c4..550b26e2d 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/usag...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index eba6904c4..550b26e2d 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -821,6 +821,8 @@ documentation on :ref:`intl` for details. extension, e.g. ``dirname/filename`` * ``{path}`` - the directory path comp...
sphinx-doc/sphinx
sphinx-doc__sphinx-7546
https://github.com/sphinx-doc/sphinx/pull/7546
diff --git a/CHANGES b/CHANGES index bebfc55007f..cd6c247aa47 100644 --- a/CHANGES +++ b/CHANGES @@ -41,6 +41,8 @@ Features added caption to the toctree * #248, #6040: autosummary: Add ``:recursive:`` option to autosummary directive to generate stub files recursively +* #4030: autosummary: Add :confval:`autosumm...
diff --git a/tests/roots/test-templating/_templates/autosummary/class.rst b/tests/roots/test-templating/_templates/autosummary/class.rst index 7f153617361..6f505649c5d 100644 --- a/tests/roots/test-templating/_templates/autosummary/class.rst +++ b/tests/roots/test-templating/_templates/autosummary/class.rst @@ -3,6 +3,...
[ { "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 5915b30cd01..f3a5aea0e4a 100644\n...
3.1
cec31c75d8f38d9bfbde39ead60da106bd39c641
[ "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_autosummary_recursive", "tests/test_ext_autosummary.py::test_autosummary_skip_me...
[ "tests/test_templating.py::test_autosummary_context" ]
[ { "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 5915b30cd..f3a5aea0e 100644\n--- ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autosummary.rst b/doc/usage/extensions/autosummary.rst index 5915b30cd..f3a5aea0e 100644 --- a/doc/usage/extensions/autosummary.rst +++ b/doc/usage/extensions/autosummary.rst @@ -151,6 +151,13 @@ Generating stub pages automatically If you do not want to create stub pages with :program...
sphinx-doc/sphinx
sphinx-doc__sphinx-7473
https://github.com/sphinx-doc/sphinx/pull/7473
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index 60cde1ac739..36be7568b13 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -154,6 +154,21 @@ inserting them into the page source under a suitable :rst:dir:`py:module`, .. versionadded:: 3...
diff --git a/tests/roots/test-ext-autodoc/target/private.py b/tests/roots/test-ext-autodoc/target/private.py index 38f27666354..a39ce085eca 100644 --- a/tests/roots/test-ext-autodoc/target/private.py +++ b/tests/roots/test-ext-autodoc/target/private.py @@ -3,3 +3,9 @@ def private_function(name): :meta private: ...
[ { "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 60cde1ac739..36be7568b13 100644\n--- a/doc/usage/exte...
3.1
2fac698e764ac28dec86844624f4ac415ea11a37
[ "tests/test_ext_autodoc_private_members.py::test_private_field_and_private_members" ]
[ "tests/test_ext_autodoc_private_members.py::test_private_field" ]
[ { "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 60cde1ac7..36be7568b 100644\n--- a/doc/usage/extensio...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index 60cde1ac7..36be7568b 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -154,6 +154,21 @@ inserting them into the page source under a suitable :rst:dir:`py:module`, .. versionadded:: 3.0 ...
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": "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 ceef5f36a1d..9c3120eb5b7 100644\n--- a/doc/usage/exte...
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" ]
[ { "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 ceef5f36a..9c3120eb5 100644\n--- a/doc/usage/extensio...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index ceef5f36a..9c3120eb5 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -466,9 +466,13 @@ There are also config values that you can set: following values: * ``'signature'`` -- Show typeh...
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": "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 2501d1594ea..7321f964bf4 100644\n--- a/doc/latex.rst\n+++ b/doc/latex.rst\n@@ -226,6 +226,25 @@ into the generated ``.tex`` files. Its ``'sphinxset...
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" ]
[ { "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 2501d1594..7321f964b 100644\n--- a/doc/latex.rst\n+++ b/doc/latex.rst\n@@ -226,6 +226,25 @@ into the generated ``.tex`` files. Its ``'sphinxsetup'`...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/latex.rst b/doc/latex.rst index 2501d1594..7321f964b 100644 --- a/doc/latex.rst +++ b/doc/latex.rst @@ -226,6 +226,25 @@ into the generated ``.tex`` files. Its ``'sphinxsetup'`` key is described .. versionadded:: 1.5 + ``'extrapackages'`` + Additional LaTeX packages. For example: + + ...
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": "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 16a8cea7e7c..6d5f33a85a2 100644\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" ]
[ { "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 16a8cea7e..6d5f33a85 100644\n--- ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autosummary.rst b/doc/usage/extensions/autosummary.rst index 16a8cea7e..6d5f33a85 100644 --- a/doc/usage/extensions/autosummary.rst +++ b/doc/usage/extensions/autosummary.rst @@ -143,6 +143,13 @@ also use these config values: The new files will be placed in the directories specifie...
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": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex bb1c639f95f..8a253d8cee9 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/...
2.3
125179e76e76f5629138a945b026262916cfaaef
[ "tests/test_build_linkcheck.py::test_anchors_ignored" ]
[ "tests/test_build_linkcheck.py::test_auth" ]
[ { "path": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex bb1c639f9..8a253d8ce 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/usag...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index bb1c639f9..8a253d8ce 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -538,7 +538,7 @@ General configuration directory pointed ``REQUESTS_CA_BUNDLE`` environment variable if ``tls_cacerts`...
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" ]
[ { "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 d1ac0ad32..6b2310411 100644\n--- ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autosummary.rst b/doc/usage/extensions/autosummary.rst index d1ac0ad32..6b2310411 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. It de...
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": "doc/usage/restructuredtext/domains.rst", "old_path": "a/doc/usage/restructuredtext/domains.rst", "new_path": "b/doc/usage/restructuredtext/domains.rst", "metadata": "diff --git a/doc/usage/restructuredtext/domains.rst b/doc/usage/restructuredtext/domains.rst\nindex 10dc93a07e6..10fbf6f6ff...
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" ]
[ { "path": "doc/usage/restructuredtext/domains.rst", "old_path": "a/doc/usage/restructuredtext/domains.rst", "new_path": "b/doc/usage/restructuredtext/domains.rst", "metadata": "diff --git a/doc/usage/restructuredtext/domains.rst b/doc/usage/restructuredtext/domains.rst\nindex 10dc93a07..10fbf6f6f 10...
{ "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": "iscoroutinefunction" }, { "type": "function", "name": "iscoroutinefunction" ...
diff --git a/doc/usage/restructuredtext/domains.rst b/doc/usage/restructuredtext/domains.rst index 10dc93a07..10fbf6f6f 100644 --- a/doc/usage/restructuredtext/domains.rst +++ b/doc/usage/restructuredtext/domains.rst @@ -169,6 +169,13 @@ The following directives are provided for module and class contents: This info...
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": "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 0b6061e7831..d85fc050fba 100644\n--- a/doc/usage/exte...
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" ]
[ { "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 0b6061e78..d85fc050f 100644\n--- a/doc/usage/extensio...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index 0b6061e78..d85fc050f 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -431,6 +431,16 @@ There are also config values that you can set: This config value only requires to declare the top-l...
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" ]
[ { "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 6d7ba8272..0b6061e78 100644\n--- a/doc/usage/extensio...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index 6d7ba8272..0b6061e78 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'``, ``'member-o...
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": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex ee31d4f3b69..636146013fa 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/...
2.0
95534534245db774fa4687e34503b906d21627f5
[ "tests/test_build_htmlhelp.py::test_default_htmlhelp_file_suffix" ]
[ "tests/test_build_htmlhelp.py::test_htmlhelp_file_suffix" ]
[ { "path": "doc/usage/configuration.rst", "old_path": "a/doc/usage/configuration.rst", "new_path": "b/doc/usage/configuration.rst", "metadata": "diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst\nindex ee31d4f3b..636146013 100644\n--- a/doc/usage/configuration.rst\n+++ b/doc/usag...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index ee31d4f3b..636146013 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -1347,6 +1347,19 @@ Options for HTML help output Output file base name for HTML help builder. Default is ``'pydoc'``. +.. confval:: htm...
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": "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 36d497543db..45789e0a24f 100644\n--- a/doc/usage/exte...
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" ]
[ { "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 36d497543..45789e0a2 100644\n--- a/doc/usage/extensio...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index 36d497543..45789e0a2 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -376,12 +376,12 @@ There are also new config values that you can set: 'members': 'var1, var2', 'memb...
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" ]
[ { "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 e604cad28..80783301e 100644\n--- a/doc/usage/extensio...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index e604cad28..80783301e 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 option...
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...
[ { "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 563559c5..86b34784 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- ...
{ "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": "axisgrid" }, { "type": "function", "name": "iter_data" }, { "ty...
diff --git a/doc/api.rst b/doc/api.rst index 563559c5..86b34784 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 .. _regression_a...
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...
[ { "path": "doc/Makefile", "old_path": "a/doc/Makefile", "new_path": "b/doc/Makefile", "metadata": "diff --git a/doc/Makefile b/doc/Makefile\nindex 1dfec5de..8ed9484c 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-rm -r...
{ "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": "yaxis" }, { "type": "function", "name": "_cmap_from_color" }, { ...
diff --git a/doc/Makefile b/doc/Makefile index 1dfec5de..8ed9484c 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/*.rst ...
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...
[ { "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 4a12cddb..07666794 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt\n@@...
{ "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": "Beeswarm" }, { "type": "field", "name": "orig_xyr" }, { "type":...
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 4a12cddb..07666794 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`) + - In :f...
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...
[ { "path": "doc/docstrings/FacetGrid.ipynb", "old_path": "a/doc/docstrings/FacetGrid.ipynb", "new_path": "b/doc/docstrings/FacetGrid.ipynb", "metadata": "diff --git a/doc/docstrings/FacetGrid.ipynb b/doc/docstrings/FacetGrid.ipynb\nindex bcd8b5c0..de6fc22a 100644\n--- a/doc/docstrings/FacetGrid.ipynb...
{ "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" } ] }
diff --git a/doc/docstrings/FacetGrid.ipynb b/doc/docstrings/FacetGrid.ipynb index bcd8b5c0..de6fc22a 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", ...
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" ]
[ { "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 a026fb99..2f69bd1f 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt\n@@...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index a026fb99..2f69bd1f 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 in t...
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" ]
[ { "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 4d30f9df..86db07d7 100644\n--- a/doc/api.rst\n+++ b/doc/api.rst\n@@ -184,10 +184,11 @@ Utility functions\n :toctree: generated/\n :nosignatures:\n \n-...
{ "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": "legendHandles" }, { "type": "field", "name": "legendPatch" }, { ...
diff --git a/doc/api.rst b/doc/api.rst index 4d30f9df..86db07d7 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-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" ]
[ { "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 3423a791..94c7609d 100644\n--- a/doc/releases/v0.12.0.txt\n+++ b/doc/releases/v0.12.0.txt\n@@...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/releases/v0.12.0.txt b/doc/releases/v0.12.0.txt index 3423a791..94c7609d 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 longer hi...
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...
[ { "path": "doc/docstrings/barplot.ipynb", "old_path": "a/doc/docstrings/barplot.ipynb", "new_path": "b/doc/docstrings/barplot.ipynb", "metadata": "diff --git a/doc/docstrings/barplot.ipynb b/doc/docstrings/barplot.ipynb\nindex 685d7291..b693cefa 100644\n--- a/doc/docstrings/barplot.ipynb\n+++ b/doc/...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/docstrings/barplot.ipynb b/doc/docstrings/barplot.ipynb index 685d7291..b693cefa 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\")" ...
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" ]
[ { "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 6ba57d5b..038de671 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst\n@@...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 6ba57d5b..038de671 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` mark...
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" ]
[ { "path": "doc/_docstrings/objects.Jitter.ipynb", "old_path": "/dev/null", "new_path": "b/doc/_docstrings/objects.Jitter.ipynb", "metadata": "diff --git a/doc/_docstrings/objects.Jitter.ipynb b/doc/_docstrings/objects.Jitter.ipynb\nnew file mode 100644\nindex 00000000..6aa600cd\n--- /dev/null\n+++ b...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/_docstrings/objects.Jitter.ipynb b/doc/_docstrings/objects.Jitter.ipynb new file mode 100644 index 00000000..6aa600cd --- /dev/null +++ b/doc/_docstrings/objects.Jitter.ipynb @@ -0,0 +1,178 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "f2e5a85d-c710-492b-a4fc-...
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" ]
[ { "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 013200b9..af8f35c0 100644\n--- a/doc/whatsnew/v0.12.0.rst\n+++ b/doc/whatsnew/v0.12.0.rst\n@@...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst index 013200b9..af8f35c0 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`). --...
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" ]
[ { "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 07c98fa9..07bc073f 100644\n--- a/doc/whatsnew/v0.12.0.rst\n+++ b/doc/whatsnew/v0.12.0.rst\n@@...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whatsnew/v0.12.0.rst b/doc/whatsnew/v0.12.0.rst index 07c98fa9..07bc073f 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-chai...
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" ]
[ { "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 5db8f864..d4ec5fc2 100644\n--- a/doc/whatsnew/v0.12.1.rst\n+++ b/doc/whatsnew/v0.12.1.rst\n@@...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whatsnew/v0.12.1.rst b/doc/whatsnew/v0.12.1.rst index 5db8f864..d4ec5fc2 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 seaborn...
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]" ]
[ { "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 d5d7fddf7..b1aa4d7e8 100644\n--- a/doc/whats_new/v0.22.rst\n+++ b/doc/whats_new/v0.22.rst\n@@ -104...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v0.22.rst b/doc/whats_new/v0.22.rst index d5d7fddf7..b1aa4d7e8 100644 --- a/doc/whats_new/v0.22.rst +++ b/doc/whats_new/v0.22.rst @@ -104,6 +104,13 @@ Changelog deprecated. This change is made to restore some backward compatibility with the behavior of this utility in version 0.21. :pr:...
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" ]
[ { "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 6d398ceef..2964bb676 100644\n--- a/doc/whats_new/v0.23.rst\n+++ b/doc/whats_new/v0.23.rst\n@@ -54,...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v0.23.rst b/doc/whats_new/v0.23.rst index 6d398ceef..2964bb676 100644 --- a/doc/whats_new/v0.23.rst +++ b/doc/whats_new/v0.23.rst @@ -54,6 +54,10 @@ Changelog :mod:`sklearn.datasets` ....................... +- |Enhancement| Added ``return_centers`` parameter in + :func:`datasets.make_...
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]" ]
[ { "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 b7f53eb31..4b4e9e8d7 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\n@@ -296...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index b7f53eb31..4b4e9e8d7 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -296,6 +296,9 @@ Changelog :class:`preprocessing.KBinsDiscretizer`. :pr:`16335` by :user:`Arthur Imbert <Henley13>`. +- |Enhancement| Add ``clip`` param...
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...
[ { "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 024dd074e..79d57913a 100644\n--- a/doc/modules/preprocessing.rst\n++...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 024dd074e..79d57913a 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", while the re...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17379
https://github.com/scikit-learn/scikit-learn/pull/17379
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 9e31762d62c29..b5d0145af4822 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -158,6 +158,9 @@ Changelog :pr:`16289` by :user:`Masashi Kishimoto <kishimoto-banana>` and :user:`Olivier Grisel <ogrisel>`. +- |Enhancement| :c...
diff --git a/sklearn/tests/test_isotonic.py b/sklearn/tests/test_isotonic.py index 3da76c1f0bb88..66892370f06f0 100644 --- a/sklearn/tests/test_isotonic.py +++ b/sklearn/tests/test_isotonic.py @@ -9,7 +9,8 @@ IsotonicRegression, _make_unique) from sklearn.utils.validation import check_...
[ { "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 9e31762d62c29..b5d0145af4822 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
3a49e5f209f08c00f73d8895cf27d228fbae25f1
[ "sklearn/tests/test_isotonic.py::test_isotonic_regression_oob_bad", "sklearn/tests/test_isotonic.py::test_check_increasing_down_extreme", "sklearn/tests/test_isotonic.py::test_isotonic_thresholds[True]", "sklearn/tests/test_isotonic.py::test_isotonic_sample_weight_parameter_default_value", "sklearn/tests/te...
[ "sklearn/tests/test_isotonic.py::test_input_shape_validation", "sklearn/tests/test_isotonic.py::test_isotonic_2darray_more_than_1_feature" ]
[ { "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 9e31762d6..a30006b15 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\n@@ -158...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 9e31762d6..a30006b15 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -158,6 +158,9 @@ Changelog :pr:`16289` by :user:`Masashi Kishimoto <kishimoto-banana>` and :user:`Olivier Grisel <ogrisel>`. +- |Enhancement| :class:`is...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18280
https://github.com/scikit-learn/scikit-learn/pull/18280
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index c6ef6e5994cdf..9294bab242432 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -112,7 +112,15 @@ Changelog - |Enhancement| :func:`datasets.fetch_covtype` now now supports the optional argument `as_frame`; when it is set to True...
diff --git a/sklearn/datasets/tests/test_kddcup99.py b/sklearn/datasets/tests/test_kddcup99.py index 414c1bab1acd5..11adaacfaae20 100644 --- a/sklearn/datasets/tests/test_kddcup99.py +++ b/sklearn/datasets/tests/test_kddcup99.py @@ -6,41 +6,56 @@ is too big to use in unit-testing. """ -from sklearn.datasets.tests.t...
[ { "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 c6ef6e5994cdf..9294bab242432 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
138dd7b88f1634447f838bc58088e594ffaf5549
[]
[ "sklearn/datasets/tests/test_kddcup99.py::test_pandas_dependency_message" ]
[ { "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 c6ef6e599..03ec5788e 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\n@@ -112...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index c6ef6e599..03ec5788e 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -112,7 +112,13 @@ Changelog - |Enhancement| :func:`datasets.fetch_covtype` now now supports the optional argument `as_frame`; when it is set to True, the re...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-12069
https://github.com/scikit-learn/scikit-learn/pull/12069
diff --git a/benchmarks/bench_kernel_pca_solvers_time_vs_n_components.py b/benchmarks/bench_kernel_pca_solvers_time_vs_n_components.py new file mode 100644 index 0000000000000..d871967ad1327 --- /dev/null +++ b/benchmarks/bench_kernel_pca_solvers_time_vs_n_components.py @@ -0,0 +1,148 @@ +""" +=========================...
diff --git a/sklearn/decomposition/tests/test_kernel_pca.py b/sklearn/decomposition/tests/test_kernel_pca.py index adf68f1db1a6c..5c8d052a7aa14 100644 --- a/sklearn/decomposition/tests/test_kernel_pca.py +++ b/sklearn/decomposition/tests/test_kernel_pca.py @@ -3,11 +3,13 @@ import pytest from sklearn.utils._testing...
[ { "path": "doc/modules/decomposition.rst", "old_path": "a/doc/modules/decomposition.rst", "new_path": "b/doc/modules/decomposition.rst", "metadata": "diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst\nindex e971d784c63d6..fd51f60d8bfc6 100644\n--- a/doc/modules/decomposition...
1.00
2641baf16d9de5191316745ec46120cc8b57a666
[ "sklearn/decomposition/tests/test_kernel_pca.py::test_kernel_pca_deterministic_output", "sklearn/decomposition/tests/test_kernel_pca.py::test_kernel_pca_inverse_transform_reconstruction", "sklearn/decomposition/tests/test_kernel_pca.py::test_kernel_pca_linear_kernel[4-auto]", "sklearn/decomposition/tests/test...
[ "sklearn/utils/tests/test_extmath.py::test_randomized_svd_sign_flip_with_transpose", "sklearn/utils/tests/test_extmath.py::test_incremental_weighted_mean_and_variance[10000000.0-1-1e-08-0]", "sklearn/utils/tests/test_extmath.py::test_uniform_weights", "sklearn/utils/tests/test_extmath.py::test_randomized_eigs...
[ { "path": "doc/modules/decomposition.rst", "old_path": "a/doc/modules/decomposition.rst", "new_path": "b/doc/modules/decomposition.rst", "metadata": "diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst\nindex e971d784c..fd51f60d8 100644\n--- a/doc/modules/decomposition.rst\n++...
{ "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_kernel_pca_solvers_time_vs_n_samples.py" }, { "type": "file", ...
diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst index e971d784c..fd51f60d8 100644 --- a/doc/modules/decomposition.rst +++ b/doc/modules/decomposition.rst @@ -166,32 +166,16 @@ Note: the implementation of ``inverse_transform`` in :class:`PCA` with .. topic:: References: - * `"Finding s...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21701
https://github.com/scikit-learn/scikit-learn/pull/21701
diff --git a/doc/modules/random_projection.rst b/doc/modules/random_projection.rst index adb2d53bd14d6..7d3341f0244bb 100644 --- a/doc/modules/random_projection.rst +++ b/doc/modules/random_projection.rst @@ -160,3 +160,42 @@ projection transformer:: In Proceedings of the 12th ACM SIGKDD international conference on...
diff --git a/sklearn/tests/test_random_projection.py b/sklearn/tests/test_random_projection.py index a3a6b1ae2a49f..4d21090a3e6fb 100644 --- a/sklearn/tests/test_random_projection.py +++ b/sklearn/tests/test_random_projection.py @@ -1,5 +1,6 @@ import functools from typing import List, Any +import warnings import ...
[ { "path": "doc/modules/random_projection.rst", "old_path": "a/doc/modules/random_projection.rst", "new_path": "b/doc/modules/random_projection.rst", "metadata": "diff --git a/doc/modules/random_projection.rst b/doc/modules/random_projection.rst\nindex adb2d53bd14d6..7d3341f0244bb 100644\n--- a/doc/m...
1.01
a794c58692a1f3e7a85a42d8c7f7ddd5fcf18baa
[ "sklearn/tests/test_random_projection.py::test_sparse_random_projection_transformer_invalid_density[0]", "sklearn/tests/test_random_projection.py::test_random_projection_feature_names_out[GaussianRandomProjection]", "sklearn/tests/test_random_projection.py::test_try_to_transform_before_fit", "sklearn/tests/te...
[ "sklearn/tests/test_random_projection.py::test_inverse_transform[42-False-GaussianRandomProjection-1000-9]", "sklearn/tests/test_random_projection.py::test_inverse_transform[42-False-SparseRandomProjection-9-2]", "sklearn/tests/test_random_projection.py::test_inverse_transform[42-False-SparseRandomProjection-9-...
[ { "path": "doc/modules/random_projection.rst", "old_path": "a/doc/modules/random_projection.rst", "new_path": "b/doc/modules/random_projection.rst", "metadata": "diff --git a/doc/modules/random_projection.rst b/doc/modules/random_projection.rst\nindex adb2d53bd..7d3341f02 100644\n--- a/doc/modules/r...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/modules/random_projection.rst b/doc/modules/random_projection.rst index adb2d53bd..7d3341f02 100644 --- a/doc/modules/random_projection.rst +++ b/doc/modules/random_projection.rst @@ -160,3 +160,42 @@ projection transformer:: In Proceedings of the 12th ACM SIGKDD international conference on Kno...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22950
https://github.com/scikit-learn/scikit-learn/pull/22950
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 732d2e8035aa6..4c61e08c15149 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -636,6 +636,10 @@ Changelog of sample weights when the input is sparse. :pr:`22899` by :user:`Jérémie du Boisberranger <jeremiedbb>`. +- |Feature| :...
diff --git a/sklearn/linear_model/tests/test_ridge.py b/sklearn/linear_model/tests/test_ridge.py index 269952ddad659..e3bd6c6146ee9 100644 --- a/sklearn/linear_model/tests/test_ridge.py +++ b/sklearn/linear_model/tests/test_ridge.py @@ -1362,7 +1362,7 @@ def test_n_iter(): assert reg.n_iter_ is None -@pyte...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 732d2e8035aa6..4c61e08c15149 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -63...
1.01
48f363f35abec5b3611f96a2b91e9d4e2e1ce527
[ "sklearn/linear_model/tests/test_ridge.py::test_compute_gram[True-shape4]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_ground_truth_positive_test[0.001-True]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_sample_weight_invariance[svd-False]", "sklearn/linear_model/tests/test_ridge.py::test...
[ "sklearn/linear_model/tests/test_ridge.py::test_ridge_fit_intercept_sparse[42-False-lsqr]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_fit_intercept_sparse[42-True-lsqr]" ]
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex fab4ec850..31b4ea007 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -636,6 +636...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index fab4ec850..31b4ea007 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -636,6 +636,9 @@ Changelog of sample weights when the input is sparse. :pr:`22899` by :user:`Jérémie du Boisberranger <jeremiedbb>`. +- |Feature| :class:`Ri...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23038
https://github.com/scikit-learn/scikit-learn/pull/23038
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 8e5851cca632f..fdc7685395c62 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -44,6 +44,13 @@ Changelog - |Enhancement| :class:`cluster.Birch` now preserves dtype for `numpy.float32` inputs. :pr:`22968` by `Meekail Zain <micky774>...
diff --git a/sklearn/cluster/tests/test_k_means.py b/sklearn/cluster/tests/test_k_means.py index eabdb746e4dd5..9939852987775 100644 --- a/sklearn/cluster/tests/test_k_means.py +++ b/sklearn/cluster/tests/test_k_means.py @@ -1,6 +1,7 @@ """Testing for K-means""" import re import sys +import warnings import numpy ...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 8e5851cca632f..fdc7685395c62 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -44...
1.02
996c7e2895db313dc7a5215473536f2b104121d0
[ "sklearn/manifold/tests/test_spectral_embedding.py::test_sparse_graph_connected_component", "sklearn/tests/test_discriminant_analysis.py::test_lda_predict_proba[lsqr-3]", "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_predict_proba_shape", "sklearn/tests/test_discriminant_analysis.p...
[ "sklearn/manifold/tests/test_spectral_embedding.py::test_pipeline_spectral_clustering", "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict", "sklearn/metrics/tests/test_score_objects.py::test_supervised_cluster_scorers", "sklearn/tests/test_discriminant_analysis.py::test_lda_predict" ]
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 8e5851cca..6eed22c60 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -44,6 +44,1...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 8e5851cca..6eed22c60 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -44,6 +44,12 @@ Changelog - |Enhancement| :class:`cluster.Birch` now preserves dtype for `numpy.float32` inputs. :pr:`22968` by `Meekail Zain <micky774>`. +- ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22181
https://github.com/scikit-learn/scikit-learn/pull/22181
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..eb303997f577b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -177,6 +177,10 @@ Changelog preserve dtype for `numpy.float32`. :pr:`22111` by :user:`Takeshi Oura <takoika>`. +- |Enhancement| :class:`decompositio...
diff --git a/sklearn/decomposition/tests/test_truncated_svd.py b/sklearn/decomposition/tests/test_truncated_svd.py index f227585f4ccf7..eb4a0066ebfb4 100644 --- a/sklearn/decomposition/tests/test_truncated_svd.py +++ b/sklearn/decomposition/tests/test_truncated_svd.py @@ -39,7 +39,7 @@ def test_solvers(X_sparse, solver...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61d5c64255f71..eb303997f577b 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -17...
1.01
5d7dc4ba327c138cf63be5cd9238200037c1eb13
[ "sklearn/decomposition/tests/test_truncated_svd.py::test_explained_variance[arpack-20-dense]", "sklearn/decomposition/tests/test_truncated_svd.py::test_explained_variance[randomized-10-dense]", "sklearn/decomposition/tests/test_truncated_svd.py::test_inverse_transform[randomized]", "sklearn/decomposition/test...
[ "sklearn/decomposition/tests/test_truncated_svd.py::test_attributes[55]" ]
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61d5c6425..eac30a0b9 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -177,6 +177...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c6425..eac30a0b9 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -177,6 +177,9 @@ Changelog preserve dtype for `numpy.float32`. :pr:`22111` by :user:`Takeshi Oura <takoika>`. +- |Enhancement| :class:`decomposition.Truncat...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24058
https://github.com/scikit-learn/scikit-learn/pull/24058
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 2294d431909b0..49e589157851f 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -397,6 +397,13 @@ Changelog :class:`neighbors.RadiusNeighborsTransformer`. :pr:`24075` by :user:`Valentin Laurent <Valentin-Laurent>`. +:mod:`sklear...
diff --git a/sklearn/tests/test_pipeline.py b/sklearn/tests/test_pipeline.py index 0ce71bf9b55f4..a20b68a7ec905 100644 --- a/sklearn/tests/test_pipeline.py +++ b/sklearn/tests/test_pipeline.py @@ -1013,29 +1013,42 @@ def test_set_feature_union_passthrough(): """Check the behaviour of setting a transformer to `"pas...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 2294d431909b0..49e589157851f 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -39...
1.02
ee5d4ce151c633499b02abc85a0cbb863f3254f8
[ "sklearn/tests/test_pipeline.py::test_fit_predict_with_intermediate_fit_params", "sklearn/tests/test_pipeline.py::test_feature_union_check_if_fitted", "sklearn/tests/test_pipeline.py::test_pipeline_feature_names_out_error_without_definition", "sklearn/tests/test_pipeline.py::test_score_samples_on_pipeline_wit...
[ "sklearn/tests/test_pipeline.py::test_set_feature_union_passthrough", "sklearn/tests/test_pipeline.py::test_feature_union_passthrough_get_feature_names_out" ]
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 2294d4319..1806d2062 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -397,6 +397...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 2294d4319..1806d2062 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -397,6 +397,13 @@ Changelog :class:`neighbors.RadiusNeighborsTransformer`. :pr:`24075` by :user:`Valentin Laurent <Valentin-Laurent>`. +:mod:`sklearn.pipeli...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22629
https://github.com/scikit-learn/scikit-learn/pull/22629
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 7b7c33cb71cfd..bbd2b5fedb44b 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -514,6 +514,9 @@ Changelog is now deprecated and will be removed in version 1.4. Use `sparse_output` instead. :pr:`24412` by :user:`Rushil Desai <rusd...
diff --git a/sklearn/preprocessing/tests/test_label.py b/sklearn/preprocessing/tests/test_label.py index a59cd9b152d27..bd5ba6d2da9ee 100644 --- a/sklearn/preprocessing/tests/test_label.py +++ b/sklearn/preprocessing/tests/test_label.py @@ -643,3 +643,15 @@ def test_inverse_binarize_multiclass(): csr_matrix([[...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 7b7c33cb71cfd..bbd2b5fedb44b 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -51...
1.02
8610e14f8a9acd488253444b8e551fb3e0d60ef7
[ "sklearn/preprocessing/tests/test_label.py::test_label_encoder_str_bad_shape[str]", "sklearn/preprocessing/tests/test_label.py::test_sparse_output_multilabel_binarizer", "sklearn/preprocessing/tests/test_label.py::test_inverse_binarize_multiclass", "sklearn/preprocessing/tests/test_label.py::test_label_encode...
[ "sklearn/preprocessing/tests/test_label.py::test_nan_label_encoder" ]
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 7b7c33cb7..09263c83b 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -514,6 +514...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 7b7c33cb7..09263c83b 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -514,6 +514,8 @@ Changelog is now deprecated and will be removed in version 1.4. Use `sparse_output` instead. :pr:`24412` by :user:`Rushil Desai <rusdes>`. ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26433
https://github.com/scikit-learn/scikit-learn/pull/26433
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 38bf60ab4cd64..a4d8de42c514b 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -238,6 +238,11 @@ Changelog - |Fix| :func:`datasets.fetch_openml` returns improved data types when `as_frame=True` and `parser="liac-arff"`. :pr:`26386`...
diff --git a/sklearn/datasets/tests/test_openml.py b/sklearn/datasets/tests/test_openml.py index fef03a5fd4d40..6f2ba36ff808a 100644 --- a/sklearn/datasets/tests/test_openml.py +++ b/sklearn/datasets/tests/test_openml.py @@ -1354,6 +1354,34 @@ def test_dataset_with_openml_warning(monkeypatch, gzip_response): f...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 38bf60ab4cd64..a4d8de42c514b 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -23...
1.03
4ccf41beeb9618129ddf89200e6d9540ada7f96c
[ "sklearn/datasets/tests/test_openml.py::test_fetch_openml_forcing_targets[petalwidth-liac-arff]", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_error[pandas-61-params1-ValueError-Can only handle homogeneous multi-target datasets-True]", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_equiv...
[ "sklearn/datasets/tests/test_openml.py::test_fetch_openml_overwrite_default_params_read_csv" ]
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 38bf60ab4..79b380a28 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -238,6 +238...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 38bf60ab4..79b380a28 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -238,6 +238,10 @@ Changelog - |Fix| :func:`datasets.fetch_openml` returns improved data types when `as_frame=True` and `parser="liac-arff"`. :pr:`26386` by `Tho...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24568
https://github.com/scikit-learn/scikit-learn/pull/24568
diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst index 3476e00d98fd5..38531f66f9447 100644 --- a/doc/developers/develop.rst +++ b/doc/developers/develop.rst @@ -425,6 +425,31 @@ Objects that do not provide this method will be deep-copied (using the Python standard function ``copy.deepcopy``) if ``...
diff --git a/sklearn/tests/test_base.py b/sklearn/tests/test_base.py index 2a66df294b554..5e0768066b52f 100644 --- a/sklearn/tests/test_base.py +++ b/sklearn/tests/test_base.py @@ -6,6 +6,7 @@ import scipy.sparse as sp import pytest import warnings +from numpy.testing import assert_allclose import sklearn from s...
[ { "path": "doc/developers/develop.rst", "old_path": "a/doc/developers/develop.rst", "new_path": "b/doc/developers/develop.rst", "metadata": "diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst\nindex 3476e00d98fd5..38531f66f9447 100644\n--- a/doc/developers/develop.rst\n+++ b/doc/de...
1.03
55eaa4ba5c3843b1ffb7180b4a95f387c2ebf49f
[ "sklearn/tests/test_base.py::test_estimator_empty_instance_dict[estimator0]", "sklearn/tests/test_base.py::test_clone_sparse_matrices", "sklearn/tests/test_base.py::test_str", "sklearn/tests/test_base.py::test_n_features_in_no_validation", "sklearn/tests/test_base.py::test_pickling_when_getstate_is_overwrit...
[ "sklearn/tests/test_base.py::test_clone_protocol" ]
[ { "path": "doc/developers/develop.rst", "old_path": "a/doc/developers/develop.rst", "new_path": "b/doc/developers/develop.rst", "metadata": "diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst\nindex 3476e00d9..38531f66f 100644\n--- a/doc/developers/develop.rst\n+++ b/doc/developers...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst index 3476e00d9..38531f66f 100644 --- a/doc/developers/develop.rst +++ b/doc/developers/develop.rst @@ -425,6 +425,31 @@ Objects that do not provide this method will be deep-copied (using the Python standard function ``copy.deepcopy``) if ``safe=Fal...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26786
https://github.com/scikit-learn/scikit-learn/pull/26786
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7c42e4d3920bc..c0aaa7f839e9e 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -51,6 +51,9 @@ Changelog passed to the ``fit`` method of the the estimator. :pr:`26506` by `Adrin Jalali`_. +- |Enhancement| :func:`base.clone` now ...
diff --git a/sklearn/model_selection/tests/test_search.py b/sklearn/model_selection/tests/test_search.py index 1bafcf3e76a4a..6ea52049f3ced 100644 --- a/sklearn/model_selection/tests/test_search.py +++ b/sklearn/model_selection/tests/test_search.py @@ -22,6 +22,7 @@ make_multilabel_classification, ) from sklearn...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7c42e4d3920bc..c0aaa7f839e9e 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -51...
1.04
ea4a88169f6827f801d83fe2e5680d50bdd861bc
[ "sklearn/model_selection/tests/test_search.py::test__custom_fit_no_run_search", "sklearn/tests/test_base.py::test_pickle_version_warning_is_issued_upon_different_version", "sklearn/model_selection/tests/test_search.py::test_validate_parameter_input[input2-TypeError-Parameter (grid|distribution) for parameter 'f...
[ "sklearn/tests/test_base.py::test_clone_dict", "sklearn/model_selection/tests/test_search.py::test_search_estimator_param[HalvingGridSearchCV-param_grid]", "sklearn/model_selection/tests/test_search.py::test_search_estimator_param[GridSearchCV-param_grid]", "sklearn/model_selection/tests/test_search.py::test_...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7c42e4d39..bd2b66c53 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -51,6 +51,9...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7c42e4d39..bd2b66c53 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -51,6 +51,9 @@ Changelog passed to the ``fit`` method of the the estimator. :pr:`26506` by `Adrin Jalali`_. +- |Enhancement| :func:`base.clone` now supports...
pylint-dev/pylint
pylint-dev__pylint-8312
https://github.com/pylint-dev/pylint/pull/8312
diff --git a/.pyenchant_pylint_custom_dict.txt b/.pyenchant_pylint_custom_dict.txt index d3cce63e24..5969ff6396 100644 --- a/.pyenchant_pylint_custom_dict.txt +++ b/.pyenchant_pylint_custom_dict.txt @@ -128,6 +128,7 @@ functools genexpr getattr globals +globbing GPL graphname graphviz diff --git a/doc/user_guide/...
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py index 23cde49674..6c21d43135 100644 --- a/tests/lint/unittest_lint.py +++ b/tests/lint/unittest_lint.py @@ -1220,8 +1220,6 @@ def test_recursive_implicit_namespace() -> None: ], exit=False, ) - run.linter.set_reporter(testu...
[ { "path": "doc/user_guide/usage/run.rst", "old_path": "a/doc/user_guide/usage/run.rst", "new_path": "b/doc/user_guide/usage/run.rst", "metadata": "diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst\nindex 006327f402..b9dfedc886 100644\n--- a/doc/user_guide/usage/run.rst\n+++ b/...
2.17
7893fd205809380fcfdcaf4f82ec81968528875a
[ "tests/lint/unittest_lint.py::test_pylintrc_parentdir_no_package", "tests/lint/unittest_lint.py::test_disable_similar", "tests/lint/unittest_lint.py::test_pylintrc", "tests/lint/unittest_lint.py::test_list_msgs_enabled", "tests/lint/unittest_lint.py::test_recursive_ignore[--ignore-patterns-ignored_*]", "t...
[ "tests/lint/unittest_lint.py::test_globbing", "tests/test_self.py::TestRunTC::test_recursive_globbing" ]
[ { "path": "doc/user_guide/usage/run.rst", "old_path": "a/doc/user_guide/usage/run.rst", "new_path": "b/doc/user_guide/usage/run.rst", "metadata": "diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst\nindex 006327f40..b9dfedc88 100644\n--- a/doc/user_guide/usage/run.rst\n+++ b/do...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst index 006327f40..b9dfedc88 100644 --- a/doc/user_guide/usage/run.rst +++ b/doc/user_guide/usage/run.rst @@ -52,6 +52,13 @@ If the analyzed sources use implicit namespace packages (PEP 420), the source ro be specified using the ``--source-roots`` ...
pylint-dev/pylint
pylint-dev__pylint-8153
https://github.com/pylint-dev/pylint/pull/8153
diff --git a/doc/user_guide/configuration/all-options.rst b/doc/user_guide/configuration/all-options.rst index b83a2ca083..dcc8e39b22 100644 --- a/doc/user_guide/configuration/all-options.rst +++ b/doc/user_guide/configuration/all-options.rst @@ -174,6 +174,13 @@ Standard Checkers **Default:** ``(3, 10)`` +--sour...
diff --git a/pylint/testutils/pyreverse.py b/pylint/testutils/pyreverse.py index fc20b5453f..7a61ff5fe6 100644 --- a/pylint/testutils/pyreverse.py +++ b/pylint/testutils/pyreverse.py @@ -67,6 +67,7 @@ def __init__( class TestFileOptions(TypedDict): + source_roots: list[str] output_formats: list[str] c...
[ { "path": "doc/user_guide/configuration/all-options.rst", "old_path": "a/doc/user_guide/configuration/all-options.rst", "new_path": "b/doc/user_guide/configuration/all-options.rst", "metadata": "diff --git a/doc/user_guide/configuration/all-options.rst b/doc/user_guide/configuration/all-options.rst\...
2.17
4cbabc9baeded60d9c626c822583215cf3af69d2
[ "tests/lint/unittest_lint.py::test_recursive_ignore[--ignore-patterns-ignored_*]", "tests/lint/unittest_lint.py::test_recursive_ignore[--ignore-paths-.*ignored.*/failing.*]", "tests/lint/unittest_lint.py::test_full_documentation", "tests/lint/unittest_lint.py::test_pylint_home", "tests/lint/unittest_lint.py...
[ "tests/lint/unittest_lint.py::test_two_similar_args[case3]", "tests/test_check_parallel.py::TestCheckParallel::test_sequential_checkers_work", "tests/lint/unittest_lint.py::test_more_args[case1]", "tests/lint/unittest_lint.py::test_deprecated", "tests/pyreverse/test_main.py::test_class_command", "tests/py...
[ { "path": "doc/user_guide/configuration/all-options.rst", "old_path": "a/doc/user_guide/configuration/all-options.rst", "new_path": "b/doc/user_guide/configuration/all-options.rst", "metadata": "diff --git a/doc/user_guide/configuration/all-options.rst b/doc/user_guide/configuration/all-options.rst\...
{ "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": "augmented_sys_path" }, { "type": "field", "name": "extra_packages_paths" ...
diff --git a/doc/user_guide/configuration/all-options.rst b/doc/user_guide/configuration/all-options.rst index b83a2ca08..dcc8e39b2 100644 --- a/doc/user_guide/configuration/all-options.rst +++ b/doc/user_guide/configuration/all-options.rst @@ -174,6 +174,13 @@ Standard Checkers **Default:** ``(3, 10)`` +--source...
pylint-dev/pylint
pylint-dev__pylint-8190
https://github.com/pylint-dev/pylint/pull/8190
diff --git a/doc/whatsnew/fragments/8181.breaking b/doc/whatsnew/fragments/8181.breaking new file mode 100644 index 0000000000..cd5b361d15 --- /dev/null +++ b/doc/whatsnew/fragments/8181.breaking @@ -0,0 +1,5 @@ +Add new option (``--show-stdlib``, ``-L``) to ``pyreverse``. +This is similar to the behavior of ``--show-b...
diff --git a/pylint/testutils/pyreverse.py b/pylint/testutils/pyreverse.py index 20dce84dd7..74395524bf 100644 --- a/pylint/testutils/pyreverse.py +++ b/pylint/testutils/pyreverse.py @@ -38,6 +38,7 @@ def __init__( show_associated: int | None = None, all_associated: bool | None = None, show_b...
[ { "path": "doc/whatsnew/fragments/8181.breaking", "old_path": "/dev/null", "new_path": "b/doc/whatsnew/fragments/8181.breaking", "metadata": "diff --git a/doc/whatsnew/fragments/8181.breaking b/doc/whatsnew/fragments/8181.breaking\nnew file mode 100644\nindex 0000000000..cd5b361d15\n--- /dev/null\n+...
3.0
2b3d113542f706e459fbeb28915aba51f0898457
[ "tests/pyreverse/test_writer.py::test_puml_files[classes_No_Name.puml]", "tests/pyreverse/test_main.py::test_command_line_arguments_defaults[show_associated-None]", "tests/pyreverse/test_diadefs.py::TestDefaultDiadefGenerator::test_extract_relations", "tests/pyreverse/test_writer.py::test_colorized_puml_files...
[ "tests/pyreverse/test_diadefs.py::TestShowOptions::test_show_stdlib", "tests/pyreverse/test_main.py::test_command_line_arguments_defaults[show_stdlib-0]" ]
[ { "path": "doc/whatsnew/fragments/####.breaking", "old_path": "/dev/null", "new_path": "b/doc/whatsnew/fragments/####.breaking", "metadata": "diff --git a/doc/whatsnew/fragments/####.breaking b/doc/whatsnew/fragments/####.breaking\nnew file mode 100644\nindex 000000000..f2c8c9319\n--- /dev/null\n+++...
{ "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": "show_stdlib" } ] }
diff --git a/doc/whatsnew/fragments/####.breaking b/doc/whatsnew/fragments/####.breaking new file mode 100644 index 000000000..f2c8c9319 --- /dev/null +++ b/doc/whatsnew/fragments/####.breaking @@ -0,0 +1,3 @@ +Add new option (``--show-stdlib``, ``-L``) to ``pyreverse``. +This is similar to the behavior of ``--show-bui...
pylint-dev/pylint
pylint-dev__pylint-5372
https://github.com/pylint-dev/pylint/pull/5372
diff --git a/ChangeLog b/ChangeLog index b3c5fbcf7d..9a20365af9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,11 @@ Release date: TBA Closes #4982 +* Add ability to add ``end_line`` and ``end_column`` to the ``--msg-template`` option. + With the standard ``TextReporter`` this will add the line and column ...
diff --git a/tests/unittest_reporting.py b/tests/unittest_reporting.py index 22fdc905c5..3e6fdafd15 100644 --- a/tests/unittest_reporting.py +++ b/tests/unittest_reporting.py @@ -57,6 +57,72 @@ def test_template_option(linter): assert output.getvalue() == "************* Module 0123\nC0301:001\nC0301:002\n" +de...
[ { "path": "doc/user_guide/output.rst", "old_path": "a/doc/user_guide/output.rst", "new_path": "b/doc/user_guide/output.rst", "metadata": "diff --git a/doc/user_guide/output.rst b/doc/user_guide/output.rst\nindex 52959d3c71..1aa18f3b31 100644\n--- a/doc/user_guide/output.rst\n+++ b/doc/user_guide/out...
2.11
5e9d20dc32768e873ab84bc4ed0b489fdda40672
[ "tests/unittest_reporting.py::test_template_option", "tests/unittest_reporting.py::test_multi_format_output", "tests/unittest_reporting.py::test_parseable_output_deprecated", "tests/unittest_reporting.py::test_deprecation_set_output", "tests/unittest_reporting.py::test_display_results_is_renamed", "tests/...
[ "tests/unittest_reporting.py::test_template_option_non_exisiting", "tests/unittest_reporting.py::test_template_option_end_line" ]
[ { "path": "doc/user_guide/output.rst", "old_path": "a/doc/user_guide/output.rst", "new_path": "b/doc/user_guide/output.rst", "metadata": "diff --git a/doc/user_guide/output.rst b/doc/user_guide/output.rst\nindex 52959d3c7..1aa18f3b3 100644\n--- a/doc/user_guide/output.rst\n+++ b/doc/user_guide/outpu...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/user_guide/output.rst b/doc/user_guide/output.rst index 52959d3c7..1aa18f3b3 100644 --- a/doc/user_guide/output.rst +++ b/doc/user_guide/output.rst @@ -58,6 +58,10 @@ line line number column column number +end_line + line number of the end of the node +end_column + column number of the...
pylint-dev/pylint
pylint-dev__pylint-7869
https://github.com/pylint-dev/pylint/pull/7869
diff --git a/doc/whatsnew/fragments/5362.feature b/doc/whatsnew/fragments/5362.feature new file mode 100644 index 0000000000..b83d9397de --- /dev/null +++ b/doc/whatsnew/fragments/5362.feature @@ -0,0 +1,3 @@ +Added the ``no-header`` output format. If enabled with ``--output-format=no-header``, it will not include the ...
diff --git a/tests/test_self.py b/tests/test_self.py index 61b417f0c0..9cec1b1c93 100644 --- a/tests/test_self.py +++ b/tests/test_self.py @@ -1278,6 +1278,18 @@ def test_line_too_long_useless_suppression(self) -> None: self._test_output([module, "--enable=all"], expected_output=expected) + def test_out...
[ { "path": "doc/whatsnew/fragments/5362.feature", "old_path": "/dev/null", "new_path": "b/doc/whatsnew/fragments/5362.feature", "metadata": "diff --git a/doc/whatsnew/fragments/5362.feature b/doc/whatsnew/fragments/5362.feature\nnew file mode 100644\nindex 0000000000..b83d9397de\n--- /dev/null\n+++ b...
2.16
57d959abc7c21d4c5dbdcdb461e3801bf1caca27
[ "tests/test_self.py::TestRunTC::test_output_file_can_be_combined_with_output_format_option[colorized-tests/regrtest_data/unused_variable.py:4:4: W0612: \\x1b[35mUnused variable 'variable'\\x1b[0m (\\x1b[35munused-variable\\x1b[0m)]", "tests/test_self.py::TestCallbackOptions::test_output_of_callback_options[comman...
[ "tests/test_self.py::TestRunTC::test_output_no_header" ]
[ { "path": "doc/whatsnew/fragments/####.feature", "old_path": "/dev/null", "new_path": "b/doc/whatsnew/fragments/####.feature", "metadata": "diff --git a/doc/whatsnew/fragments/####.feature b/doc/whatsnew/fragments/####.feature\nnew file mode 100644\nindex 000000000..55cea6f59\n--- /dev/null\n+++ b/d...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/doc/whatsnew/fragments/####.feature b/doc/whatsnew/fragments/####.feature new file mode 100644 index 000000000..55cea6f59 --- /dev/null +++ b/doc/whatsnew/fragments/####.feature @@ -0,0 +1,1 @@ +Added the ``no-header`` output format. If enabled with ``--output-format=no-header``, it will not include the mo...
pylint-dev/pylint
pylint-dev__pylint-5610
https://github.com/pylint-dev/pylint/pull/5610
diff --git a/ChangeLog b/ChangeLog index 726ccc134e..52cb627f2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -54,6 +54,11 @@ Release date: TBA closes #5722 +* New extension ``import-private-name``: indicate imports of external private packages + and objects (prefixed with ``_``). It can be loaded using ``load-plug...
diff --git a/tests/extensions/test_private_import.py b/tests/extensions/test_private_import.py new file mode 100644 index 0000000000..10648a8f91 --- /dev/null +++ b/tests/extensions/test_private_import.py @@ -0,0 +1,69 @@ +"""Tests the local module directory comparison logic which requires mocking file directories""" +...
[ { "path": "doc/whatsnew/2.13.rst", "old_path": "a/doc/whatsnew/2.13.rst", "new_path": "b/doc/whatsnew/2.13.rst", "metadata": "diff --git a/doc/whatsnew/2.13.rst b/doc/whatsnew/2.13.rst\nindex 130a9ac69b..d277d0d82d 100644\n--- a/doc/whatsnew/2.13.rst\n+++ b/doc/whatsnew/2.13.rst\n@@ -76,6 +76,10 @@ ...
2.13
2b81cbb6d53bec271eeb7af16b57f79f10a99146
[]
[ "tests/extensions/test_private_import.py::TestPrivateImport::test_internal_module", "tests/extensions/test_private_import.py::TestPrivateImport::test_external_module_dot_import_outer_only", "tests/extensions/test_private_import.py::TestPrivateImport::test_external_module_nested", "tests/extensions/test_privat...
[ { "path": "doc/whatsnew/2.13.rst", "old_path": "a/doc/whatsnew/2.13.rst", "new_path": "b/doc/whatsnew/2.13.rst", "metadata": "diff --git a/doc/whatsnew/2.13.rst b/doc/whatsnew/2.13.rst\nindex 130a9ac69..56f718726 100644\n--- a/doc/whatsnew/2.13.rst\n+++ b/doc/whatsnew/2.13.rst\n@@ -76,6 +76,8 @@ Rem...
{ "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": "parts" }, { "type": "field", "name": "typing" }, { "type": "fie...
diff --git a/doc/whatsnew/2.13.rst b/doc/whatsnew/2.13.rst index 130a9ac69..56f718726 100644 --- a/doc/whatsnew/2.13.rst +++ b/doc/whatsnew/2.13.rst @@ -76,6 +76,8 @@ Removed checkers Extensions ========== +* New extension ``import-private-name``: indicate imports of external private packages + and objects (prefix...
django/django
django__django-15402
https://github.com/django/django/pull/15402
diff --git a/django/urls/resolvers.py b/django/urls/resolvers.py index 26c9884e1813..9f42e2738cfc 100644 --- a/django/urls/resolvers.py +++ b/django/urls/resolvers.py @@ -41,6 +41,8 @@ def __init__( namespaces=None, route=None, tried=None, + captured_kwargs=None, + extra_kwargs=...
diff --git a/tests/i18n/patterns/tests.py b/tests/i18n/patterns/tests.py index db04e9a1a495..43d95ff668fd 100644 --- a/tests/i18n/patterns/tests.py +++ b/tests/i18n/patterns/tests.py @@ -8,7 +8,7 @@ from django.test import SimpleTestCase, override_settings from django.test.client import RequestFactory from django.te...
[ { "path": "docs/ref/urlresolvers.txt", "old_path": "a/docs/ref/urlresolvers.txt", "new_path": "b/docs/ref/urlresolvers.txt", "metadata": "diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt\nindex d39345b478fc..2bde4d73eaf7 100644\n--- a/docs/ref/urlresolvers.txt\n+++ b/docs/ref/urlre...
4.2
83c803f161044fbfbfcd9a0c94ca93dc131be662
[ "test_valid_resolve (urlpatterns_reverse.tests.LookaheadTests)", "test_noncallable_view (urlpatterns_reverse.tests.ErroneousViewTests)", "test_invalid_prefix_use (i18n.patterns.tests.URLPrefixTests)", "test_include_4_tuple (urlpatterns_reverse.tests.IncludeTests)", "test_no_lang_activate (i18n.patterns.test...
[ "test_nl_path (i18n.patterns.tests.URLResponseTests)", "test_matching_urls_same_name (urlpatterns.tests.SameNameTests)", "test_normal_name (urlpatterns_reverse.tests.NamespaceTests)", "test_args (i18n.patterns.tests.URLTagTests)", "test_app_name_pattern (urlpatterns_reverse.tests.NamespaceTests)", "test_p...
[ { "path": "docs/ref/urlresolvers.txt", "old_path": "a/docs/ref/urlresolvers.txt", "new_path": "b/docs/ref/urlresolvers.txt", "metadata": "diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt\nindex d39345b478..2bde4d73ea 100644\n--- a/docs/ref/urlresolvers.txt\n+++ b/docs/ref/urlresolv...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt index d39345b478..2bde4d73ea 100644 --- a/docs/ref/urlresolvers.txt +++ b/docs/ref/urlresolvers.txt @@ -123,9 +123,24 @@ If the URL does not resolve, the function raises a .. attribute:: ResolverMatch.kwargs - The keyword arguments that ...
django/django
django__django-15622
https://github.com/django/django/pull/15622
diff --git a/django/forms/forms.py b/django/forms/forms.py index 952b97413072..2500dccc9bcf 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -66,7 +66,6 @@ class BaseForm(RenderableFormMixin): prefix = None use_required_attribute = True - template_name = "django/forms/default.html" ...
diff --git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index c5376b115fa7..ad8f7b9a3186 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py @@ -4397,7 +4397,7 @@ class Jinja2FormsTestCase(FormsTestCase): class CustomRenderer(DjangoTempl...
[ { "path": "docs/ref/forms/api.txt", "old_path": "a/docs/ref/forms/api.txt", "new_path": "b/docs/ref/forms/api.txt", "metadata": "diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt\nindex 4d3cf8997d75..a6b4d11f4ad7 100644\n--- a/docs/ref/forms/api.txt\n+++ b/docs/ref/forms/api.txt\n@@ -527,...
4.2
58b27e0dbb3d31ca1438790870b2b51ecdb10500
[ "test_attribute_class (forms_tests.tests.test_forms.RendererTests)", "test_default (forms_tests.tests.test_forms.RendererTests)", "test_kwarg_instance (forms_tests.tests.test_forms.RendererTests)", "test_kwarg_class (forms_tests.tests.test_forms.RendererTests)", "test_attribute_override (forms_tests.tests.t...
[ "test_blank_form_unfilled (forms_tests.tests.test_formsets.FormsFormsetTestCase)", "test_hidden_data (forms_tests.tests.test_forms.FormsTestCase)", "test_max_num_with_initial_data (forms_tests.tests.test_formsets.FormsFormsetTestCase)", "test_empty_formset_media (forms_tests.tests.test_formsets.TestEmptyFormS...
[ { "path": "docs/ref/forms/api.txt", "old_path": "a/docs/ref/forms/api.txt", "new_path": "b/docs/ref/forms/api.txt", "metadata": "diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt\nindex 4d3cf8997d..a6b4d11f4a 100644\n--- a/docs/ref/forms/api.txt\n+++ b/docs/ref/forms/api.txt\n@@ -527,12 +...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 4d3cf8997d..a6b4d11f4a 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -527,12 +527,18 @@ a form object, and each rendering method returns a string. .. attribute:: Form.template_name -The name of a template that is going to be r...
django/django
django__django-15248
https://github.com/django/django/pull/15248
diff --git a/django/contrib/admin/utils.py b/django/contrib/admin/utils.py index 42d0d96ea6e0..4e3d025a569d 100644 --- a/django/contrib/admin/utils.py +++ b/django/contrib/admin/utils.py @@ -116,7 +116,7 @@ def get_deleted_objects(objs, request, admin_site): return [], {}, set(), [] else: using =...
diff --git a/tests/signals/models.py b/tests/signals/models.py index ca30cdc51f5a..b758244749ae 100644 --- a/tests/signals/models.py +++ b/tests/signals/models.py @@ -30,3 +30,8 @@ class Book(models.Model): def __str__(self): return self.name + + +class Page(models.Model): + book = models.ForeignKey(...
[ { "path": "docs/ref/signals.txt", "old_path": "a/docs/ref/signals.txt", "new_path": "b/docs/ref/signals.txt", "metadata": "diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt\nindex 4eb55c906af9..6f0ce0527cc7 100644\n--- a/docs/ref/signals.txt\n+++ b/docs/ref/signals.txt\n@@ -195,6 +195,12 @@ A...
4.2
f1905db6c0004a2b6c8b69c55a1f5f9da58ce2eb
[]
[ "test_not_loaded_model (signals.tests.LazyModelRefTests)", "test_invalid_sender_model_name (signals.tests.LazyModelRefTests)", "test_delete_signals_origin_queryset (signals.tests.SignalTests)", "test_delete_signals_origin_model (signals.tests.SignalTests)", "test_disconnect_in_dispatch (signals.tests.Signal...
[ { "path": "docs/ref/signals.txt", "old_path": "a/docs/ref/signals.txt", "new_path": "b/docs/ref/signals.txt", "metadata": "diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt\nindex 4eb55c906a..6f0ce0527c 100644\n--- a/docs/ref/signals.txt\n+++ b/docs/ref/signals.txt\n@@ -195,6 +195,12 @@ Argum...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt index 4eb55c906a..6f0ce0527c 100644 --- a/docs/ref/signals.txt +++ b/docs/ref/signals.txt @@ -195,6 +195,12 @@ Arguments sent with this signal: ``using`` The database alias being used. +``origin`` + .. versionadded:: 4.1 + + The origin of the deleti...
django/django
django__django-3621
https://github.com/django/django/pull/3621
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index 8a2fb944f226..51ddfc981922 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -419,12 +419,19 @@ def render(self, context): class NowNode(Node): - def __init__(self, format_string): + def __ini...
diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py index 71da1ee40abf..67ac08601b4f 100644 --- a/tests/template_tests/tests.py +++ b/tests/template_tests/tests.py @@ -1697,6 +1697,8 @@ def get_template_tests(self): datetime.now().day, datetime.now().month, datetime.now().year)),...
[ { "path": "docs/ref/templates/builtins.txt", "old_path": "a/docs/ref/templates/builtins.txt", "new_path": "b/docs/ref/templates/builtins.txt", "metadata": "diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt\nindex 2b3d48d90ef8..146f2eacd67e 100644\n--- a/docs/ref/template...
1.9
3a9aa155e2f7326df669953980ac87e78e932c43
[ "test_invalid_block_suggestion (template_tests.tests.TemplateRegressionTests)", "test_loader_origin (template_tests.tests.TemplateLoaderTests)", "test_include_missing_template (template_tests.tests.TemplateLoaderTests)", "test_super_errors (template_tests.tests.TemplateRegressionTests)", "test_load_error (t...
[ "test_templates (template_tests.tests.TemplateTests)" ]
[ { "path": "docs/ref/templates/builtins.txt", "old_path": "a/docs/ref/templates/builtins.txt", "new_path": "b/docs/ref/templates/builtins.txt", "metadata": "diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt\nindex 2b3d48d90e..146f2eacd6 100644\n--- a/docs/ref/templates/bu...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 2b3d48d90e..146f2eacd6 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -799,6 +799,18 @@ This would display as "It is the 4th of September". It is {% now "SHORT_DATETIME_FORMAT" %} + +...
django/django
django__django-4349
https://github.com/django/django/pull/4349
diff --git a/django/db/models/__init__.py b/django/db/models/__init__.py index fea271f40305..4d8ea3889838 100644 --- a/django/db/models/__init__.py +++ b/django/db/models/__init__.py @@ -2,7 +2,9 @@ from django.core.exceptions import ObjectDoesNotExist, ImproperlyConfigured # NOQA from django.db.models.query impor...
diff --git a/tests/annotations/models.py b/tests/annotations/models.py index 0c438b99f805..954c8ad33960 100644 --- a/tests/annotations/models.py +++ b/tests/annotations/models.py @@ -84,3 +84,12 @@ def __str__(self): return ('Company(name=%s, motto=%s, ticker_name=%s, description=%s)' % (self.name...
[ { "path": "docs/ref/models/expressions.txt", "old_path": "a/docs/ref/models/expressions.txt", "new_path": "b/docs/ref/models/expressions.txt", "metadata": "diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt\nindex dfc852c0485a..b3d2e8b8c02f 100644\n--- a/docs/ref/models/e...
1.9
127b3873d03704f77428b984de022664b268314e
[]
[ "test_basic_annotation (annotations.tests.NonAggregateAnnotationTestCase)", "test_basic_f_annotation (annotations.tests.NonAggregateAnnotationTestCase)", "test_delta_subtract (expressions.tests.FTimeDeltaTests)", "test_lefthand_modulo (expressions.tests.ExpressionOperatorTests)", "test_arithmetic (expressio...
[ { "path": "docs/ref/models/expressions.txt", "old_path": "a/docs/ref/models/expressions.txt", "new_path": "b/docs/ref/models/expressions.txt", "metadata": "diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt\nindex dfc852c048..b3d2e8b8c0 100644\n--- a/docs/ref/models/expre...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index dfc852c048..b3d2e8b8c0 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -161,6 +161,27 @@ values, rather than on Python values. This is documented in :ref:`using F() expressions in queries <using-...
django/django
django__django-14751
https://github.com/django/django/pull/14751
diff --git a/django/core/management/commands/makemigrations.py b/django/core/management/commands/makemigrations.py index 4d26bfe278a3..4349f33a61d6 100644 --- a/django/core/management/commands/makemigrations.py +++ b/django/core/management/commands/makemigrations.py @@ -57,9 +57,20 @@ def add_arguments(self, parser): ...
diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py index ef5db241d65d..f274c8486b48 100644 --- a/tests/migrations/test_commands.py +++ b/tests/migrations/test_commands.py @@ -1667,6 +1667,47 @@ class Meta: self.assertIn("model_name='sillymodel',", out.getvalue()) self.a...
[ { "path": "docs/ref/django-admin.txt", "old_path": "a/docs/ref/django-admin.txt", "new_path": "b/docs/ref/django-admin.txt", "metadata": "diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt\nindex 6188324d5244..78770fbf72f3 100644\n--- a/docs/ref/django-admin.txt\n+++ b/docs/ref/djang...
4.2
274771df9133542df048cc104c19e7756f9d3715
[ "test_squashmigrations_valid_start (migrations.test_commands.SquashMigrationsTests)", "test_makemigrations_app_name_specified_as_label (migrations.test_commands.AppLabelErrorTests)", "test_sqlmigrate_nonexistent_app_label (migrations.test_commands.AppLabelErrorTests)", "test_ticket_23799_squashmigrations_no_o...
[ "test_makemigrations_interactive_accept (migrations.test_commands.MakeMigrationsTests)", "test_files_content (migrations.test_commands.MakeMigrationsTests)", "test_showmigrations_no_migrations (migrations.test_commands.MigrateTests)", "test_makemigrations_empty_migration (migrations.test_commands.MakeMigratio...
[ { "path": "docs/ref/django-admin.txt", "old_path": "a/docs/ref/django-admin.txt", "new_path": "b/docs/ref/django-admin.txt", "metadata": "diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt\nindex 6188324d52..78770fbf72 100644\n--- a/docs/ref/django-admin.txt\n+++ b/docs/ref/django-ad...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 6188324d52..78770fbf72 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -825,6 +825,13 @@ Generate migration files without Django version and timestamp header. Makes ``makemigrations`` exit with a non-zero status when mod...
django/django
django__django-16560
https://github.com/django/django/pull/16560
diff --git a/django/contrib/postgres/constraints.py b/django/contrib/postgres/constraints.py index ad3a5f61f55f..c61072b5a54c 100644 --- a/django/contrib/postgres/constraints.py +++ b/django/contrib/postgres/constraints.py @@ -32,6 +32,7 @@ def __init__( condition=None, deferrable=None, inclu...
diff --git a/tests/constraints/tests.py b/tests/constraints/tests.py index b45dc6499a3f..ec2b030ac5d0 100644 --- a/tests/constraints/tests.py +++ b/tests/constraints/tests.py @@ -77,17 +77,26 @@ def test_custom_violation_error_message_clone(self): "custom base_name message", ) + def test_cust...
[ { "path": "docs/ref/contrib/postgres/constraints.txt", "old_path": "a/docs/ref/contrib/postgres/constraints.txt", "new_path": "b/docs/ref/contrib/postgres/constraints.txt", "metadata": "diff --git a/docs/ref/contrib/postgres/constraints.txt b/docs/ref/contrib/postgres/constraints.txt\nindex fcf50b8b...
5.1
51c9bb7cd16081133af4f0ab6d06572660309730
[]
[ "test_database_constraint_unicode (constraints.tests.CheckConstraintTests)", "test_deconstruction_with_expressions (constraints.tests.UniqueConstraintTests)", "test_deconstruction (constraints.tests.BaseConstraintTests)", "test_custom_violation_error_message (constraints.tests.BaseConstraintTests)", "test_d...
[ { "path": "docs/ref/contrib/postgres/constraints.txt", "old_path": "a/docs/ref/contrib/postgres/constraints.txt", "new_path": "b/docs/ref/contrib/postgres/constraints.txt", "metadata": "diff --git a/docs/ref/contrib/postgres/constraints.txt b/docs/ref/contrib/postgres/constraints.txt\nindex fcf50b8b...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/ref/contrib/postgres/constraints.txt b/docs/ref/contrib/postgres/constraints.txt index fcf50b8b5f..abc5e4e4e4 100644 --- a/docs/ref/contrib/postgres/constraints.txt +++ b/docs/ref/contrib/postgres/constraints.txt @@ -12,7 +12,7 @@ PostgreSQL supports additional data integrity constraints available fro...
django/django
django__django-16746
https://github.com/django/django/pull/16746
diff --git a/django/core/paginator.py b/django/core/paginator.py index 131ea0f81121..7b3189cc8b28 100644 --- a/django/core/paginator.py +++ b/django/core/paginator.py @@ -28,13 +28,30 @@ class Paginator: # Translators: String used to replace omitted page numbers in elided page # range generated by paginators,...
diff --git a/tests/pagination/tests.py b/tests/pagination/tests.py index a04b6dfe8a2c..1fa9ea2f026f 100644 --- a/tests/pagination/tests.py +++ b/tests/pagination/tests.py @@ -128,6 +128,34 @@ def test_invalid_page_number(self): with self.assertRaises(PageNotAnInteger): paginator.validate_number(1....
[ { "path": "docs/ref/paginator.txt", "old_path": "a/docs/ref/paginator.txt", "new_path": "b/docs/ref/paginator.txt", "metadata": "diff --git a/docs/ref/paginator.txt b/docs/ref/paginator.txt\nindex 670c06e6a819..8afadbe6f8e4 100644\n--- a/docs/ref/paginator.txt\n+++ b/docs/ref/paginator.txt\n@@ -14,7...
5.1
041b0a359a0a80e147b47c6ae5f11bca9dd3b28a
[]
[ "test_paginate_misc_classes (pagination.tests.PaginationTests)", "test_float_integer_page (pagination.tests.PaginationTests)", "test_get_elided_page_range (pagination.tests.PaginationTests)", "test_paginator_iteration (pagination.tests.PaginationTests)", "test_invalid_page_number (pagination.tests.Paginatio...
[ { "path": "docs/ref/paginator.txt", "old_path": "a/docs/ref/paginator.txt", "new_path": "b/docs/ref/paginator.txt", "metadata": "diff --git a/docs/ref/paginator.txt b/docs/ref/paginator.txt\nindex 670c06e6a8..8afadbe6f8 100644\n--- a/docs/ref/paginator.txt\n+++ b/docs/ref/paginator.txt\n@@ -14,7 +14...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/ref/paginator.txt b/docs/ref/paginator.txt index 670c06e6a8..8afadbe6f8 100644 --- a/docs/ref/paginator.txt +++ b/docs/ref/paginator.txt @@ -14,7 +14,7 @@ For examples, see the :doc:`Pagination topic guide </topics/pagination>`. ``Paginator`` class =================== -.. class:: Paginator(object_...
astropy/astropy
astropy__astropy-9266
https://github.com/astropy/astropy/pull/9266
diff --git a/CHANGES.rst b/CHANGES.rst index 5e6f37bf038d..47c73d8d4e87 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -193,6 +193,7 @@ astropy.visualization - Improved error checking for the ``slices=`` argument to ``WCSAxes``. [#9098] - Added support for more solar frames in WCSAxes. [#9275] +- Add support for one...
diff --git a/astropy/visualization/wcsaxes/tests/test_images.py b/astropy/visualization/wcsaxes/tests/test_images.py index 55d6b659b3a5..e7913bb06401 100644 --- a/astropy/visualization/wcsaxes/tests/test_images.py +++ b/astropy/visualization/wcsaxes/tests/test_images.py @@ -748,3 +748,58 @@ def test_tick_params(self): ...
[ { "path": "docs/visualization/wcsaxes/index.rst", "old_path": "a/docs/visualization/wcsaxes/index.rst", "new_path": "b/docs/visualization/wcsaxes/index.rst", "metadata": "diff --git a/docs/visualization/wcsaxes/index.rst b/docs/visualization/wcsaxes/index.rst\nindex 3490f51fd974..e1491b7571a6 100644...
4.0
bf4e4de4a6d1ceb1db10f5850a90cce476348903
[]
[ "astropy/visualization/wcsaxes/tests/test_wcsapi.py::test_coord_type_from_ctype", "astropy/visualization/wcsaxes/tests/test_wcsapi.py::test_3d", "astropy/visualization/wcsaxes/tests/test_wcsapi.py::test_shorthand_inversion", "astropy/visualization/wcsaxes/tests/test_wcsapi.py::test_coord_type_1d_1d_wcs", "a...
[ { "path": "docs/visualization/wcsaxes/index.rst", "old_path": "a/docs/visualization/wcsaxes/index.rst", "new_path": "b/docs/visualization/wcsaxes/index.rst", "metadata": "diff --git a/docs/visualization/wcsaxes/index.rst b/docs/visualization/wcsaxes/index.rst\nindex 3490f51fd9..e1491b7571 100644\n--...
{ "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": "RectangularFrame1D" }, { "type": "field", "name": "RectangularFrame1D" },...
diff --git a/docs/visualization/wcsaxes/index.rst b/docs/visualization/wcsaxes/index.rst index 3490f51fd9..e1491b7571 100644 --- a/docs/visualization/wcsaxes/index.rst +++ b/docs/visualization/wcsaxes/index.rst @@ -78,8 +78,8 @@ when something can be done directly with the pyplot interface. WCSAxes supports a number o...
astropy/astropy
astropy__astropy-9244
https://github.com/astropy/astropy/pull/9244
diff --git a/CHANGES.rst b/CHANGES.rst index d7fe12596a00..40b457f2cbca 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -237,6 +237,10 @@ astropy.utils to return the smallest array that can be broadcasted back to the initial array. [#9209] +- The specific IERS Earth rotation parameter table used for time and + c...
diff --git a/astropy/coordinates/tests/test_iau_fullstack.py b/astropy/coordinates/tests/test_iau_fullstack.py index cd788834326b..996800b55b24 100644 --- a/astropy/coordinates/tests/test_iau_fullstack.py +++ b/astropy/coordinates/tests/test_iau_fullstack.py @@ -117,7 +117,8 @@ def test_iau_fullstack(fullstack_icrs, fu...
[ { "path": "docs/utils/iers.rst", "old_path": "a/docs/utils/iers.rst", "new_path": "b/docs/utils/iers.rst", "metadata": "diff --git a/docs/utils/iers.rst b/docs/utils/iers.rst\nindex 7fe000ef7d9d..726cee3ce0f5 100644\n--- a/docs/utils/iers.rst\n+++ b/docs/utils/iers.rst\n@@ -29,7 +29,7 @@ and how thi...
4.0
c09090c454e3df1adb7dd108c46152ba6a01393f
[ "astropy/coordinates/tests/test_regression.py::test_regression_5209", "astropy/coordinates/tests/test_intermediate_transformations.py::test_gcrs_self_transform_closeby", "astropy/coordinates/tests/test_intermediate_transformations.py::test_icrs_gcrs[icoo0]", "astropy/coordinates/tests/test_intermediate_transf...
[ "astropy/time/tests/test_ut1.py::TestTimeUT1SpecificIERSTable::test_ut1_iers_B", "astropy/coordinates/tests/test_iau_fullstack.py::test_future_altaz", "astropy/coordinates/tests/test_regression.py::test_regression_futuretimes_4302" ]
[ { "path": "docs/utils/iers.rst", "old_path": "a/docs/utils/iers.rst", "new_path": "b/docs/utils/iers.rst", "metadata": "diff --git a/docs/utils/iers.rst b/docs/utils/iers.rst\nindex 7fe000ef7d..726cee3ce0 100644\n--- a/docs/utils/iers.rst\n+++ b/docs/utils/iers.rst\n@@ -29,7 +29,7 @@ and how this ca...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/utils/iers.rst b/docs/utils/iers.rst index 7fe000ef7d..726cee3ce0 100644 --- a/docs/utils/iers.rst +++ b/docs/utils/iers.rst @@ -29,7 +29,7 @@ and how this can be controlled. Basic usage ----------- -The IERS data are managed via a instances of the +By default, the IERS data are managed via instan...
astropy/astropy
astropy__astropy-9425
https://github.com/astropy/astropy/pull/9425
diff --git a/CHANGES.rst b/CHANGES.rst index 7035d4a29860..b1c7305aee37 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -142,6 +142,11 @@ astropy.table - Added ``Table.iterrows()`` for making row-wise iteration faster. [#8969] +- Allow table to be initialized with a list of dict where the dict keys + are not the sa...
diff --git a/astropy/table/tests/test_init_table.py b/astropy/table/tests/test_init_table.py index 613c8c071b81..e1b1e008d612 100644 --- a/astropy/table/tests/test_init_table.py +++ b/astropy/table/tests/test_init_table.py @@ -6,7 +6,7 @@ import pytest import numpy as np -from astropy.table import Column, TableColu...
[ { "path": "docs/table/construct_table.rst", "old_path": "a/docs/table/construct_table.rst", "new_path": "b/docs/table/construct_table.rst", "metadata": "diff --git a/docs/table/construct_table.rst b/docs/table/construct_table.rst\nindex 56b36e076610..c9a96c5613a5 100644\n--- a/docs/table/construct_t...
4.0
f2acca5546fdfba0cea758ef9ba7d1573c626e9f
[ "astropy/table/tests/test_init_table.py::TestInitFromRows::test_init_with_rows_and_data[unmasked-True]", "astropy/table/tests/test_init_table.py::TestInitFromNdarrayHomo::test_ndarray_ref[True]", "astropy/table/tests/test_init_table.py::TestInitFromDict::test_names_cols_mismatch[True]", "astropy/table/tests/t...
[ "astropy/table/tests/test_init_table.py::TestInitFromListOfDicts::test_missing_data_init_from_dict[True]", "astropy/table/tests/test_init_table.py::TestInitFromListOfDicts::test_missing_data_init_from_dict[False]" ]
[ { "path": "docs/table/construct_table.rst", "old_path": "a/docs/table/construct_table.rst", "new_path": "b/docs/table/construct_table.rst", "metadata": "diff --git a/docs/table/construct_table.rst b/docs/table/construct_table.rst\nindex 56b36e0766..c9a96c5613 100644\n--- a/docs/table/construct_table...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/table/construct_table.rst b/docs/table/construct_table.rst index 56b36e0766..c9a96c5613 100644 --- a/docs/table/construct_table.rst +++ b/docs/table/construct_table.rst @@ -225,20 +225,22 @@ list of dict objects. The keys determine the column names:: >>> data = [{'a': 5, 'b': 10}, ... ...
astropy/astropy
astropy__astropy-9068
https://github.com/astropy/astropy/pull/9068
diff --git a/CHANGES.rst b/CHANGES.rst index b585271083c5..f6b820b72052 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -161,6 +161,10 @@ astropy.table - Added depth-wise stacking ``cstack()`` in higher level table operation. It help will in stacking table column depth-wise. [#8939] +- Added a new table equality me...
diff --git a/astropy/table/tests/test_table.py b/astropy/table/tests/test_table.py index 188b908a8a8a..fa787ebd04d7 100644 --- a/astropy/table/tests/test_table.py +++ b/astropy/table/tests/test_table.py @@ -15,6 +15,7 @@ from astropy.table import Table, QTable, MaskedColumn from astropy.tests.helper import (assert_fo...
[ { "path": "docs/table/access_table.rst", "old_path": "a/docs/table/access_table.rst", "new_path": "b/docs/table/access_table.rst", "metadata": "diff --git a/docs/table/access_table.rst b/docs/table/access_table.rst\nindex a27604fa928a..cf472aeb56f8 100644\n--- a/docs/table/access_table.rst\n+++ b/do...
4.0
653c069d6bcc3a604d5591604977038bd8e5417a
[ "astropy/table/tests/test_table.py::TestAddPosition::test_1[subclass]", "astropy/table/tests/test_table.py::TestReplaceColumn::test_replace_with_masked_col_with_units_in_qtable[unmasked]", "astropy/table/tests/test_table.py::TestRemove::test_delitem_row_fail[subclass]", "astropy/table/tests/test_table.py::Tes...
[ "astropy/table/tests/test_table.py::test_values_equal_part1" ]
[ { "path": "docs/table/access_table.rst", "old_path": "a/docs/table/access_table.rst", "new_path": "b/docs/table/access_table.rst", "metadata": "diff --git a/docs/table/access_table.rst b/docs/table/access_table.rst\nindex a27604fa92..cf472aeb56 100644\n--- a/docs/table/access_table.rst\n+++ b/docs/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": "error_msg", "name": "cannot compare tables with different column names" } ] }
diff --git a/docs/table/access_table.rst b/docs/table/access_table.rst index a27604fa92..cf472aeb56 100644 --- a/docs/table/access_table.rst +++ b/docs/table/access_table.rst @@ -314,6 +314,56 @@ structured array by creating a copy or reference with ``np.array``:: >>> data = np.array(t, copy=False) # reference to d...
astropy/astropy
astropy__astropy-8939
https://github.com/astropy/astropy/pull/8939
diff --git a/CHANGES.rst b/CHANGES.rst index 3c8869f97b64..ded568008cfd 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -91,6 +91,9 @@ astropy.table - ``MaskedColumn.data`` will now return a plain ``MaskedArray`` rather than the previous (unintended) ``masked_BaseColumn``. [#8855] +- Adding depth-wise stacking ``cs...
diff --git a/astropy/table/tests/test_operations.py b/astropy/table/tests/test_operations.py index 3cb6652d90ed..3e4ba76c6732 100644 --- a/astropy/table/tests/test_operations.py +++ b/astropy/table/tests/test_operations.py @@ -1004,6 +1004,123 @@ def test_mixin_functionality(self, mixin_cols): 'vst...
[ { "path": "docs/table/operations.rst", "old_path": "a/docs/table/operations.rst", "new_path": "b/docs/table/operations.rst", "metadata": "diff --git a/docs/table/operations.rst b/docs/table/operations.rst\nindex 3f44210d851f..504b0b8122b1 100644\n--- a/docs/table/operations.rst\n+++ b/docs/table/ope...
4.0
ebf10cf8161b1b9b3e641fb34329ce87b8f63e6f
[ "astropy/table/tests/test_operations.py::TestSetdiff::test_keys[QTable]", "astropy/table/tests/test_operations.py::TestHStack::test_bad_input_type[QTable]", "astropy/table/tests/test_operations.py::TestJoin::test_no_common_keys[Table]", "astropy/table/tests/test_operations.py::TestHStack::test_stack_columns[Q...
[ "astropy/table/tests/test_operations.py::TestCStack::test_cstack_single_table", "astropy/table/tests/test_operations.py::TestCStack::test_cstack_basic_outer[Table]", "astropy/table/tests/test_operations.py::TestCStack::test_cstack_table_column[Table]", "astropy/table/tests/test_operations.py::TestCStack::test...
[ { "path": "docs/table/operations.rst", "old_path": "a/docs/table/operations.rst", "new_path": "b/docs/table/operations.rst", "metadata": "diff --git a/docs/table/operations.rst b/docs/table/operations.rst\nindex 3f44210d85..504b0b8122 100644\n--- a/docs/table/operations.rst\n+++ b/docs/table/operati...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
diff --git a/docs/table/operations.rst b/docs/table/operations.rst index 3f44210d85..504b0b8122 100644 --- a/docs/table/operations.rst +++ b/docs/table/operations.rst @@ -591,6 +591,56 @@ The metadata from the input tables is merged by the process described in the `Me metadata`_ section. Note also that you can use a ...