File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 45
45
def plot (
46
46
df : pd .DataFrame ,
47
47
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 ,
51
51
x_col : str | None = None ,
52
52
group_col : str | None = None ,
53
53
ax : Axes | None = None ,
@@ -61,9 +61,9 @@ def plot(
61
61
Args:
62
62
df (pd.DataFrame): The dataframe to plot.
63
63
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.
67
67
x_col (str, optional): The column to be used as the x-axis. If None, the index is used.
68
68
group_col (str, optional): The column used to define different lines.
69
69
legend_title (str, optional): The title of the legend.
You can’t perform that action at this time.
0 commit comments