Histogram

Parameters
  • df: pd.DataFrame
    The dataframe with the data to plot
  • x: str
    The column name of the data for the histogram
  • media: str
    The column name of the media to display
  • bins: int = 20
    The number of bins to use for the histogram
  • 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