df_extensions/space.py
def raincloud_tool(self, reverse: bool = False):
        """
        Raincloud tool to examine variables showing the
        distribution of different clusters
        The reverse option flips this.
        """
        if reverse:
            return self.reverse_raincloud_tool()

        def func(variable, comparison, use_source_values):
            groups = "Cluster"
            if comparison == "all":
                comparison = None
            if comparison == "none":
                groups = None
                comparison = None
            self.raincloud(
                variable,
                one_value=comparison,
                groups=groups,
                use_source=use_source_values,
            )

        comparison_options = ["all", "none"] + self.get_label_options()
        tool = interactive(
            func,
            variable=self.cols,
            use_source_values=True,
            comparison=comparison_options,
        )

        display(tool)

        Raincloud tool to examine variables showing the
        distribution of different clusters
        The reverse option flips this.
        
Raincloud tool to examine variables showing the
distribution of different clusters
The reverse option flips this.
Raincloud tool to examine variables showing the distribution of different clusters The reverse option flips this .
def raincloud_tool(self, reverse: bool = False):
        if reverse:
            return self.reverse_raincloud_tool()
        def func(variable, comparison, use_source_values):
            groups = "Cluster"
            if comparison == "all":
                comparison = None
            if comparison == "none":
                groups = None
                comparison = None
            self.raincloud(
                variable,
                one_value=comparison,
                groups=groups,
                use_source=use_source_values,
            )
        comparison_options = ["all", "none"] + self.get_label_options()
        tool = interactive(
            func,
            variable=self.cols,
            use_source_values=True,
            comparison=comparison_options,
        )
        display(tool)
def raincloud_tool ( self , reverse : bool = False ) : if reverse : return self . reverse_raincloud_tool ( ) def func ( variable , comparison , use_source_values ) : groups = "Cluster" if comparison == "all" : comparison = None if comparison == "none" : groups = None comparison = None self . raincloud ( variable , one_value = comparison , groups = groups , use_source = use_source_values , ) comparison_options = [ "all" , "none" ] + self . get_label_options ( ) tool = interactive ( func , variable = self . cols , use_source_values = True , comparison = comparison_options , ) display ( tool )
Raincloud tool to examine variables showing the
distribution of different clusters
The reverse option flips this.
Raincloud tool to examine variables showing the distribution of different clusters The reverse option flips this .
"""
        Raincloud tool to examine variables showing the
        distribution of different clusters
        The reverse option flips this.
        """
self
reverse
bool