Skip to content

power_balance.plotting.profile_plotting#

Source: power_balance/plotting/profile_plotting.py

Class ProfilePlotBuilder#

ProfilePlotBuilder(profiles_dir: str)
Source: power_balance/plotting/profile_plotting.py

Builds page content for displaying the plots of input profiles

Methods#

get_plots#

get_plots(self) -> str
Source: power_balance/plotting/profile_plotting.py

Retrieve plot string objects

Returns#
  • str

    plot object strings

get_scripts#

get_scripts(self) -> Any
Source: power_balance/plotting/profile_plotting.py

Retrieve plot script objects

Returns#
  • typing.Any

    plot script objects

get_profiles_data#

get_profiles_data(profile_dir: str) -> Dict[str, numpy.ndarray]
Source: power_balance/plotting/profile_plotting.py

Retrieve profiles for plotting

Returns#

  • typing.Dict

    dictionary of profile data


Last update: April 1, 2022