BGlib.be.viz.be_viz_utils.plot_histograms¶
- BGlib.be.viz.be_viz_utils.plot_histograms(p_hist, p_hbins, title, figure_path=None)[source]¶
- Plots the position averaged spectrogram - Parameters:
- p_hist (2D numpy array) – histogram data arranged as [physical quantity, frequency bin] 
- p_hbins (1D numpy array) – BE frequency that serves as the X axis of the plot 
- title (String) – Plot group name 
- figure_path (String / Unicode) – Absolute path of the file to write the figure to 
 
- Returns:
- fig – Figure handle 
- Return type:
- Matplotlib.pyplot figure