Source

orange-modelmaps / examples / projections / distance_histograms.py

Full commit
import cPickle as pickle
import pylab, os.path

ROOT = "C:\\Users\\Miha\\work\\res\\modelmaps\\_projections_"

vals = pickle.load(open(os.path.join(ROOT, "hist_vals.pkl"), "rb"))

n, bins, patches = pylab.hist(vals["zoo class"], 200, normed=1, histtype='stepfilled')

pylab.figure()

n, bins, patches = pylab.hist(vals["zoo mann"], 200, normed=1, histtype='stepfilled')

pylab.figure()

n, bins, patches = pylab.hist(vals["breast class"], 200, normed=1, histtype='stepfilled')

pylab.figure()

n, bins, patches = pylab.hist(vals["breast mann"], 200, normed=1, histtype='stepfilled')

pylab.show()