LingPy

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

lingpy.compare.borrowing.trebor.TreBor.plot_concepts

TreBor.plot_concepts(concept, cogA, cogB, labels={1: '1', 2: '2', 3: '3', 4: '4'}, tcolor={1: 'white', 2: 'black', 3: '0.5', 4: '0.1'}, verbose=False, filename='pdf', fileformat='pdf', threshold=1, usetex=True)

Plot the Minimal Spatial Network.

Parameters :

glm : str

A string that encodes which model should be plotted.

filename : str

The name of the file to which the plot shall be written.

fileformat : str

The output format of the plot.

threshold : int (default=1)

The threshold for the minimal amount of shared links that shall be plotted.

only : list (default=[])

The list of taxa whose connections with other taxa should be plotted.

usetex : bool (default=True)

Specify whether LaTeX shall be used for the plot.

This Page