human
Write me a Python code to dynamic image display.
assistant
Here is a Python code to dynamic image display

import numpy as np

def display_image(image):
    """Display the image."""
    from PIL import Image
    import matplotlib.pyplot as plt
    image = Image.fromarray(image)
    plt.imshow(image)
    plt.show()

# Enter the image
image = np.random.randint(0, 255, size=(100, 100, 3), dtype=np.uint8)

# Calling the function
print((display_image(image)))

#Example Output
# Figure(640x480)
# None

#Remember to inspect code for bugs.