import matplotlib.pyplot as plt
a = 7
b = a + 3
b
10
# Create the plot
fig, ax = plt.subplots()
ax.scatter(a, b)
ax.set_xlabel("a")
ax.set_ylabel("b")
ax.set_title("Plot of b against a")
Text(0.5, 1.0, 'Plot of b against a')

png