High-level description
This code defines the__init__.py file for the cassiopeia.plotting package, which provides utilities for visualizing phylogenetic trees. It imports and re-exports specific functions and classes from submodules to make them directly accessible at the package level.
References
This file references symbols from the following files:cassiopeia/plotting/itol_utilities.pycassiopeia/plotting/local.pycassiopeia/plotting/local_3d.py
Symbols
Symbol Name
__all__
Description
A list of symbols to be exported when usingfrom cassiopeia.plotting import *. This allows users to directly access these functions and classes without needing to know the specific submodules where they are defined.
Inputs
N/A - This is a variable definition, not a function.Outputs
N/A - This is a variable definition, not a function.Internal Logic
The list includes the following symbols:upload_and_export_itol: Uploads a tree to the iTOL web service and exports the visualization. (fromitol_utilities.py)plot_matplotlib: Generates a static plot of a tree using Matplotlib. (fromlocal.py)plot_plotly: Generates a dynamic plot of a tree using Plotly. (fromlocal.py)labels_from_coordinates: Creates a synthetic labels array from cell coordinates for 3D plotting. (fromlocal_3d.py)Tree3D: A class for creating and manipulating 3D projections of trees onto 2D surfaces. (fromlocal_3d.py)
