Skip to content

Commit

Permalink
Automated doc build for refs/heads/main
Browse files Browse the repository at this point in the history
  • Loading branch information
PopSim-bot committed Dec 13, 2024
1 parent 789ad8a commit 98a41ce
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 1 deletion.
Binary file modified main/_images/sec_catalog_anapla_models_mallardblackduck_2l19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/sec_catalog_homsap_models_outofafrica_2t12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/sec_catalog_homsap_models_outofafrica_3g09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/sec_catalog_homsap_models_outofafrica_4j17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/sec_catalog_homsap_models_papuansoutofafrica_10j19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/sec_catalog_orysat_models_bottleneckmigration_3c07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/sec_catalog_pantro_models_bonoboghost_4k19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/sec_catalog_ponabe_models_twospecies_2l11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions main/_sources/tutorial.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,19 @@ The number of "sampling" populations could be smaller than the number of populat
since some models have ancient populations which are currently not allowed to be
sampled from -- but that is not the case in this model.

If working in a notebook, it's also possible to plot a schematic of your chosen model
using the `demesdraw <https://grahamgower.github.io/demesdraw/>`__ python library.
This provides both a ``size_history`` plot and a ``tubes`` visualization. E.g.

.. code-block:: python
import demesdraw
graph = model.model.to_demes()
demesdraw.tubes(model.model.to_demes());
Equivalent plots for all the available demographic models are also
shown in the :ref:`sec_catalog`.

Set up the contig
-----------------

Expand Down
2 changes: 1 addition & 1 deletion main/searchindex.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions main/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,16 @@ <h4>Pick a species and demographic model<a class="headerlink" href="#pick-a-spec
The number of “sampling” populations could be smaller than the number of populations,
since some models have ancient populations which are currently not allowed to be
sampled from – but that is not the case in this model.</p>
<p>If working in a notebook, it’s also possible to plot a schematic of your chosen model
using the <a class="reference external" href="https://grahamgower.github.io/demesdraw/">demesdraw</a> python library.
This provides both a <code class="docutils literal notranslate"><span class="pre">size_history</span></code> plot and a <code class="docutils literal notranslate"><span class="pre">tubes</span></code> visualization. E.g.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">demesdraw</span>
<span class="n">graph</span> <span class="o">=</span> <span class="n">model</span><span class="o">.</span><span class="n">model</span><span class="o">.</span><span class="n">to_demes</span><span class="p">()</span>
<span class="n">demesdraw</span><span class="o">.</span><span class="n">tubes</span><span class="p">(</span><span class="n">model</span><span class="o">.</span><span class="n">model</span><span class="o">.</span><span class="n">to_demes</span><span class="p">());</span>
</pre></div>
</div>
<p>Equivalent plots for all the available demographic models are also
shown in the <a class="reference internal" href="catalog.html#sec-catalog"><span class="std std-ref">Catalog</span></a>.</p>
</section>
<section id="set-up-the-contig">
<h4>Set up the contig<a class="headerlink" href="#set-up-the-contig" title="Permalink to this heading"></a></h4>
Expand Down

0 comments on commit 98a41ce

Please sign in to comment.