Hello,

Thanks for updating the files API_CHANGES & MIGRATION.txt, I have now 
read them and fear that a problem I have is due to calling:

    f = figure()
    h = f.bbox.height()

Which should change to:

    f = figure()
    h = f.bbox.height

Is the expectation that I should write something like this instead:

    if f.bbox.height.hasattr("__call__"):
        h = f.bbox.height()
    else:
        h = f.bbox.height


It lacks something aesthetically. How are people handling this? Do you 
insist on users having a pre- or post- 0.98 version? Have I missed a 
trick? Perhaps some kind of monkeypatch that can be applied so that old 
versions would appear to look like the new versions?

Thanks,

Jon




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to