Plotting Data and Results (plot)

The plot-module provides some general and some specific functions for the plotting of data and results. This module is not imported as a default, so you need to import it explicitly by typing:

>>> from lingpy.convert.plot import *

Or by typing:

>>> from lingpy.convert import plot


plot_gls(gls, treestring[, degree, fileformat]) Plot a gain-loss scenario for a given reference tree.
plot_tree(treestring[, degree, fileformat, root]) Plot a Newick tree to PDF or other graphical formats.
plot_concept_evolution(scenarios, tree[, …]) Plot the evolution according to the MLN method of all words for a given concept.
plot_heatmap(wordlist[, filename, …]) Create a heatmap-representation of shared cognates for a given wordlist.