python notebook lab extension to zoom into matplotlib code example
Example: how can i zoom out and visualize a 2d plot in jupyter notebook
import matplotlib
matplotlib.use('nbagg')
import matplotlib.pyplot as plt
import matplotlib
matplotlib.use('nbagg')
import matplotlib.pyplot as plt