Skip to content

pd.DataFrame.plot

pandas.DataFrame.plot(x=None, y=None, kind="line", figsize=None, xlabel=None, ylabel=None, title=None, legend=True, fontsize=None, xticks=None, yticks=None, ax=None)

Supported Arguments

  • x: Constant String column name, Constant integer
  • y: Constant String column name, Constant integer
  • kind: constant String ("line" or "scatter")
  • figsize: constant numeric tuple (width, height)
  • xlabel: constant String
  • ylabel: constant String
  • title: constant String
  • legend: boolean
  • fontsize: integer
  • xticks: Constant Tuple
  • yticks: Constant Tuple
  • ax: Matplotlib Axes Object