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

Appearance settings

Convert SymmetricalLogScale to numpydoc #14290

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 2 commits into from
May 25, 2019

Conversation

dstansby
Copy link
Member

No description provided.

lib/matplotlib/scale.py Outdated Show resolved Hide resolved
Copy link
Member

@NelleV NelleV left a comment

Choose a reason for hiding this comment

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

Once @timhoffm's suggestion is merged, this is good to go. Thanks @dstansby !

@dstansby dstansby added this to the v3.1.1 milestone May 22, 2019
@@ -544,39 +544,35 @@ class SymmetricalLogScale(ScaleBase):
need to have a range around zero that is linear. The parameter
*linthresh* allows the user to specify the size of this range
(-*linthresh*, *linthresh*).

Parameters
Copy link
Contributor

Choose a reason for hiding this comment

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

Not to hold up this PR but we may want to record somewhere the decision of whether constructor parameters should be documented in the class' docstring or in the __init__ docstring.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm going off the numpydoc guide (https://numpydoc.readthedocs.io/en/latest/format.html#class-docstring), but I agree it would be nice to document this in our own doc guide.

@timhoffm
Copy link
Member

CI errors likely fixed by #14299. Please rebase.

dstansby and others added 2 commits May 25, 2019 10:47
Co-Authored-By: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
@efiring efiring merged commit a833a36 into matplotlib:master May 25, 2019
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request May 25, 2019
@dstansby dstansby deleted the numpydoc-symlog branch May 25, 2019 18:40
efiring added a commit that referenced this pull request May 25, 2019
…290-on-v3.1.x

Backport PR #14290 on branch v3.1.x (Convert SymmetricalLogScale to numpydoc)
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.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.