Skip to content
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

DOC: fix ES01 for pandas.plotting.table #60852

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Changes from all commits
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
7 changes: 7 additions & 0 deletions pandas/plotting/_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ def table(ax: Axes, data: DataFrame | Series, **kwargs) -> Table:
"""
Helper function to convert DataFrame and Series to matplotlib.table.

This method provides an easy way to visualize tabular data within a Matplotlib
figure. It automatically extracts index and column labels from the DataFrame
or Series, unless explicitly specified. This function is particularly useful
when displaying summary tables alongside other plots or when creating static
reports. It utilizes the `matplotlib.pyplot.table` backend and allows
customization through various styling options available in Matplotlib.

Parameters
----------
ax : Matplotlib axes object
Expand Down
Loading