<s>[INST] import matplotlib.pyplot as plt
import numpy as np

# Creating a sample data
x = np.arange(10)
y = np.random.rand(10)

# Creating the plot
plt.figure(figsize=(10,6))

# Adding text
plt.text(2.5, 0.65, 'Plot Example\nWith multiple\ntext', fontproperties={'fontweight':'bold', 'fontsize':15}, bbox=dict(facecolor='blue', alpha=0.5))

# Zoom in zoom out functionality
plt.axis('equal')

plt.plot(x, y)

# Show the plot
plt.show()
plt.close()

I am trying to zoom in zoom out on the plot and scroll through data points but the zoom functionality is not working for me. 

The reason is most likely due to the `plt.axis('equal')` command that removes the ability to zoom in/out. But I am using it to ensure that the x and y axis are in the same scale so that the aspect ratio is maintained. 

Is there any other way to achieve this to both zoom in /out and still preserve the aspect ratio of the plot while scrolling?[/INST]