lets-plot-kotlin icon indicating copy to clipboard operation
lets-plot-kotlin copied to clipboard

Q: any way to line-wrap facet labels?

Open tecunningham opened this issue 1 year ago • 1 comments

My facet labels don't seem to contain line breaks (I tried newlines or HTML breaks.).

GGplot supports label_wrap_gen, is there any workaround in lets-plot?

tecunningham avatar Feb 22 '24 00:02 tecunningham

Unfortunately, at the moment there is no way to create a multi-line facet labels. But it is in the plans.

OLarionova-HORIS avatar Feb 27 '24 16:02 OLarionova-HORIS

Added via commit: https://github.com/JetBrains/lets-plot/commit/5236da54af75539743abfea9df051687c1fbe6c7

OLarionova-HORIS avatar Apr 03 '24 11:04 OLarionova-HORIS

A workaround was added in v4.7.1, see: example notebook.

alshan avatar Apr 22 '24 21:04 alshan