Changeset 9299:3f490d1b9e2e in orange


Ignore:
Timestamp:
12/05/11 16:35:56 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
ddd44ad3acf368f04cb38a0598b91965a791944b
Message:

changed fileName -> file_name argument to dot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/classification/tree.py

    r9267 r9299  
    26282628        "userFormats": "user_formats", "minExamples": "min_examples", \ 
    26292629        "maxDepth": "max_depth", "simpleFirst": "simple_first"}) 
    2630     def dot(self, fileName, leaf_str = "", node_str = "", \ 
     2630    def dot(self, file_name, leaf_str = "", node_str = "", \ 
    26312631            leaf_shape="plaintext", node_shape="plaintext", \ 
    26322632            user_formats=[], min_examples=0, max_depth=1e10, \ 
     
    26472647        for various outlines supported by GraphViz. 
    26482648        """ 
    2649         fle = type(fileName) == str and open(fileName, "wt") or fileName 
     2649        fle = type(file_name) == str and open(file_name, "wt") or file_name 
    26502650 
    26512651        _TreeDumper(leaf_str, node_str, user_formats +  
Note: See TracChangeset for help on using the changeset viewer.