<｜begin▁of▁sentence｜>### Instruction:
Given a bipartite graph generated with 3 nodes in one set, 5 in the other, and 10 edges between them, how do you use NetworkX's `bipartite_layout` function to position nodes in two straight lines (aligned vertically), with a default scale of 1, centered at (0,0), and an aspect ratio of 4:3?
### Response:
import networkx as nx
import matplotlib.pyplot as plt

# Generating a random bipartite graph
B = nx.bipartite.gnmk_random_graph(3, 5, 10, seed=123)
top = list(nx.bipartite.sets(B)[0])

# Applying the bipartite layout
pos = nx.bipartite_layout(B, top, align='vertical', scale=1, center=(0, 0), aspect_ratio=4/3)

# Drawing the graph using the computed positions
nx.draw(B, pos, with_labels=True)
plt.show()
<|EOT|>
