source: orange/orange/orngLookup.py @ 8042:ffcb93bc9028

Revision 8042:ffcb93bc9028, 449 bytes checked in by markotoplak, 3 years ago (diff)

Hierarchical clustering: also catch RuntimeError when importing matplotlib (or the documentation could not be built on server).

Line 
1import orange
2from Orange.classification.lookup import \
3     lookup_from_bound as lookupFromBound, \
4     lookup_from_function as lookupFromFunction, \
5     lookup_from_data as lookupFromExamples, \
6     dump_lookup_function as printLookupFunction
7
8
9for tpe in [orange.ClassifierByLookupTable, orange.ClassifierByLookupTable2, orange.ClassifierByLookupTable3, orange.ClassifierByExampleTable]:
10    orange.setoutput(tpe, "tab", printLookupFunction)
Note: See TracBrowser for help on using the repository browser.