You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
In some cases, the reasons of impurity are not propagated at all. This is undesirable because it will lead to impure functions wrongly being classified as pure.
Here are some examples of these cases:
# seaborn_v0.12.2._core.properties.get_mapping.764.4defget_mapping(self, scale: Scale, data: Series) ->Mapping:
"""Return a function that maps each data value to True or False."""boolean_scale=isinstance(scale, Boolean)
order=getattr(scale, "order", [True, False] ifboolean_scaleelseNone) # Impure Builtin not propagatedlevels=categorical_order(data, order)
values=self._get_values(scale, levels) # Impure Call not propagated
# seaborn_v0.12.2._core.properties._get_nominal_mapping.223.4def_get_nominal_mapping(self, scale: Nominal, data: Series) ->Mapping:
"""Identify evenly-spaced values using interval or explicit mapping."""levels=categorical_order(data, scale.order)
values=self._get_values(scale, levels) # Impure Call not propagated
Activity