365d843d1623320b8d3a7afef44924514d753e4e,pandas/tests/plotting/test_frame.py,TestDataFramePlots,test_subplots_timeseries_y_axis,#TestDataFramePlots#,545
Before Change
assert (
ax_numeric.get_lines()[0].get_data()[1] == testdata["numeric"].values
).all()
ax_timedelta = testdata.plot(y="timedelta")
assert (
ax_timedelta.get_lines()[0].get_data()[1] == testdata["timedelta"].values
).all()
ax_datetime_no_tz = testdata.plot(y="datetime_no_tz")
assert (
ax_datetime_no_tz.get_lines()[0].get_data()[1]
== testdata["datetime_no_tz"].values
).all()
After Change
ax = testdata.plot(y=col)
result = ax.get_lines()[0].get_data()[1]
expected = testdata[col].values
assert (result == expected).all()
msg = "no numeric data to plot"
with pytest.raises(TypeError, match=msg):
testdata.plot(y="text")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: pandas-dev/pandas
Commit Name: 365d843d1623320b8d3a7afef44924514d753e4e
Time: 2020-11-10
Author: 41443370+ivanovmg@users.noreply.github.com
File Name: pandas/tests/plotting/test_frame.py
Class Name: TestDataFramePlots
Method Name: test_subplots_timeseries_y_axis
Project Name: mne-tools/mne-python
Commit Name: c47f79914bc98fb042f53823b4f56e9cfe2310cf
Time: 2018-10-29
Author: larson.eric.d@gmail.com
File Name: mne/viz/tests/test_montage.py
Class Name:
Method Name: test_plot_montage
Project Name: astroML/astroML
Commit Name: 20009c89f9dbc94ef9b709862525a1a452ae583a
Time: 2015-06-26
Author: nhuntwalker@gmail.com
File Name: astroML/time_series/tests/test_periodogram.py
Class Name:
Method Name: test_lomb_scargle
Project Name: pandas-dev/pandas
Commit Name: 365d843d1623320b8d3a7afef44924514d753e4e
Time: 2020-11-10
Author: 41443370+ivanovmg@users.noreply.github.com
File Name: pandas/tests/plotting/test_frame.py
Class Name: TestDataFramePlots
Method Name: test_subplots_timeseries_y_axis