source: sasview/plottools/docs/sphinx/html/api/config.html @ eaa85e7

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since eaa85e7 was 82a54b8, checked in by Mathieu Doucet <doucetm@…>, 13 years ago

adding plottools Part 2

  • Property mode set to 100644
File size: 6.1 KB
Line 
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 &mdash; 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> &raquo;</li>
50          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</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
66please do the following at the start of your application:</p>
67<blockquote>
68<div># Select matplotlib version and backend
69import danse.common.plottools.config</div></blockquote>
70<p>Note that plottools requires particular versions of matplotlib
71and a particular backend.  As of this writing it is the WXAgg
72backend for matplotlib&gt;=0.98.</p>
73<p>The plottools package uses pkg_resources if available to select
74the correct version of matplotlib.  If you need multiple matplotlib
75versions in your path, be sure to use &#8220;easy_install -m&#8221; for all
76of them.  If a version is installed without &#8220;-m&#8221; that does not
77meet the requirements, then pkg_resources.require() will fail,
78even if you have installed a suitable version with &#8220;-m&#8221;.  In this
79case you will need to fix up your site-packages directory,
80probably by removing site-packages/matplotlib and the associated
81egg file for that version, and reinstalling with &#8220;-m&#8221;.  You may
82also 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> &raquo;</li>
144          <li><a href="index.html" >Reference</a> &raquo;</li> 
145      </ul>
146    </div>
147    <div class="footer">
148        &copy; Copyright 2010, sans/reflectometry group.
149      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
150    </div>
151  </body>
152</html>
Note: See TracBrowser for help on using the repository browser.