Sorry folks, I found my own problem.  Looks like the axes pan functions 
were a recent addition to matplotlib and the version I'm using, 0.91.2, 
doesn't have these.  Time to bug the system admin to update to the 0.98 
version.

-Jonathan Helmus

Jonathan Helmus wrote:
> I have been working on a GUI application which uses matplotlib as a wx 
> object.  I'd like to include a pan button on the toolbar of the 
> application but can't seem to get an axes object which has the pan 
> functions (which I'd like to use to tie into the pan code).  I have a 
> self.axes object that identifies itself as <matplotlib.axes.Subplot 
> instance...> which I use to add lines, set limits, etc but it doesn't 
> have any of the pan functions (start_pan, end_pan, etc).  
> self.canvas.figure.get_axes() (which is what seems to be used in the 
> NavigationToolbar2 class) returns the same Subplot instance. Any 
> suggestions of how to get a axes/Subplot instance which has the pan 
> functions?
>
> Thanks,
> -Jonathan Helmus
>   

-------------------------------------------------------------------------
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