morphomapping.MM.lin_plot#
- MM.lin_plot(outputf, feature, colors, fig_width, fig_height, fig_title, label_x, label_y, range_x, range_y, hover_tooltips=None, show_legend=False, point_size=3, point_alpha=0.7, show_axes=True, title_align='center')#
Create plot with Linear color mapper.Choose feature, colors and more. Loads html file.
- Parameters:
outputf (
str) – path to output filefeature (
str) – feature for linear mappercolors (
list[str]) – list of colorsfig_width (
int) – width of figurefig_height (
int) – height of figurefig_title (
str) – title of figurelabel_x (
str) – x-axis labellabel_y (
str) – y-axis labelrange_x (
list[float]) – range of x-axisrange_y (
list[float]) – range of y-axishover_tooltips (
list[tuple[str,str]]) – hover tooltipsshow_legend (
bool) – add legendpoint_size (
int) – size of pointspoint_alpha (
float) – alpha of pointsshow_axes (
bool) – add axestitle_align (
str) – title position
- Return type:
show plot