evidently.renderers
Submodules
base_renderer module
class BaseRenderer(color_options: Optional[ColorOptions] = None)
Attributes:
class DetailsInfo(title: str, info: evidently.model.widget.BaseWidgetInfo, id: str = )
Attributes:
class MetricRenderer(color_options: Optional[ColorOptions] = None)
Attributes:
Methods:
class RenderersDefinitions(typed_renderers: dict = , default_html_test_renderer: Optional[evidently.renderers.base_renderer.TestRenderer] = None, default_html_metric_renderer: Optional[evidently.renderers.base_renderer.MetricRenderer] = None)
Attributes:
class TestHtmlInfo(name: str, description: str, status: str, details: List[DetailsInfo], groups: Dict[str, str])
Attributes:
Methods:
class TestRenderer(color_options: Optional[ColorOptions] = None)
Attributes:
Methods:
default_renderer(wrap_type)
html_widgets module
class ColumnDefinition(title: str, field_name: str, type: evidently.renderers.html_widgets.ColumnType = <ColumnType.STRING: 'string'>, sort: Optional[evidently.renderers.html_widgets.SortDirection] = None, options: Optional[dict] = None)
Attributes:
Methods:
class ColumnType(value)
Attributes:
class CounterData(label: str, value: str)
Attributes:
Methods:
class DetailsPartInfo(title: str, info: Union[BaseWidgetInfo, PlotlyGraphInfo])
Attributes:
class GraphData(title: str, data: dict, layout: dict)
Attributes:
Methods:
class HeatmapData(name: str, matrix: pandas.core.frame.DataFrame)
Attributes:
class HistogramData(name: str, x: list, y: List[Union[int, float]])
Attributes:
class RichTableDataRow(fields: dict, details: Optional[RowDetails] = None)
Attributes:
class RowDetails(parts: Optional[List[DetailsPartInfo]] = None)
Attributes:
Methods:
class SortDirection(value)
Attributes:
class TabData(title: str, widget: evidently.model.widget.BaseWidgetInfo)
Attributes:
class WidgetSize(value)
Attributes:
counter(*, counters: List[CounterData], title: str = '', size: WidgetSize = WidgetSize.FULL)
Example
get_class_separation_plot_data(current_plot: DataFrame, reference_plot: Optional[DataFrame], target_name: str, color_options: ColorOptions)
get_heatmaps_widget(*, title: str = '', primary_data: HeatmapData, secondary_data: Optional[HeatmapData] = None, size: WidgetSize = WidgetSize.FULL, color_options: ColorOptions)
get_histogram_figure(*, primary_hist: HistogramData, secondary_hist: Optional[HistogramData] = None, color_options: ColorOptions, orientation: str = 'v')
get_histogram_figure_with_quantile(*, current: HistogramData, reference: Optional[HistogramData] = None, current_quantile: float, reference_quantile: Optional[float] = None, color_options: ColorOptions, orientation: str = 'v')
get_histogram_figure_with_range(*, primary_hist: HistogramData, secondary_hist: Optional[HistogramData] = None, left: Union[float, int], right: Union[float, int], orientation: str = 'v', color_options: ColorOptions)
get_histogram_for_distribution(*, current_distribution: Distribution, reference_distribution: Optional[Distribution] = None, title: str = '', xaxis_title: Optional[str] = None, yaxis_title: Optional[str] = None, color_options: ColorOptions)
get_pr_rec_plot_data(current_pr_curve: dict, reference_pr_curve: Optional[dict], color_options: ColorOptions)
get_roc_auc_tab_data(curr_roc_curve: dict, ref_roc_curve: Optional[dict], color_options: ColorOptions)
header_text(*, label: str, title: str = '', size: WidgetSize = WidgetSize.FULL)
histogram(*, title: str, primary_hist: HistogramData, secondary_hist: Optional[HistogramData] = None, color_options: ColorOptions, orientation: str = 'v', size: WidgetSize = WidgetSize.FULL, xaxis_title: Optional[str] = None, yaxis_title: Optional[str] = None)
Example
plotly_data(*, title: str, data: dict, layout: dict, size: WidgetSize = WidgetSize.FULL)
Example
plotly_figure(*, title: str, figure: Figure, size: WidgetSize = WidgetSize.FULL)
Example
plotly_graph(*, graph_data: GraphData, size: WidgetSize = WidgetSize.FULL)
Example
plotly_graph_tabs(*, title: str, figures: List[GraphData], size: WidgetSize = WidgetSize.FULL)
Example
rich_table_data(*, title: str = '', size: WidgetSize = WidgetSize.FULL, rows_per_page: int = 10, columns: List[ColumnDefinition], data: List[RichTableDataRow])
Example
table_data(*, column_names: Iterable[str], data: Iterable[Iterable], title: str = '', size: WidgetSize = WidgetSize.FULL)
Example
widget_tabs(*, title: str = '', size: WidgetSize = WidgetSize.FULL, tabs: List[TabData])
Example
widget_tabs_for_more_than_one(*, title: str = '', size: WidgetSize = WidgetSize.FULL, tabs: List[TabData])
notebook_utils module
determine_template(mode: str)
render_utils module
get_distribution_plot_figure(*, current_distribution: Distribution, reference_distribution: Optional[Distribution], color_options: ColorOptions, orientation: str = 'v')
plot_distr(*, hist_curr, hist_ref=None, orientation='v', color_options: ColorOptions)
Last updated