Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC Update semilogy docstring to numpy doc format #7035

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
Sep 14, 2016
Merged
Changes from 1 commit
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
Prev Previous commit
DOC Removed trailing whitespaces
  • Loading branch information
JuliaSprenger committed Sep 14, 2016
commit e6a5b5b083abeab275ea0d53b524b807a9e31b01
8 changes: 4 additions & 4 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ def semilogy(self, *args, **kwargs):
plot. See :meth:`~matplotlib.axes.Axes.set_yscale` for
details.

nonposy : {'mask' | 'clip'} str
nonposy : {'mask' | 'clip'} str
Non-positive values in `y` can be masked as
invalid, or clipped to a very small positive number.

Expand All @@ -1618,17 +1618,17 @@ def semilogy(self, *args, **kwargs):
Line instance of the plot.

Other Parameters
----------------
----------------
kwargs : `~matplotlib.lines.Line2D` properties,
Copy link
Member

Choose a reason for hiding this comment

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

It's not kwargs; it's **kwargs (which should be documented as \*\*kwargs or enclosed in double-backticks (which I can't figure out how to use on GitHub without triggering the code styling.))

`~matplotlib.pylab.plot` and
`~matplotlib.pylab.plot` and
`matplotlib.axes.Axes.set_yscale` arguments.

%(Line2D)s
Copy link
Member

Choose a reason for hiding this comment

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

Line2D probably also needs to be updated to get this interpolation correct.


See also
--------
:meth:`loglog`: For example code and figure.

"""
if not self._hold:
self.cla()
Expand Down