So I was using the function voronoi_plot_2d() which is part of SciPy and when I plot my diagram, I got the diagram below, where some have solid borders between the clusters and some have dashed borders. (The scatter plot of each cluster is hidden)
Do they have separate meaning behind them? If they are the same thing, how can I specify that I only want to plot solid borders, for example? The documentation (http://scipy.github.io/devdocs/generated/scipy.spatial.voronoi_plot_2d.html) does not mention anything.
Also, I got the following warning
MatplotlibDeprecationWarning: The ishold function was deprecated in version 2.0.
MatplotlibDeprecationWarning: axes.hold is deprecated.
when I use the voronoi_plot_2d() function. I'm running Python 3.5, is there a way to make the warning disappear? I don't use either the ishold function or axes.hold in my code, so the warning must've come from inside the voronoi_plot_2d().
Dashed lines are infinite and are used when the Voronoi cell is infinite.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With