nannyml.plots.components.joy_plot module
- nannyml.plots.components.joy_plot.alert(fig: Figure, data_distributions: DataFrame, color: str, name: str, alerts: Union[ndarray, Series], chunk_keys: Optional[Union[ndarray, Series]] = None, chunk_start_dates: Optional[Union[ndarray, Series]] = None, chunk_end_dates: Optional[Union[ndarray, Series]] = None, chunk_indices: Optional[Union[ndarray, Series]] = None, subplot_args: Optional[Dict[str, Any]] = None, alpha=0.3, plot_quartiles: bool = True, **kwargs) Figure [source]
- nannyml.plots.components.joy_plot.calculate_chunk_distributions(data: Union[ndarray, Series], chunker: Chunker, timestamps: Optional[Union[ndarray, Series]] = None, data_periods: Optional[Union[ndarray, Series]] = None, kde_cut=3, kde_clip=(- inf, inf), post_kde_clip=None)[source]
- nannyml.plots.components.joy_plot.joy(fig: Figure, data_distributions: DataFrame, color: str, name: str, chunk_keys: Optional[Union[ndarray, Series]] = None, chunk_start_dates: Optional[Union[ndarray, Series]] = None, chunk_end_dates: Optional[Union[ndarray, Series]] = None, chunk_indices: Optional[Union[ndarray, Series]] = None, subplot_args: Optional[Dict[str, Any]] = None, alpha=0.2, plot_quartiles: bool = True, **kwargs) Figure [source]