LingPy

This documentation is for version 2.0.dev, which is not released yet.

lingpy.compare.borrowing.trebor.TreBor.plot_MLN

TreBor.plot_MLN(glm='', filename='', fileformat='pdf', threshold=1, usetex=True, colormap=None, taxon_labels='taxon.short_labels', verbose=False, **keywords)

Plot the MLN with help of Matplotlib.

glm : str (default=’‘)
Identifier for the gain-loss model that is plotted. Defaults to the model that had the best scores in terms of probability.
filename : str (default=’‘)
If no filename is selected, the filename is identical with the dataset.
fileformat : {‘svg’,’png’,’jpg’,’pdf’} (default=’pdf’)
Select the format of the output plot.
threshold : int (default=1)
Select the threshold for drawing lateral edges.
verbose : bool (default = False)
If set to c{True}, be verbose when carrying out the analysis.
usetex : bool (default=True)
Specify whether you want to use LaTeX to render plots.
colormap : {None matplotlib.cm}
A matplotlib.colormap instance. If set to c{None}, this defaults to jet.
taxon_labels : str (default=’taxon.short_labels’)
Specify the taxon labels that should be included in the plot.

This Page