Home > Blockchain >  Voronoi cells - remove boundary lines
Voronoi cells - remove boundary lines

Time:03-09

I would really appreciate it if someone can help me with the code below. I am trying to plot Voronoi cells for some random data points and I want to assign some colours. The to reproduce my work is provided below. As you can see in the plot, there are thick lines. I completely want to eliminate those lines. Is there any way to get rid of them? I want to fill the polygon but not have the line. Any recommendation is greatly appreciated.

I took most of the code from enter image description here

CodePudding user response:

You can pass linewidth=0 to plt.fill() to get rid of the lines.

  • Related