Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

zoom in librosa.display.specshow()

# Assign variable to librosa.display.specshow() as example below:
p =librosa.display.specshow(librosa.amplitude_to_db(Y,ref=np.max), y_axis='linear', x_axis='time', sr=fs, hop_length=H, cmap=cmap)
p.xaxis.zoom(3)  #the zoom-in with +number or out with -number on x-axis 
# similarly the y-axis can be zoomed-in as:
p.yaxis.zoom(3) 
  
Comment

PREVIOUS NEXT
Code Example
Python :: python get colorscale 
Python :: python nearly equal 
Python :: get value of bit in integer python 
Python :: munshi premchand 
Python :: how to check mix types in pandas column 
Python :: selenium screenshot python user agent 
Python :: list dictionary to json file python with tab 
Python :: opposite case in python 
Python :: python trace code execution 
Python :: python string lower method 
Python :: python defaultdict default value 
Python :: run django server on any network address of the system 
Python :: write code in python to Open all links on a page in separate browser tabs 
Python :: printing coloured and bold text in python 
Python :: how to split a dataframe into train and test 
Python :: how to decode recv data in python 
Python :: python display text in label on new line 
Python :: pandas find column with max value for each row 
Python :: python 3 docs 
Python :: selenium select svg python3 
Python :: tensorflow conv2d 
Python :: append numeric number in and auto increment in using pandas 
Python :: pandas data frame from part of excel 
Python :: python odd or even 
Python :: code pandas from url 
Python :: python sum only numbers 
Python :: get legend lables and handles from plot in matplotlib 
Python :: python get function docstring 
Python :: filtering certain rows in python that contains a part of string 
Python :: minio python create bucket 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =