Violin plot

Parameters
  • df: pd.DataFrame
    The dataframe with the data to plot
  • y: str
    The column name of the data for the y-axis
  • hline: Optional[float] = None
    An optional dashed horizontal line to draw on the plot
  • vline: Optional[float] = None
    An optional dashed vertical line to draw on the plot
Example