Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MNT/TST: remove xcorr and acorr from test_datetime#27427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 3 commits intomatplotlib:mainfromjklymak:mnt-remove-xcorr-acorr
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletionslib/matplotlib/axes/_axes.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1979,6 +1979,8 @@ def acorr(self, x, **kwargs):
Parameters
----------
x : array-like
Not run through Matplotlib's unit conversion, so this should
be a unit-less array.

detrend : callable, default: `.mlab.detrend_none` (no detrending)
A detrending function applied to *x*. It must have the
Expand DownExpand Up@@ -2056,6 +2058,8 @@ def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
Parameters
----------
x, y : array-like of length n
Neither *x* nor *y* are run through Matplotlib's unit conversion, so
these should be unit-less arrays.

detrend : callable, default: `.mlab.detrend_none` (no detrending)
A detrending function applied to *x* and *y*. It must have the
Expand Down
12 changes: 0 additions & 12 deletionslib/matplotlib/tests/test_datetime.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,12 +8,6 @@


class TestDatetimePlotting:
@pytest.mark.xfail(reason="Test for acorr not written yet")
@mpl.style.context("default")
def test_acorr(self):
fig, ax = plt.subplots()
ax.acorr(...)

@mpl.style.context("default")
def test_annotate(self):
mpl.rcParams["date.converter"] = 'concise'
Expand DownExpand Up@@ -738,9 +732,3 @@ def test_violinplot(self):
def test_vlines(self):
fig, ax = plt.subplots()
ax.vlines(...)

@pytest.mark.xfail(reason="Test for xcorr not written yet")
@mpl.style.context("default")
def test_xcorr(self):
fig, ax = plt.subplots()
ax.xcorr(...)

[8]ページ先頭

©2009-2025 Movatter.jp