Skip to content

Commit

Permalink
DOC: fix numpydoc section titles in misc plotting docstrings (#19899)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche authored Feb 26, 2018
1 parent 4ddbcb8 commit 6751b9c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions pandas/plotting/_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ def _get_marker_compat(marker):
def radviz(frame, class_column, ax=None, color=None, colormap=None, **kwds):
"""RadViz - a multivariate data visualization algorithm
Parameters:
-----------
Parameters
----------
frame: DataFrame
class_column: str
Column name containing class names
Expand All @@ -163,8 +163,8 @@ def radviz(frame, class_column, ax=None, color=None, colormap=None, **kwds):
kwds: keywords
Options to pass to matplotlib scatter plotting method
Returns:
--------
Returns
-------
ax: Matplotlib axis object
"""
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -247,8 +247,8 @@ def andrews_curves(frame, class_column, ax=None, samples=200, color=None,
linearly spaced between -pi and +pi. Each row of frame then corresponds to
a single curve.
Parameters:
-----------
Parameters
----------
frame : DataFrame
Data to be plotted, preferably normalized to (0.0, 1.0)
class_column : Name of the column containing class names
Expand All @@ -262,8 +262,8 @@ def andrews_curves(frame, class_column, ax=None, samples=200, color=None,
kwds: keywords
Options to pass to matplotlib plotting method
Returns:
--------
Returns
-------
ax: Matplotlib axis object
"""
Expand Down Expand Up @@ -325,17 +325,17 @@ def f(t):
def bootstrap_plot(series, fig=None, size=50, samples=500, **kwds):
"""Bootstrap plot.
Parameters:
-----------
Parameters
----------
series: Time series
fig: matplotlib figure object, optional
size: number of data points to consider during each sampling
samples: number of times the bootstrap procedure is performed
kwds: optional keyword arguments for plotting commands, must be accepted
by both hist and plot
Returns:
--------
Returns
-------
fig: matplotlib figure
"""
import random
Expand Down Expand Up @@ -503,15 +503,15 @@ def parallel_coordinates(frame, class_column, cols=None, ax=None, color=None,
def lag_plot(series, lag=1, ax=None, **kwds):
"""Lag plot for time series.
Parameters:
-----------
Parameters
----------
series: Time series
lag: lag of the scatter plot, default 1
ax: Matplotlib axis object, optional
kwds: Matplotlib scatter method keyword arguments, optional
Returns:
--------
Returns
-------
ax: Matplotlib axis object
"""
import matplotlib.pyplot as plt
Expand Down

0 comments on commit 6751b9c

Please sign in to comment.