reho.plotting.utils#

Utilities for plotting functions.

Functions

custom_round(value, decimal)

dict_to_df(results, df)

divide_hours_into_months()

get_cluster_file_ID(cluster)

Gets the weather file ID that corresponds to the specifications provided in the REHO initalization.

handle_zero_rows(df)

hex_to_rgb(value[, transparency])

merge_handles_labels(ax)

monthly_average(results, df_to_extract)

moving_average(data, n)

prepare_dfs(df_Economics[, indexed_on, neg, ...])

This function prepares the dataframes that will be needed for the plot_performance and plot_expenses

remove_building_from_index(df)

Removes the Building_[123] appended to the name of the units in the index