I am trying to plot a spectrogram from my Numpy array. I tried to look up stack overflow for a solution but could only find that the version of tornado might be needed to be downgraded but even that did not help. Can you please help me with my plottings. I am attaching my code below and the image of the error that I get.
# Plotting interactive plots -
import holoviews as hv
from holoviews import opts
hv.extension('bokeh', 'matplotlib')
import os
os.environ['HV_DOC_HTML'] = 'true'
#%env HV_DOC_HTML=true
import numpy as np
from bokeh.plotting import figure, show
from bokeh.io import output_notebook
hv.extension('bokeh')
output_notebook()
import imp
imp.reload(hv)
hv_spec = hv.Dataset(xr_spec)
hv.extension('bokeh')
hv_spec.to(hv.Image, ['time', 'freq'])