.. only:: html

    .. note::
        :class: sphx-glr-download-link-note

        Click :ref:`here <sphx_glr_download_draw_tree_plot_tree-angular.py>`     to download the full example code
    .. rst-class:: sphx-glr-example-title

    .. _sphx_glr_draw_tree_plot_tree-angular.py:


Display a Phylogenetic Tree with a Angular Dendrogram Style
===========================================================

This is a left-right style. You'll note that there's overlap of edges at the bottom -- a known issue with this display style.


.. code-block:: default

    from cogent3.app import io


    reader = io.load_json()

    ens_tree = reader("../../data/GN-tree.json")
    fig = ens_tree.get_figure(style="angular", width=600, height=600)
    fig.show()




.. raw:: html
    :file: images/sphx_glr_plot_tree-angular_001.html





With Contemporaneous Tips
#########################


.. code-block:: default


    fig.contemporaneous = True
    fig.show()



.. raw:: html
    :file: images/sphx_glr_plot_tree-angular_002.html






.. rst-class:: sphx-glr-timing

   **Total running time of the script:** ( 0 minutes  0.512 seconds)


.. _sphx_glr_download_draw_tree_plot_tree-angular.py:


.. only :: html

 .. container:: sphx-glr-footer
    :class: sphx-glr-footer-example



  .. container:: sphx-glr-download sphx-glr-download-python

     :download:`Download Python source code: plot_tree-angular.py <plot_tree-angular.py>`



  .. container:: sphx-glr-download sphx-glr-download-jupyter

     :download:`Download Jupyter notebook: plot_tree-angular.ipynb <plot_tree-angular.ipynb>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
