[Matplotlib-users] matplotlib._cntr.Cntr gone in 2.2

Fabien fabien.maussion at gmail.com
Mon Mar 5 12:49:09 EST 2018


> On 03/05/2018 03:03 PM, Thomas Caswell wrote:
>> I suggest looking at skimage ( 
>> http://scikit-image.org/docs/dev/auto_examples/edges/plot_contours.html ) 
>> for contouring code.

For the record (and to my own surprise), it seems that skimage and the 
deprecated Cntr are producing *exactly* the same results (appart from 
the order of the vertices of course). I haven't tested it in all 
possible cases of course, but changing to skimage simplified the code 
and passed through all our tests.

Thanks!

Fabien



More information about the Matplotlib-users mailing list