1 | |
---|
2 | |
---|
3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
4 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
5 | |
---|
6 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
7 | <head> |
---|
8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
9 | |
---|
10 | <title>binder — guiframe v0.1.0 documentation</title> |
---|
11 | <link rel="stylesheet" href="../../../_static/default.css" type="text/css" /> |
---|
12 | <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" /> |
---|
13 | <script type="text/javascript"> |
---|
14 | var DOCUMENTATION_OPTIONS = { |
---|
15 | URL_ROOT: '../../../', |
---|
16 | VERSION: '0.1.0', |
---|
17 | COLLAPSE_INDEX: false, |
---|
18 | FILE_SUFFIX: '.html', |
---|
19 | HAS_SOURCE: true |
---|
20 | }; |
---|
21 | </script> |
---|
22 | <script type="text/javascript" src="../../../_static/jquery.js"></script> |
---|
23 | <script type="text/javascript" src="../../../_static/underscore.js"></script> |
---|
24 | <script type="text/javascript" src="../../../_static/doctools.js"></script> |
---|
25 | <link rel="top" title="guiframe v0.1.0 documentation" href="../../../index.html" /> |
---|
26 | <link rel="up" title="Local Perspective: plotting" href="index.html" /> |
---|
27 | <link rel="next" title="boxMask" href="boxMask.html" /> |
---|
28 | <link rel="prev" title="BaseInteractor" href="BaseInteractor.html" /> |
---|
29 | </head> |
---|
30 | <body> |
---|
31 | <div class="related"> |
---|
32 | <h3>Navigation</h3> |
---|
33 | <ul> |
---|
34 | <li class="right" style="margin-right: 10px"> |
---|
35 | <a href="../../../genindex.html" title="General Index" |
---|
36 | accesskey="I">index</a></li> |
---|
37 | <li class="right" > |
---|
38 | <a href="../../../py-modindex.html" title="Python Module Index" |
---|
39 | >modules</a> |</li> |
---|
40 | <li class="right" > |
---|
41 | <a href="boxMask.html" title="boxMask" |
---|
42 | accesskey="N">next</a> |</li> |
---|
43 | <li class="right" > |
---|
44 | <a href="BaseInteractor.html" title="BaseInteractor" |
---|
45 | accesskey="P">previous</a> |</li> |
---|
46 | <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> »</li> |
---|
47 | <li><a href="index.html" accesskey="U">Local Perspective: plotting</a> »</li> |
---|
48 | </ul> |
---|
49 | </div> |
---|
50 | |
---|
51 | <div class="document"> |
---|
52 | <div class="documentwrapper"> |
---|
53 | <div class="bodywrapper"> |
---|
54 | <div class="body"> |
---|
55 | |
---|
56 | <div class="section" id="binder"> |
---|
57 | <h1>binder<a class="headerlink" href="#binder" title="Permalink to this headline">¶</a></h1> |
---|
58 | <div class="section" id="module-sans.guiframe.local_perspectives.plotting.binder"> |
---|
59 | <span id="sans-guiframe-local-perspectives-plotting-binder"></span><h2><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.binder" title="sans.guiframe.local_perspectives.plotting.binder"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.binder</span></tt></a><a class="headerlink" href="#module-sans.guiframe.local_perspectives.plotting.binder" title="Permalink to this headline">¶</a></h2> |
---|
60 | <p>Extension to MPL to support the binding of artists to key/mouse events.</p> |
---|
61 | <dl class="class"> |
---|
62 | <dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist"> |
---|
63 | <em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.binder.</tt><tt class="descname">BindArtist</tt><big>(</big><em>figure</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist" title="Permalink to this definition">¶</a></dt> |
---|
64 | <dd><dl class="method"> |
---|
65 | <dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist.clear"> |
---|
66 | <tt class="descname">clear</tt><big>(</big><em>*artists</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist.clear" title="Permalink to this definition">¶</a></dt> |
---|
67 | <dd><dl class="docutils"> |
---|
68 | <dt>self.clear(h1,h2,...)</dt> |
---|
69 | <dd>Remove connections for artists h1, h2, ...</dd> |
---|
70 | </dl> |
---|
71 | <p>Use clearall() to reset all connections.</p> |
---|
72 | </dd></dl> |
---|
73 | |
---|
74 | <dl class="method"> |
---|
75 | <dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist.clearall"> |
---|
76 | <tt class="descname">clearall</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist.clearall" title="Permalink to this definition">¶</a></dt> |
---|
77 | <dd><p>Clear connections to all artists.</p> |
---|
78 | <p>Use clear(h1,h2,...) to reset specific artists.</p> |
---|
79 | </dd></dl> |
---|
80 | |
---|
81 | <dl class="method"> |
---|
82 | <dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist.disconnect"> |
---|
83 | <tt class="descname">disconnect</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist.disconnect" title="Permalink to this definition">¶</a></dt> |
---|
84 | <dd><p>In case we need to disconnect from the canvas...</p> |
---|
85 | </dd></dl> |
---|
86 | |
---|
87 | <dl class="method"> |
---|
88 | <dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist.trigger"> |
---|
89 | <tt class="descname">trigger</tt><big>(</big><em>actor</em>, <em>action</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist.trigger" title="Permalink to this definition">¶</a></dt> |
---|
90 | <dd><p>Trigger a particular event for the artist. Fallback to axes, |
---|
91 | to figure, and to ‘all’ if the event is not processed.</p> |
---|
92 | </dd></dl> |
---|
93 | |
---|
94 | </dd></dl> |
---|
95 | |
---|
96 | <dl class="class"> |
---|
97 | <dt id="sans.guiframe.local_perspectives.plotting.binder.Selection"> |
---|
98 | <em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.binder.</tt><tt class="descname">Selection</tt><big>(</big><em>artist=None</em>, <em>prop={}</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.Selection" title="Permalink to this definition">¶</a></dt> |
---|
99 | <dd><p>Store and compare selections.</p> |
---|
100 | </dd></dl> |
---|
101 | |
---|
102 | </div> |
---|
103 | </div> |
---|
104 | |
---|
105 | |
---|
106 | </div> |
---|
107 | </div> |
---|
108 | </div> |
---|
109 | <div class="sphinxsidebar"> |
---|
110 | <div class="sphinxsidebarwrapper"> |
---|
111 | <h3><a href="../../../index.html">Table Of Contents</a></h3> |
---|
112 | <ul> |
---|
113 | <li><a class="reference internal" href="#">binder</a><ul> |
---|
114 | <li><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.binder"><tt class="docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.binder</span></tt></a></li> |
---|
115 | </ul> |
---|
116 | </li> |
---|
117 | </ul> |
---|
118 | |
---|
119 | <h4>Previous topic</h4> |
---|
120 | <p class="topless"><a href="BaseInteractor.html" |
---|
121 | title="previous chapter">BaseInteractor</a></p> |
---|
122 | <h4>Next topic</h4> |
---|
123 | <p class="topless"><a href="boxMask.html" |
---|
124 | title="next chapter">boxMask</a></p> |
---|
125 | <h3>This Page</h3> |
---|
126 | <ul class="this-page-menu"> |
---|
127 | <li><a href="../../../_sources/api/local_perspectives/plotting/binder.txt" |
---|
128 | rel="nofollow">Show Source</a></li> |
---|
129 | </ul> |
---|
130 | <div id="searchbox" style="display: none"> |
---|
131 | <h3>Quick search</h3> |
---|
132 | <form class="search" action="../../../search.html" method="get"> |
---|
133 | <input type="text" name="q" size="18" /> |
---|
134 | <input type="submit" value="Go" /> |
---|
135 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
136 | <input type="hidden" name="area" value="default" /> |
---|
137 | </form> |
---|
138 | <p class="searchtip" style="font-size: 90%"> |
---|
139 | Enter search terms or a module, class or function name. |
---|
140 | </p> |
---|
141 | </div> |
---|
142 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
143 | </div> |
---|
144 | </div> |
---|
145 | <div class="clearer"></div> |
---|
146 | </div> |
---|
147 | <div class="related"> |
---|
148 | <h3>Navigation</h3> |
---|
149 | <ul> |
---|
150 | <li class="right" style="margin-right: 10px"> |
---|
151 | <a href="../../../genindex.html" title="General Index" |
---|
152 | >index</a></li> |
---|
153 | <li class="right" > |
---|
154 | <a href="../../../py-modindex.html" title="Python Module Index" |
---|
155 | >modules</a> |</li> |
---|
156 | <li class="right" > |
---|
157 | <a href="boxMask.html" title="boxMask" |
---|
158 | >next</a> |</li> |
---|
159 | <li class="right" > |
---|
160 | <a href="BaseInteractor.html" title="BaseInteractor" |
---|
161 | >previous</a> |</li> |
---|
162 | <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> »</li> |
---|
163 | <li><a href="index.html" >Local Perspective: plotting</a> »</li> |
---|
164 | </ul> |
---|
165 | </div> |
---|
166 | <div class="footer"> |
---|
167 | © Copyright 2010, sans group. |
---|
168 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. |
---|
169 | </div> |
---|
170 | </body> |
---|
171 | </html> |
---|