|
19 | 19 | )
|
20 | 20 |
|
21 | 21 |
|
22 |
| -def table(ax, data, rowLabels=None, colLabels=None, **kwargs): |
| 22 | +def table(ax, data, **kwargs): |
23 | 23 | """
|
24 | 24 | Helper function to convert DataFrame and Series to matplotlib.table.
|
25 | 25 |
|
@@ -285,14 +285,18 @@ def andrews_curves(
|
285 | 285 | ----------
|
286 | 286 | frame : DataFrame
|
287 | 287 | Data to be plotted, preferably normalized to (0.0, 1.0).
|
288 |
| - class_column : Name of the column containing class names |
289 |
| - ax : matplotlib axes object, default None |
290 |
| - samples : Number of points to plot in each curve |
291 |
| - color : list or tuple, optional |
292 |
| - Colors to use for the different classes. |
| 288 | + class_column : label |
| 289 | + Name of the column containing class names. |
| 290 | + ax : axes object, default None |
| 291 | + Axes to use. |
| 292 | + samples : int |
| 293 | + Number of points to plot in each curve. |
| 294 | + color : str, list[str] or tuple[str], optional |
| 295 | + Colors to use for the different classes. Colors can be strings |
| 296 | + or 3-element floating point RBG values. |
293 | 297 | colormap : str or matplotlib colormap object, default None
|
294 |
| - Colormap to select colors from. If string, load colormap with that name |
295 |
| - from matplotlib. |
| 298 | + Colormap to select colors from. If a string, load colormap with that |
| 299 | + name from matplotlib. |
296 | 300 | **kwargs
|
297 | 301 | Options to pass to matplotlib plotting method.
|
298 | 302 |
|
@@ -430,7 +434,7 @@ def parallel_coordinates(
|
430 | 434 |
|
431 | 435 | Returns
|
432 | 436 | -------
|
433 |
| - class:`matplotlib.axis.Axes` |
| 437 | + matplotlib.axis.Axes |
434 | 438 |
|
435 | 439 | Examples
|
436 | 440 | --------
|
@@ -470,19 +474,21 @@ def lag_plot(series: Series, lag: int = 1, ax: Axes | None = None, **kwds) -> Ax
|
470 | 474 |
|
471 | 475 | Parameters
|
472 | 476 | ----------
|
473 |
| - series : Time series |
474 |
| - lag : lag of the scatter plot, default 1 |
| 477 | + series : Series |
| 478 | + The time series to visualize. |
| 479 | + lag : int, default 1 |
| 480 | + Lag length of the scatter plot. |
475 | 481 | ax : Matplotlib axis object, optional
|
| 482 | + The matplotlib axis object to use. |
476 | 483 | **kwds
|
477 | 484 | Matplotlib scatter method keyword arguments.
|
478 | 485 |
|
479 | 486 | Returns
|
480 | 487 | -------
|
481 |
| - class:`matplotlib.axis.Axes` |
| 488 | + matplotlib.axis.Axes |
482 | 489 |
|
483 | 490 | Examples
|
484 | 491 | --------
|
485 |
| -
|
486 | 492 | Lag plots are most commonly used to look for patterns in time series data.
|
487 | 493 |
|
488 | 494 | Given the following time series
|
@@ -514,18 +520,19 @@ def autocorrelation_plot(series: Series, ax: Axes | None = None, **kwargs) -> Ax
|
514 | 520 |
|
515 | 521 | Parameters
|
516 | 522 | ----------
|
517 |
| - series : Time series |
| 523 | + series : Series |
| 524 | + The time series to visualize. |
518 | 525 | ax : Matplotlib axis object, optional
|
| 526 | + The matplotlib axis object to use. |
519 | 527 | **kwargs
|
520 | 528 | Options to pass to matplotlib plotting method.
|
521 | 529 |
|
522 | 530 | Returns
|
523 | 531 | -------
|
524 |
| - class:`matplotlib.axis.Axes` |
| 532 | + matplotlib.axis.Axes |
525 | 533 |
|
526 | 534 | Examples
|
527 | 535 | --------
|
528 |
| -
|
529 | 536 | The horizontal lines in the plot correspond to 95% and 99% confidence bands.
|
530 | 537 |
|
531 | 538 | The dashed line is 99% confidence band.
|
|
0 commit comments