original_docstring: Plot stock prices with a custom title and meaningful axis labels.
docstring: Plot stock prices with a custom title and meaningful axis labels.
docstring_tokens: Plot stock prices with a custom title and meaningful axis labels .
code: def plot_data(df, title="Stock Prices"):
       """Plot stock prices with a custom title and meaningful axis labels."""
       ax=df.plot(title=title, fontsize=12)
       ax.set_xlabel("Date")
       ax.set_ylabel("Price")
       ax.legend(loc='upper left')
       plt.show()
code_tokens: def plot_data ( df , title = "Stock Prices" ) : ax = df . plot ( title = title , fontsize = 12 ) ax . set_xlabel ( "Date" ) ax . set_ylabel ( "Price" ) ax . legend ( loc = 'upper left' ) plt . show ( )
short_docstring: Plot stock prices with a custom title and meaningful axis labels.
short_docstring_tokens: Plot stock prices with a custom title and meaningful axis labels .
comment: """Plot stock prices with a custom title and meaningful axis labels."""