Skip to content

Commit aeb634a

Browse files
DOC: fix ES01 for pandas.plotting.table (#60852)
1 parent 348fd11 commit aeb634a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pandas/plotting/_misc.py

+7
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ def table(ax: Axes, data: DataFrame | Series, **kwargs) -> Table:
3030
"""
3131
Helper function to convert DataFrame and Series to matplotlib.table.
3232
33+
This method provides an easy way to visualize tabular data within a Matplotlib
34+
figure. It automatically extracts index and column labels from the DataFrame
35+
or Series, unless explicitly specified. This function is particularly useful
36+
when displaying summary tables alongside other plots or when creating static
37+
reports. It utilizes the `matplotlib.pyplot.table` backend and allows
38+
customization through various styling options available in Matplotlib.
39+
3340
Parameters
3441
----------
3542
ax : Matplotlib axes object

0 commit comments

Comments
 (0)