WrightTools.artists.get_scaled_bounds

WrightTools.artists.get_scaled_bounds(ax, position, *, distance=0.1, factor=200)[source]

Get scaled bounds.

Parameters:
  • ax (Axes object) – Axes object.
  • position ({'UL', 'LL', 'UR', 'LR'}) – Position.
  • distance (number (optional)) – Distance. Default is 0.1.
  • factor (number (optional)) – Factor. Default is 200.
Returns:

Return type:

([h_scaled, v_scaled], [va, ha])