geoprob_pipe.visualizations.graphs.invloedsfactoren =================================================== .. py:module:: geoprob_pipe.visualizations.graphs.invloedsfactoren Attributes ---------- .. autoapisummary:: geoprob_pipe.visualizations.graphs.invloedsfactoren.DISTINCTIVE_COLORS Functions --------- .. autoapisummary:: geoprob_pipe.visualizations.graphs.invloedsfactoren.get_plot_order geoprob_pipe.visualizations.graphs.invloedsfactoren._get_method_used geoprob_pipe.visualizations.graphs.invloedsfactoren.get_influence_factors_for_vak geoprob_pipe.visualizations.graphs.invloedsfactoren._get_data geoprob_pipe.visualizations.graphs.invloedsfactoren._plot_data geoprob_pipe.visualizations.graphs.invloedsfactoren._update_layout geoprob_pipe.visualizations.graphs.invloedsfactoren.invloedsfactoren Module Contents --------------- .. py:data:: DISTINCTIVE_COLORS :value: ['(60, 180, 75)', '(230, 25, 75)', '(255, 225, 25)', '(0, 130, 200)', '(245, 130, 48)', '(145,... .. py:function:: get_plot_order(geoprob_pipe) Assigns color codes (indices) and color rgb-values to each stochast such that they can be plotted with the same color and same order. :param geoprob_pipe: :return: DataFrame with columns 'variable', 'plot_order' and 'color' .. py:function:: _get_method_used(geoprob_pipe, worst_uittredepunt_id, worst_scenario_id) .. py:function:: get_influence_factors_for_vak(geoprob_pipe, df_invloedsfactoren, vak_id) Returns the influence factors for the worst result of a scenario within the vak. May be empty dataframe if vak has no results. In the past weigh it for the uittredepunt, or average is among all uittredepunten, as was done in the past. The choice was made to keep the actual resulting influence factors because they sum up to 100%. There is also no physical reason to average them, and the worst case scenario is normative for the final result anyway. :param geoprob_pipe: :param df_invloedsfactoren: :param vak_id: :return: Influence factors, worst case uittredepunt ID, worst case scenario label and method used. .. py:function:: _get_data(geoprob_pipe) .. py:function:: _plot_data(geoprob_pipe, df_invloedsfactoren) .. py:function:: _update_layout(fig) .. py:function:: invloedsfactoren(geoprob_pipe, export = False)