omicverse.pl.plot_text_set

omicverse.pl.plot_text_set#

omicverse.pl.plot_text_set(text, text_knock=2, text_maxsize=20)[源代码]#

Format text for plotting by adding line breaks.

参数:
  • text (str) – Text string to reformat.

  • text_knock (int) – Word interval used when inserting line breaks.

  • text_maxsize (int) – Maximum text length before reformatting.

返回:

Formatted text with inserted line breaks.

返回类型:

str