Skip to content

ggsize

ggsize(width: Number, height: Number) -> FeatureSpec

Set the plot size in pixels.

Parameters:

  • width (float) –

    Size in pixels, at most 10,000 each (NaN is rejected, as in lets_plot).

  • height (float) –

    Size in pixels, at most 10,000 each (NaN is rejected, as in lets_plot).

Returns:

  • FeatureSpec –

    The size feature.