speechtotext.plot.plotting
Module that plots the results from the benchmarks.
Use this module like this:
# Imports
from speechtotext.plot.plotting import BasePlot, Plotting
# Create plotting object
plotting = Plotting(results=results, errors=errors, report_name="report_name")
# Create all custom plots that are added to Plotting.CUSTOM_RESULTS, Plotting.CUSTOM_ERRORS, Plotting.CUSTOM_PLOTS, Plotting.CUSTOM_ERROR_PLOTS
# The Plotting.CUSTOM_ERROR_PLOTS and Plotting.CUSTOM_ERRORS will be saved in the `error_plots` directory.
plotting.save_all()
Classes
Parent class for custom plots with matplotlib. |
|
Parent class for custom plots with Plotly. |
|
Dynamically create plot classes for each metric for each database in the given dataframe. |
|
Dynamically create plot classes for each metric for each dataset in the given dataframe. |
|
Class that is used to create plots for an benchmark. |