morphomapping.MM.lin_plot

Contents

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 file

  • feature (str) – feature for linear mapper

  • colors (list[str]) – list of colors

  • fig_width (int) – width of figure

  • fig_height (int) – height of figure

  • fig_title (str) – title of figure

  • label_x (str) – x-axis label

  • label_y (str) – y-axis label

  • range_x (list[float]) – range of x-axis

  • range_y (list[float]) – range of y-axis

  • hover_tooltips (list[tuple[str, str]]) – hover tooltips

  • show_legend (bool) – add legend

  • point_size (int) – size of points

  • point_alpha (float) – alpha of points

  • show_axes (bool) – add axes

  • title_align (str) – title position

Return type:

show plot