Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2bdabb

Browse files
committed
added cfreeze and thaw for transformations
svn path=/trunk/matplotlib/; revision=292
1 parent fd6240a commit a2bdabb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/_transforms.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,9 @@ void Transformation::init_type()
11321132
behaviors().doc("Transformation base class");
11331133

11341134

1135+
add_varargs_method("freeze", &Transformation::freeze, "freeze(); eval and freeze the lazy objects\n");
1136+
add_varargs_method("thaw", &Transformation::thaw, "thaw(); release the laszy objects\n");
1137+
11351138
add_varargs_method("get_bbox1", &Transformation::get_bbox1, "get_bbox1(); return the Func instance on x\n");
11361139
add_varargs_method("get_bbox2", &Transformation::get_bbox2, "get_bbox2(); return the Func instance on y\n");
11371140

0 commit comments

Comments
 (0)