I am trying to plot on top of scipy plot. Used [this solution] (Python: plot on top of scipy plot? (voronoi)) but still cannot get single plot. Can anyone help? Thanks in advance... Sample plots are the following and trying to overlap them: Voronoi Diagram and Scatter Plot
vor = Voronoi( points )
voronoi_plot_2d(vor)
import matplotlib.pyplot as plt
import csv
x = []
y = []
with open('Junctions.csv','r') as csvfile:
plots = csv.reader(csvfile, delimiter=',')
for row in plots:
x.append((row[0]))
y.append((row[1]))
fig,ax = plt.subplots()
ax.scatter(x,y,s=5,color='r')
for i, txt in enumerate(n):
ax.annotate(txt, (x[i], y[i]), size = 6)
plt.show()