File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 4545def plot (
4646 df : pd .DataFrame ,
4747 value_col : str | list [str ],
48- x_label : str ,
49- y_label : str ,
50- title : str ,
48+ x_label : str | None = None ,
49+ y_label : str | None = None ,
50+ title : str | None = None ,
5151 x_col : str | None = None ,
5252 group_col : str | None = None ,
5353 ax : Axes | None = None ,
@@ -61,9 +61,9 @@ def plot(
6161 Args:
6262 df (pd.DataFrame): The dataframe to plot.
6363 value_col (str or list of str): The column(s) to plot.
64- x_label (str): The x-axis label.
65- y_label (str): The y-axis label.
66- title (str): The title of the plot.
64+ x_label (str, optional ): The x-axis label.
65+ y_label (str, optional ): The y-axis label.
66+ title (str, optional ): The title of the plot.
6767 x_col (str, optional): The column to be used as the x-axis. If None, the index is used.
6868 group_col (str, optional): The column used to define different lines.
6969 legend_title (str, optional): The title of the legend.
You can’t perform that action at this time.
0 commit comments