arthur-e / unmixing

Interactive tools for spectral mixture analysis of multispectral raster data in Python
MIT License
105 stars 24 forks source link

visualize.FeatureSpace has RuntimeError with plot_feature_space() when colorbar used #3

Open arthur-e opened 7 years ago

arthur-e commented 7 years ago
from unmixing.visualize import FeatureSpace
vis_fs = FeatureSpace(path = '/home/arthur/Desktop/detroit.tiff', nodata = -9999,
                      feature_limit = None)
vis_fs.plot_feature_space(c = 2) # Anytime `c` is set
RuntimeError: No mappable was found to use for colorbar creation. First define a mappable such as an image (with imshow) or a contour set (with contourf).