Enot visualization package
enot.visualization package contains utility functions which visualizes certain things which ENOT user may want to watch. Some examples: latency distribution in search space operations, and search space operation probability heatmap.
- plot_latency_heatmap(container, annotate_values=False, figsize=None)
Plots latencies of operations by blocks.
- Parameters:
container (SearchSpaceLatencyContainer) – Container for visualization.
annotate_values (bool, optional) – Whether to print probability values over the heatmap (the default is False).
figsize (tuple with two ints or None, optional) – Figure size (the default is None, which uses default matplotlib figure size).
- Returns:
- Return type:
matplotlib.pylab.Figure
- plot_probability_heatmap(probabilities, annotate_values=False, figsize=None)
Plots probabilities of operations by blocks.
- Parameters:
probabilities (list of list of floats or ndarray) – Probabilities for visualization.
annotate_values (bool, optional) – Whether to print probability values over the heatmap (the default is False).
figsize (tuple with two ints or None, optional) – Figure size (the default is None, which uses default matplotlib figure size).
- Returns:
- Return type:
matplotlib.pylab.Figure