Question: why plots:-contourplot gives division by zero when asking for one contours line?

Any explanation why this happens? notice, I did not supply the x and y ranges, let Maple decide.
 

restart;

interface(version);

`Standard Worksheet Interface, Maple 2026.1, Windows 10, April 28 2026 Build ID 2011354`

plots:-contourplot(y+sin(x),'colorbar'=false,':-contours' = 2,size=[100,100]);

plots:-contourplot(y+sin(x),'colorbar'=false,':-contours' = 1,size=[100,100]);

Error, (in plot/iplot2d) numeric exception: division by zero

 


 

Download bug_in_contourplot.mw

Please Wait...