<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi David,</p>

<p dir="auto">I’ve definitely run into this, to my annoyance.  </p>

<p dir="auto">Do you think you can open an issue on <a href="https://github.com/matplotlib/matplotlib/issues">GitHub</a>?  If you don’t want to, I’m happy to do it.</p>

<p dir="auto">With respect to one contour at zero, its easier than Matlab:</p>

<p dir="auto">ax.contour(X, np.array([0.]))</p>

<p dir="auto">works for me…</p>

<p dir="auto">Cheers,  </p>

<p dir="auto">On 16 Aug 2017, at 5:33, Xi Shen wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:normal"></div>
<blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><div id="32631C1A-7C40-40A6-9286-D29F77D45D30"><div dir="ltr">Hi,<div><br></div><div><a href="https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.contour.html">https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.contour.html</a> says the contour function accept a vector parameter V which must be in increasing value. But the contour function in MATLAB does not have this restriction.<br></div><div><br></div><div>I understand the underlining implementation of these two functions could be very different. I want to understand what is the purpose of this restriction, and if it possible to create a contour image the same as MATLAB does by using contour with V = [0 0]?</div><div><br></div><div><br></div><div>Regards,</div><div>David</div><div><br></div></div></div></blockquote>
<div style="white-space:normal">
<blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px">
</blockquote><p dir="auto">_______________________________________________<br>
Matplotlib-users mailing list<br>
Matplotlib-users@python.org<br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users">https://mail.python.org/mailman/listinfo/matplotlib-users</a></p>
</div>
<div style="white-space:normal">
</div>
</div>
</body>
</html>