Python: find contour lines from matplotlib.pyplot.contour()
问题 This question was migrated from Mathematica Stack Exchange because it can be answered on Stack Overflow. Migrated 6 years ago . I\'m trying to find (but not draw!) contour lines for some data: from pprint import pprint import matplotlib.pyplot z = [[0.350087, 0.0590954, 0.002165], [0.144522, 0.885409, 0.378515], [0.027956, 0.777996, 0.602663], [0.138367, 0.182499, 0.460879], [0.357434, 0.297271, 0.587715]] cn = matplotlib.pyplot.contour(z) I know cn contains the contour lines I want, but I