From: John H. <jdh...@ac...> - 2004-12-22 23:34:10
|
This is primarily a bug-fix release from 0.65, though a couple of little features managed to sneak in - 4x image speedups for large images - figimage bug fixed - fixed some bugs which caused the colorbar not to update properly when changing colormap interactively - refactored axes management to support delaxes, which deletes, as opposed to clears, a specified axes. Default to current axes - tkagg's classic and new-fangled toolbars are now embeddable. - extended the new set/get introspection features to more classes - fixed some tkagg flakiness on win32 regarding unusual uses of show. - new cross backend animation idiom in examples/anim.py - use interactive mode rather than timers/idle handlers. - deferred some initializations in dates and colors modules for faster load times. http://sourceforge.net/projects/matplotlib Enjoy! JDH |
From: David F. <da...@sj...> - 2004-12-23 12:51:46
|
John Hunter wrote: >This is primarily a bug-fix release from 0.65, though a couple of >little features managed to sneak in > > This is fantastic, I hope it fixes the crashes I've been having which I finally seem to have traced down to matplotlib freeing images ... One question though: FigureManagerBase's add_axes, add_subplot and set_current_axes methods have been removed (and this doesn't seem to be mentioned in API_CHANGES). What should I do to replace a call to add_axes? David |
From: John H. <jdh...@ac...> - 2004-12-23 14:52:37
|
>>>>> "David" == David Fraser <da...@sj...> writes: David> This is fantastic, I hope it fixes the crashes I've been David> having which I finally seem to have traced down to David> matplotlib freeing images ... Hi David, It probably won't fix it, because I didn't do anything that should effect memory handling, but we'll keep our fingers crossed. If you continue to experience problems and have any more information about the bug, pass it on. David> One question though: David> FigureManagerBase's add_axes, add_subplot and David> set_current_axes methods have been removed (and this David> doesn't seem to be mentioned in API_CHANGES). What should I David> do to replace a call to add_axes? Sorry, I got lazy. I updated API_CHANGES on the web. I thought only the GUI backends were using add_subplot, set_current_axes, etc, and I ported the changes to all the GUIs. See my last post http://sourceforge.net/mailarchive/forum.php?thread_id=6207208&forum_id=36187 for more information. Basically the figure class itself maintains the current axes - the motivation for the changes is in the post above. Call fig.add_axes, fig.add_subplot, fig.gca and fig.sca (set_current_axes). Hope this helps, JDH |
From: David F. <da...@sj...> - 2004-12-23 15:14:08
|
John Hunter wrote: >>>>>>"David" == David Fraser <da...@sj...> writes: >>>>>> >>>>>> > > David> This is fantastic, I hope it fixes the crashes I've been > David> having which I finally seem to have traced down to > David> matplotlib freeing images ... > >Hi David, > >It probably won't fix it, because I didn't do anything that should >effect memory handling, but we'll keep our fingers crossed. If you >continue to experience problems and have any more information about >the bug, pass it on. > > Actually it has seemed to have fixed it. I'm not going to go back and work out why though ... thanks for the update! Exactly when I needed it! > David> One question though: > David> FigureManagerBase's add_axes, add_subplot and > David> set_current_axes methods have been removed (and this > David> doesn't seem to be mentioned in API_CHANGES). What should I > David> do to replace a call to add_axes? > >Sorry, I got lazy. I updated API_CHANGES on the web. I thought only >the GUI backends were using add_subplot, set_current_axes, etc, and I >ported the changes to all the GUIs. See my last post >http://sourceforge.net/mailarchive/forum.php?thread_id=6207208&forum_id=36187 >for more information. > >Basically the figure class itself maintains the current axes - the >motivation for the changes is in the post above. Call fig.add_axes, >fig.add_subplot, fig.gca and fig.sca (set_current_axes). > >Hope this helps, >JDH > > OK thanks, worked it out in the meantime but the list is slow :-) David |
From: David F. <da...@sj...> - 2004-12-23 14:57:15
|
David Fraser wrote: > John Hunter wrote: > >> This is primarily a bug-fix release from 0.65, though a couple of >> little features managed to sneak in >> >> > This is fantastic, I hope it fixes the crashes I've been having which > I finally seem to have traced down to matplotlib freeing images ... > One question though: FigureManagerBase's add_axes, add_subplot and > set_current_axes methods have been removed (and this doesn't seem to > be mentioned in API_CHANGES). What should I do to replace a call to > add_axes? Sorry, my stupid question, have now read the message on the list about this. The answer is call figuremanager.canvas.figure.add_axes - but maybe this should be added to the API_CHANGES document David |