BarChart.validate_params

BarChart.validate_params()

Validate figure is a matplotlib Figure instance

Parameters
  • attribute ([type]) – Unused as required by attrs decorator

  • value (plt.figure) – Figure instance for chart

Raises

TypeError – figure provided is not a matplotlib Figure instance