font_metrics_adjustment#
- font_metrics_adjustment(width_correction: Real) FeatureSpec #
Adjust estimated width of text labels on plot.
Allow for manual correction in a rare cases when plot layout looks broken due to either overestimation or underestimation of size of text labels on plot.
- Parameters:
- width_correctionnumber
Correcting coefficient applied to default width estimate of a text label.
- Returns:
- FeatureSpec
Metainfo specification.
Notes
Can be mixed with other plot features in a plot-expression:
p + ggsize(300, 500) + font_metrics_adjustment(1.3)