3

I am trying to make a contour plot for a point distribution using mat plot lib, but I find that the outermost points in the distribution are not included inside the perimeter of the outermost contour line. I have tried using the 'contourf' fill method but it just colors the entire region outside the last contour, and I have had trouble finding similar cases online. I have been playing around with the 'levels' parameter but to no avail. Simply put, if I wanted a contour plot whose outermost line encircles the entire point distribution, how would I go about doing that?

Guna
  • 747
  • 1
  • 16
junco
  • 31
  • 2

0 Answers0