Skip to content

Commit 6751b9c

Browse files
DOC: fix numpydoc section titles in misc plotting docstrings (#19899)
1 parent 4ddbcb8 commit 6751b9c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

pandas/plotting/_misc.py

+16-16
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ def _get_marker_compat(marker):
149149
def radviz(frame, class_column, ax=None, color=None, colormap=None, **kwds):
150150
"""RadViz - a multivariate data visualization algorithm
151151
152-
Parameters:
153-
-----------
152+
Parameters
153+
----------
154154
frame: DataFrame
155155
class_column: str
156156
Column name containing class names
@@ -163,8 +163,8 @@ def radviz(frame, class_column, ax=None, color=None, colormap=None, **kwds):
163163
kwds: keywords
164164
Options to pass to matplotlib scatter plotting method
165165
166-
Returns:
167-
--------
166+
Returns
167+
-------
168168
ax: Matplotlib axis object
169169
"""
170170
import matplotlib.pyplot as plt
@@ -247,8 +247,8 @@ def andrews_curves(frame, class_column, ax=None, samples=200, color=None,
247247
linearly spaced between -pi and +pi. Each row of frame then corresponds to
248248
a single curve.
249249
250-
Parameters:
251-
-----------
250+
Parameters
251+
----------
252252
frame : DataFrame
253253
Data to be plotted, preferably normalized to (0.0, 1.0)
254254
class_column : Name of the column containing class names
@@ -262,8 +262,8 @@ def andrews_curves(frame, class_column, ax=None, samples=200, color=None,
262262
kwds: keywords
263263
Options to pass to matplotlib plotting method
264264
265-
Returns:
266-
--------
265+
Returns
266+
-------
267267
ax: Matplotlib axis object
268268
269269
"""
@@ -325,17 +325,17 @@ def f(t):
325325
def bootstrap_plot(series, fig=None, size=50, samples=500, **kwds):
326326
"""Bootstrap plot.
327327
328-
Parameters:
329-
-----------
328+
Parameters
329+
----------
330330
series: Time series
331331
fig: matplotlib figure object, optional
332332
size: number of data points to consider during each sampling
333333
samples: number of times the bootstrap procedure is performed
334334
kwds: optional keyword arguments for plotting commands, must be accepted
335335
by both hist and plot
336336
337-
Returns:
338-
--------
337+
Returns
338+
-------
339339
fig: matplotlib figure
340340
"""
341341
import random
@@ -503,15 +503,15 @@ def parallel_coordinates(frame, class_column, cols=None, ax=None, color=None,
503503
def lag_plot(series, lag=1, ax=None, **kwds):
504504
"""Lag plot for time series.
505505
506-
Parameters:
507-
-----------
506+
Parameters
507+
----------
508508
series: Time series
509509
lag: lag of the scatter plot, default 1
510510
ax: Matplotlib axis object, optional
511511
kwds: Matplotlib scatter method keyword arguments, optional
512512
513-
Returns:
514-
--------
513+
Returns
514+
-------
515515
ax: Matplotlib axis object
516516
"""
517517
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)