Skip to content

Minor docstring updates on spectral plot functions #10834

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

timhoffm
Copy link
Member

PR Summary

As part of #10148: Docstring update for spectral plot functions.

@anntzer anntzer merged commit e3e387a into matplotlib:master Mar 21, 2018
@timhoffm timhoffm deleted the doc-axes-spectral branch March 21, 2018 21:11
@QuLogic QuLogic added this to the v3.0 milestone Mar 22, 2018
@@ -1674,7 +1674,9 @@ def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
"""
Plot the cross correlation between *x* and *y*.

The correlation with lag k is defined as sum_n x[n+k] * conj(y[n]).
The correlation with lag k is defined as
:math:`\sum_n x[n+k] \cdot y^*[n]`, where :math:`y^*` is the complex
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I can't run the tests anymore because of this math call. (SyntaxError: invalid escape sequence \s). What do I do to not get this to happen?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, see #10877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants