<｜begin▁of▁sentence｜>### Instruction:
Given latent positions generated from a 2-dimensional Dirichlet distribution, can you use `rdpg_corr` from `graspologic` to sample a correlated random dot product graph (RDPG) pair? Print the adjacency matrices of both graphs.
### Response:
import numpy as np
from graspologic.simulations import rdpg_corr

# Set random seed for reproducibility
np.random.seed(1234)

# Generate random latent positions using 2-dimensional Dirichlet distribution
X = np.random.dirichlet([1, 1], size=5)
Y = None

# Sample a correlated RDPG graph pair
G1, G2 = rdpg_corr(X, Y, 0.3, rescale=False, directed=False, loops=False)

# Print the generated graphs
print('Graph 1 (Adjacency Matrix):\n', G1)
print('Graph 2 (Adjacency Matrix):\n', G2)
<|EOT|>
