how to add a zoom button to an ipython display 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