aerosandbox.tools.pretty_plots.plots.pie#

Module Contents#

Functions#

pie(values, names[, colors, label_format, sort_by, ...])

Attributes#

aerosandbox.tools.pretty_plots.plots.pie.pie(values, names, colors=None, label_format=lambda name, value, percentage: ..., sort_by=None, startangle=0.0, center_text=None, x_labels=1.25, y_max_labels=1.3, arm_length=20, arm_radius=5)[source]#
Parameters:
  • values (Union[numpy.ndarray, List[float]]) –

  • names (List[str]) –

  • colors (Union[numpy.ndarray, List[str]]) –

  • label_format (Callable[[str, float, float], str]) –

  • sort_by (Union[numpy.ndarray, List[float], str, None]) –

  • startangle (float) –

  • center_text (str) –

  • x_labels (float) –

  • y_max_labels (float) –

aerosandbox.tools.pretty_plots.plots.pie.data[source]#