PageRenderTime 26ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/pyqtgraph-0.9.10/doc/build/html/graphicsItems/gradientlegend.html

https://gitlab.com/pkormos/phase_python
HTML | 139 lines | 127 code | 12 blank | 0 comment | 0 complexity | 57d3c073edb3a8e827a30bd2f63e9254 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>GradientLegend &mdash; pyqtgraph 0.9.10 documentation</title>
  7. <link rel="stylesheet" href="../_static/default.css" type="text/css" />
  8. <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '../',
  12. VERSION: '0.9.10',
  13. COLLAPSE_INDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="../_static/jquery.js"></script>
  19. <script type="text/javascript" src="../_static/underscore.js"></script>
  20. <script type="text/javascript" src="../_static/doctools.js"></script>
  21. <link rel="top" title="pyqtgraph 0.9.10 documentation" href="../index.html" />
  22. <link rel="up" title="PyQtGraph’s Graphics Items" href="index.html" />
  23. <link rel="next" title="ButtonItem" href="buttonitem.html" />
  24. <link rel="prev" title="HistogramLUTItem" href="histogramlutitem.html" />
  25. </head>
  26. <body>
  27. <div class="related">
  28. <h3>Navigation</h3>
  29. <ul>
  30. <li class="right" style="margin-right: 10px">
  31. <a href="../genindex.html" title="General Index"
  32. accesskey="I">index</a></li>
  33. <li class="right" >
  34. <a href="../py-modindex.html" title="Python Module Index"
  35. >modules</a> |</li>
  36. <li class="right" >
  37. <a href="buttonitem.html" title="ButtonItem"
  38. accesskey="N">next</a> |</li>
  39. <li class="right" >
  40. <a href="histogramlutitem.html" title="HistogramLUTItem"
  41. accesskey="P">previous</a> |</li>
  42. <li><a href="../index.html">pyqtgraph 0.9.10 documentation</a> &raquo;</li>
  43. <li><a href="../apireference.html" >API Reference</a> &raquo;</li>
  44. <li><a href="index.html" accesskey="U">PyQtGraph&#8217;s Graphics Items</a> &raquo;</li>
  45. </ul>
  46. </div>
  47. <div class="document">
  48. <div class="documentwrapper">
  49. <div class="bodywrapper">
  50. <div class="body">
  51. <div class="section" id="gradientlegend">
  52. <h1>GradientLegend<a class="headerlink" href="#gradientlegend" title="Permalink to this headline"></a></h1>
  53. <dl class="class">
  54. <dt id="pyqtgraph.GradientLegend">
  55. <em class="property">class </em><tt class="descclassname">pyqtgraph.</tt><tt class="descname">GradientLegend</tt><big>(</big><em>size</em>, <em>offset</em><big>)</big><a class="headerlink" href="#pyqtgraph.GradientLegend" title="Permalink to this definition"></a></dt>
  56. <dd><p>Draws a color gradient rectangle along with text labels denoting the value at specific
  57. points along the gradient.</p>
  58. <dl class="method">
  59. <dt id="pyqtgraph.GradientLegend.__init__">
  60. <tt class="descname">__init__</tt><big>(</big><em>size</em>, <em>offset</em><big>)</big><a class="headerlink" href="#pyqtgraph.GradientLegend.__init__" title="Permalink to this definition"></a></dt>
  61. <dd></dd></dl>
  62. <dl class="method">
  63. <dt id="pyqtgraph.GradientLegend.setLabels">
  64. <tt class="descname">setLabels</tt><big>(</big><em>l</em><big>)</big><a class="headerlink" href="#pyqtgraph.GradientLegend.setLabels" title="Permalink to this definition"></a></dt>
  65. <dd><p>Defines labels to appear next to the color scale. Accepts a dict of {text: value} pairs</p>
  66. </dd></dl>
  67. </dd></dl>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="sphinxsidebar">
  73. <div class="sphinxsidebarwrapper">
  74. <h4>Previous topic</h4>
  75. <p class="topless"><a href="histogramlutitem.html"
  76. title="previous chapter">HistogramLUTItem</a></p>
  77. <h4>Next topic</h4>
  78. <p class="topless"><a href="buttonitem.html"
  79. title="next chapter">ButtonItem</a></p>
  80. <h3>This Page</h3>
  81. <ul class="this-page-menu">
  82. <li><a href="../_sources/graphicsItems/gradientlegend.txt"
  83. rel="nofollow">Show Source</a></li>
  84. </ul>
  85. <div id="searchbox" style="display: none">
  86. <h3>Quick search</h3>
  87. <form class="search" action="../search.html" method="get">
  88. <input type="text" name="q" />
  89. <input type="submit" value="Go" />
  90. <input type="hidden" name="check_keywords" value="yes" />
  91. <input type="hidden" name="area" value="default" />
  92. </form>
  93. <p class="searchtip" style="font-size: 90%">
  94. Enter search terms or a module, class or function name.
  95. </p>
  96. </div>
  97. <script type="text/javascript">$('#searchbox').show(0);</script>
  98. </div>
  99. </div>
  100. <div class="clearer"></div>
  101. </div>
  102. <div class="related">
  103. <h3>Navigation</h3>
  104. <ul>
  105. <li class="right" style="margin-right: 10px">
  106. <a href="../genindex.html" title="General Index"
  107. >index</a></li>
  108. <li class="right" >
  109. <a href="../py-modindex.html" title="Python Module Index"
  110. >modules</a> |</li>
  111. <li class="right" >
  112. <a href="buttonitem.html" title="ButtonItem"
  113. >next</a> |</li>
  114. <li class="right" >
  115. <a href="histogramlutitem.html" title="HistogramLUTItem"
  116. >previous</a> |</li>
  117. <li><a href="../index.html">pyqtgraph 0.9.10 documentation</a> &raquo;</li>
  118. <li><a href="../apireference.html" >API Reference</a> &raquo;</li>
  119. <li><a href="index.html" >PyQtGraph&#8217;s Graphics Items</a> &raquo;</li>
  120. </ul>
  121. </div>
  122. <div class="footer">
  123. &copy; Copyright 2011, Luke Campagnola.
  124. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
  125. </div>
  126. </body>
  127. </html>