From ca740144ae4652dba560dc25109c4f4eb60e92de Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Wed, 5 Feb 2025 12:40:03 +0530 Subject: [PATCH] DOC: fix ES01 for pandas.plotting.table --- pandas/plotting/_misc.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py index 3f839cefe798e..0e0fb23d924bc 100644 --- a/pandas/plotting/_misc.py +++ b/pandas/plotting/_misc.py @@ -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