image <- system.file('extdata', 'produce.png', package = 'lime')
# plot with default settings
plot_superpixels(image)
# Test different settings
plot_superpixels(image, n_superpixels = 100, colour = 'white')
Run the code above in your browser using DataCamp Workspace