pandas module

Define plotter relying on pandas.

class PandasPlotter(*args, gui: bool = False, **kwargs)

Bases: Plotter

A Plotter using pandas lib.

__init__(*args, gui: bool = False, **kwargs) None

Instantiate object.

Parameters:

gui – Activates interactive plotting if using GUI.

plot_emission_yield(df: DataFrame, *args, axes: Axes | None = None, population: Literal['SE', 'EBE', 'IBE', 'all'] | None = None, **kwargs) Axes

Plot EmissionYield data with pandas.DataFrame.plot() method.

Parameters:
  • df – Dataframe holding data to plot.

  • *args – Additional arguments passed to the pandas.DataFrame.plot() method.

  • axes – Axes to re-use if given.

  • population – Type of population currently plotted. This is used to make the plot legends more precise.

  • kwargs – Additional keyword arguments passed to the pandas.DataFrame.plot() method.

plot_emission_energy_distribution(df: DataFrame, *args, axes: Axes | None = None, population: Literal['SE', 'EBE', 'IBE', 'all'] | None = None, **kwargs) Axes

Plot EmissionEnergyDistribution data with pandas.DataFrame.plot() method.

Parameters:
  • df – Dataframe holding data to plot.

  • *args – Additional arguments passed to the pandas.DataFrame.plot() method.

  • axes – Axes to re-use if given.

  • population – Type of population currently plotted. This is used to make the plot legends more precise.

  • kwargs – Additional keyword arguments passed to the pandas.DataFrame.plot() method.

plot_emission_angle_distribution(df: DataFrame, *args, axes: Axes | None = None, population: Literal['SE', 'EBE', 'IBE', 'all'] | None = None, **kwargs) Axes

Plot the given emission angles distribution, return Axes object.

_abc_impl = <_abc._abc_data object>