import numpy as np
import matplotlib.pyplot as plt

# Generate random data
x = np.random.randn(10000)
y = np.random.randn(10000)

# Create hexbin plot
plt.hexbin(x, y, gridsize=30, cmap='inferno')

# Add labels and title
plt.xlabel('X-axis label')
plt.ylabel('Y-axis label')
plt.title('Hexbin plot of random data')

# Show plot
plt.show()