class_docstr: TimeSeries plot, displaying each column in the input dataframe as a curve over time.
class_docstr_tok: ["TimeSeries","plot",",","displaying","each","column","in","the","input","dataframe","as","a","curve","over","time","."]
code: def __init__(
      self,
      df: pd.DataFrame,
      columns: Optional[Union[str, list]] = None,
      labels: Optional[Union[str, list]] = None,
      colors: Optional[Union[str, list]] = None,
      line_width: Optional[Union[float, list]] = 1.5,
      label_xaxis: str = "",
      label_yaxis: str = "",
      fmt_x: str = "%b/%Y",
      fmt_y: str = "",
      xaxis: Optional[Union[bool, str]] = "bottom",
      yaxis: Optional[Union[bool, str]] = "left",
      show_legend: bool = True,
      legend_position: str = "right",
      rangeslider: bool = True,
      rangeselector: bool = True,
      hovertemplate: str = "<b>%{meta.label_xaxis}</b>: %{x}<br>"
      "<b>%{meta.label}</b>: %{y:.2f}"
      "<extra></extra>",
      **kwargs: Any,
  ) -> None:
      super().__init__(**kwargs)
      self.df = df.copy()
      self.columns = columns
      self.labels = labels
      self.colors = colors
      self.line_width = line_width
      self.label_xaxis = label_xaxis
      self.label_yaxis = label_yaxis
      self.fmt_y = fmt_y
      self.fmt_x = fmt_x
      self.xaxis = xaxis
      self.yaxis = yaxis
      self.show_legend = show_legend
      self.legend_position = legend_position
      self.rangeslider = rangeslider
      self.rangeselector = rangeselector
      self.hovertemplate = hovertemplate
  
file_path: tslumen/tslumen/plot/interactive/line.py
imports: from typing import Union, Optional, Any
  import pandas
  from tslumen.plot.interactive.base import VizBase, go, make_subplots
label_desc: Use image node_id 1 to create a new TS object from inherited base classes: VizBase with example: obj = TS(df, columns, labels, colors, line_width, label_xaxis, label_yaxis, fmt_x, fmt_y, xaxis, yaxis, show_legend, legend_position, rangeslider, rangeselector, hovertemplate)