ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scipy-chaco
scipy-chaco
Re: [Chaco-users] issue with ImageInspectorTool...
by Bryan Van de Ven other posts by this author
Aug 2 2007 3:52PM messages near this date
[Chaco-users] issue with ImageInspectorTool... | Re: [Chaco-users] issue with ImageInspectorTool...
Hi Fred,

Your earlier observation actually led to finding quite a few subtle, interacting 
bugs. I hopefully have them all cleared out as of 13301. Can you try that 
revision (or later)?

One thing to note, the origin for image and contour plots is the upper left 
corner by default. I think we'd intended that always to be the case, but I'm not 
sure it happened in practice. Right now theres no good way to flip these plots 
if you'd rather have the origin in the lower left. (wanted to get them working 
in one case first!) but I'll add means to flip them properly shortly.

fred wrote:
>  Hi,
>  
>  Someone who has posted here has given me the idea to (re) browse the 
>  examples :-)
>  
>  I wanted to give a try to image_inspector.py, and applied to my traits app:
>  
>      def add_tools(self, plot):
>          plot.tools.append(PanTool(plot))
>          plot.tools.append(SaveTool(self.display))
>          plot.overlays.append(SimpleZoom(plot))
>          image_plot = self.plot2D.plots['plot2D'][0]
>          image_tool = ImageInspectorTool(image_plot)
>          image_plot.tools.append(image_tool)
>          overlay = ImageInspectorOverlay(component=image_plot,
>                                          image_inspector=image_tool,
>                                          bgcolor='lavender',
>                                          border_visible=True)
>          image_plot.overlays.append(overlay)
>  
>  1)
>  As you can see here:
>  http://fredantispam.free.fr/chaco_img_inspector.png
>  the probed value is obviously not the right one.
>  
>  I must have made something wrong, since
>  the probed values in image_inspector.py seem to be ok.
>  
>  Something obvious that did not catch my eyes ?
>  
>  2) The textbox is always displayed.
>  I would like to display it only when I click on the middle-button (the 
>  last ;-) for example.
>  Moreover, I'm only interested by the scalar value, not the RGB,
>  and the x/y coords.
>  Should it be straightforward to do this ?
>  I looked at image_inspector_tool.py but did not see anything related.
>  
>  If not, it does not matter.
>  Others issues are more important for me ;-)
>  
>   
>  TIA.
>  
>  
>  Cheers,
>  

_______________________________________________
Chaco-users mailing list
Chaco-users@[...].com
https://mail.enthought.com/mailman/listinfo/chaco-users
Thread:
Fred
Bryan Van de Ven
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Peter Wang
Fred
Fred
Fred
Fred
Fred
Bryan Van de Ven
Fred
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Peter Wang
Fred
Peter Wang
Fred
Fred

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved