id,node_id,number,state,locked,title,user,body,created_at,updated_at,closed_at,merged_at,merge_commit_sha,assignee,milestone,draft,head,base,author_association,auto_merge,repo,url,merged_by 525378289,MDExOlB1bGxSZXF1ZXN0NTI1Mzc4Mjg5,4600,closed,0,plot tests: ensure all figures are closed,24938400,"Test `testxyincrease_false_changes_axes` is flaky in nature. TestCase passes consistently in the actual order with command: ``` pytest tests/test_plot.py ``` TestCase fails when one randomises the order in *test_plot.py* module by using the plugin [pytest-random-order](https://pypi.org/project/pytest-random-order/) with command: ``` pytest tests/test_plot.py --random-order-seed=802425 -v ``` The victim `test_xyincrease_false_changes_axes` fails in a failing test order because there is at least one test that runs before the victim and “pollute” the state (e.g., global state: here, it is `matplotlib's plt`) on which the victim depends. [(Paper)](https://taoxie.cs.illinois.edu/publications/esecfse19-ifixflakies.pdf) After investigation, we found the polluter test to be *test_ylim_kwarg* Potential Fix: Adding a `plt.clf` or `plt.cla` at the end of the polluter test. Let us know your preference. Please let us know if you require the pass and fail logs. Also, if one runs test_plot.py in any random order, Teardown phase throws an error which is raised by test_all_figures_closed(). Should I raise a separate PR for the same? Contributors: [Yash Saboo](https://github.com/yashsaboo) [Nirupam K N](https://github.com/Nirupamkn)",2020-11-22T23:45:04Z,2020-11-27T12:03:15Z,2020-11-27T10:18:38Z,2020-11-27T10:18:38Z,a04aa25fea8a283493b87190c75aaec6118b7623,,,0,37f570d3a876711ea0d4eacf8a3e0cb2a2151856,5883a460b8fa9a72a2f12ee6495665bb7cc304f6,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/4600, 526871754,MDExOlB1bGxSZXF1ZXN0NTI2ODcxNzU0,4609,closed,0,Fixed test_plot_transposed_nondim_coord() and class TestDiscreteColorMap's polluter tests,24938400,"As suggested by @mathause [here](https://github.com/pydata/xarray/pull/4600#issuecomment-733235217), we modified the test_plot_transposed_nondim_coord() and class TestDiscreteColorMap's polluter tests.",2020-11-25T00:03:38Z,2020-11-25T13:13:33Z,2020-11-25T08:41:45Z,,d38bc9dee251947232b25e85faec995b93eaf564,,,0,abbe7af414a2989ed98504c230f032446fcadec1,16b15db2fb8ebfbed32d001bc187f1e9b01fc098,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/4609, 528282008,MDExOlB1bGxSZXF1ZXN0NTI4MjgyMDA4,4614,closed,0,Updated the forked repo code with original repo code,24938400,"To edit the whats new page, I had it update my local forked repo.",2020-11-26T22:13:33Z,2020-11-26T22:14:26Z,2020-11-26T22:14:26Z,,2b57c0250279f7941dd8ec792845b5f3ff77833d,,,0,3a3de6e3c6cae06580288fd9816e2ba618d17e2a,5883a460b8fa9a72a2f12ee6495665bb7cc304f6,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/4614,