<divid="unreleased-message"> You are reading an old version of the documentation (v2.2.4). For the latest version see <ahref="https://matplotlib.org/stable/gallery/style_sheets/bmh.html">https://matplotlib.org/stable/gallery/style_sheets/bmh.html</a></div>
<pclass="last">Click <aclass="reference internal" href="#sphx-glr-download-gallery-style-sheets-bmh-py"><spanclass="std std-ref">here</span></a> to download the full example code</p>
<spanid="sphx-glr-gallery-style-sheets-bmh-py"></span><h1>Bayesian Methods for Hackers style sheet<aclass="headerlink" href="#bayesian-methods-for-hackers-style-sheet" title="Permalink to this headline">¶</a></h1>
<p>This example demonstrates the style used in the Bayesian Methods for Hackers
<spanclass="n">ax</span><spanclass="o">.</span><spanclass="n">hist</span><spanclass="p">(</span><ahref="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.beta.html#numpy.random.beta" title="View documentation for numpy.random.beta"><spanclass="n">beta</span></a><spanclass="p">(</span><spanclass="n">a</span><spanclass="p">,</span><spanclass="n">b</span><spanclass="p">,</span><spanclass="n">size</span><spanclass="o">=</span><spanclass="mi">10000</span><spanclass="p">),</span><spanclass="n">histtype</span><spanclass="o">=</span><spanclass="s2">"stepfilled"</span><spanclass="p">,</span>
<spanclass="n">fig</span><spanclass="p">,</span><spanclass="n">ax</span><spanclass="o">=</span><ahref="../../api/_as_gen/matplotlib.pyplot.subplots.html#matplotlib.pyplot.subplots" title="View documentation for matplotlib.pyplot.subplots"><spanclass="n">plt</span><spanclass="o">.</span><spanclass="n">subplots</span></a><spanclass="p">()</span>
<ahref="../../api/_as_gen/matplotlib.pyplot.show.html#matplotlib.pyplot.show" title="View documentation for matplotlib.pyplot.show"><spanclass="n">plt</span><spanclass="o">.</span><spanclass="n">show</span></a><spanclass="p">()</span>
</pre></div>
</div>
<divclass="sphx-glr-footer class sphx-glr-footer-example docutils container" id="sphx-glr-download-gallery-style-sheets-bmh-py">