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 | |
---|
7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
8 | <head> |
---|
9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
10 | |
---|
11 | <title>config — plottools 0.10 documentation</title> |
---|
12 | |
---|
13 | <link rel="stylesheet" href="../_static/default.css" type="text/css" /> |
---|
14 | <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
---|
15 | |
---|
16 | <script type="text/javascript"> |
---|
17 | var DOCUMENTATION_OPTIONS = { |
---|
18 | URL_ROOT: '../', |
---|
19 | VERSION: '0.10', |
---|
20 | COLLAPSE_INDEX: false, |
---|
21 | FILE_SUFFIX: '.html', |
---|
22 | HAS_SOURCE: true |
---|
23 | }; |
---|
24 | </script> |
---|
25 | <script type="text/javascript" src="../_static/jquery.js"></script> |
---|
26 | <script type="text/javascript" src="../_static/underscore.js"></script> |
---|
27 | <script type="text/javascript" src="../_static/doctools.js"></script> |
---|
28 | <link rel="top" title="plottools 0.10 documentation" href="../index.html" /> |
---|
29 | <link rel="up" title="Reference" href="index.html" /> |
---|
30 | <link rel="next" title="fitDialog" href="fitDialog.html" /> |
---|
31 | <link rel="prev" title="canvas" href="canvas.html" /> |
---|
32 | </head> |
---|
33 | <body> |
---|
34 | <div class="related"> |
---|
35 | <h3>Navigation</h3> |
---|
36 | <ul> |
---|
37 | <li class="right" style="margin-right: 10px"> |
---|
38 | <a href="../genindex.html" title="General Index" |
---|
39 | accesskey="I">index</a></li> |
---|
40 | <li class="right" > |
---|
41 | <a href="../py-modindex.html" title="Python Module Index" |
---|
42 | >modules</a> |</li> |
---|
43 | <li class="right" > |
---|
44 | <a href="fitDialog.html" title="fitDialog" |
---|
45 | accesskey="N">next</a> |</li> |
---|
46 | <li class="right" > |
---|
47 | <a href="canvas.html" title="canvas" |
---|
48 | accesskey="P">previous</a> |</li> |
---|
49 | <li><a href="../index.html">plottools 0.10 documentation</a> »</li> |
---|
50 | <li><a href="index.html" accesskey="U">Reference</a> »</li> |
---|
51 | </ul> |
---|
52 | </div> |
---|
53 | |
---|
54 | <div class="document"> |
---|
55 | <div class="documentwrapper"> |
---|
56 | <div class="bodywrapper"> |
---|
57 | <div class="body"> |
---|
58 | |
---|
59 | <div class="section" id="config"> |
---|
60 | <h1>config<a class="headerlink" href="#config" title="Permalink to this headline">¶</a></h1> |
---|
61 | <div class="section" id="module-danse.common.plottools.config"> |
---|
62 | <span id="danse-common-plottools-config"></span><h2><a class="reference internal" href="#module-danse.common.plottools.config" title="danse.common.plottools.config"><tt class="xref py py-mod docutils literal"><span class="pre">danse.common.plottools.config</span></tt></a><a class="headerlink" href="#module-danse.common.plottools.config" title="Permalink to this headline">¶</a></h2> |
---|
63 | <p>Configure plotter for plottools.</p> |
---|
64 | <p>This must be imported first in __init__.py for plottools.</p> |
---|
65 | <p>If your application uses matplotlib outside plottools, then |
---|
66 | please do the following at the start of your application:</p> |
---|
67 | <blockquote> |
---|
68 | <div># Select matplotlib version and backend |
---|
69 | import danse.common.plottools.config</div></blockquote> |
---|
70 | <p>Note that plottools requires particular versions of matplotlib |
---|
71 | and a particular backend. As of this writing it is the WXAgg |
---|
72 | backend for matplotlib>=0.98.</p> |
---|
73 | <p>The plottools package uses pkg_resources if available to select |
---|
74 | the correct version of matplotlib. If you need multiple matplotlib |
---|
75 | versions in your path, be sure to use “easy_install -m” for all |
---|
76 | of them. If a version is installed without “-m” that does not |
---|
77 | meet the requirements, then pkg_resources.require() will fail, |
---|
78 | even if you have installed a suitable version with “-m”. In this |
---|
79 | case you will need to fix up your site-packages directory, |
---|
80 | probably by removing site-packages/matplotlib and the associated |
---|
81 | egg file for that version, and reinstalling with “-m”. You may |
---|
82 | also need to edit site-packages/easy-install.pth.</p> |
---|
83 | </div> |
---|
84 | </div> |
---|
85 | |
---|
86 | |
---|
87 | </div> |
---|
88 | </div> |
---|
89 | </div> |
---|
90 | <div class="sphinxsidebar"> |
---|
91 | <div class="sphinxsidebarwrapper"> |
---|
92 | <h3><a href="../index.html">Table Of Contents</a></h3> |
---|
93 | <ul> |
---|
94 | <li><a class="reference internal" href="#">config</a><ul> |
---|
95 | <li><a class="reference internal" href="#module-danse.common.plottools.config"><tt class="docutils literal"><span class="pre">danse.common.plottools.config</span></tt></a></li> |
---|
96 | </ul> |
---|
97 | </li> |
---|
98 | </ul> |
---|
99 | |
---|
100 | <h4>Previous topic</h4> |
---|
101 | <p class="topless"><a href="canvas.html" |
---|
102 | title="previous chapter">canvas</a></p> |
---|
103 | <h4>Next topic</h4> |
---|
104 | <p class="topless"><a href="fitDialog.html" |
---|
105 | title="next chapter">fitDialog</a></p> |
---|
106 | <h3>This Page</h3> |
---|
107 | <ul class="this-page-menu"> |
---|
108 | <li><a href="../_sources/api/config.txt" |
---|
109 | rel="nofollow">Show Source</a></li> |
---|
110 | </ul> |
---|
111 | <div id="searchbox" style="display: none"> |
---|
112 | <h3>Quick search</h3> |
---|
113 | <form class="search" action="../search.html" method="get"> |
---|
114 | <input type="text" name="q" /> |
---|
115 | <input type="submit" value="Go" /> |
---|
116 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
117 | <input type="hidden" name="area" value="default" /> |
---|
118 | </form> |
---|
119 | <p class="searchtip" style="font-size: 90%"> |
---|
120 | Enter search terms or a module, class or function name. |
---|
121 | </p> |
---|
122 | </div> |
---|
123 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
124 | </div> |
---|
125 | </div> |
---|
126 | <div class="clearer"></div> |
---|
127 | </div> |
---|
128 | <div class="related"> |
---|
129 | <h3>Navigation</h3> |
---|
130 | <ul> |
---|
131 | <li class="right" style="margin-right: 10px"> |
---|
132 | <a href="../genindex.html" title="General Index" |
---|
133 | >index</a></li> |
---|
134 | <li class="right" > |
---|
135 | <a href="../py-modindex.html" title="Python Module Index" |
---|
136 | >modules</a> |</li> |
---|
137 | <li class="right" > |
---|
138 | <a href="fitDialog.html" title="fitDialog" |
---|
139 | >next</a> |</li> |
---|
140 | <li class="right" > |
---|
141 | <a href="canvas.html" title="canvas" |
---|
142 | >previous</a> |</li> |
---|
143 | <li><a href="../index.html">plottools 0.10 documentation</a> »</li> |
---|
144 | <li><a href="index.html" >Reference</a> »</li> |
---|
145 | </ul> |
---|
146 | </div> |
---|
147 | <div class="footer"> |
---|
148 | © Copyright 2010, sans/reflectometry group. |
---|
149 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. |
---|
150 | </div> |
---|
151 | </body> |
---|
152 | </html> |
---|