Return a dict that maps highlight parameters to features.
(self, highlight_function: Callable)
| 895 | return self._create_mapping(style_function, "style") |
| 896 | |
| 897 | def get_highlight_map(self, highlight_function: Callable) -> TypeStyleMapping: |
| 898 | """Return a dict that maps highlight parameters to features.""" |
| 899 | return self._create_mapping(highlight_function, "highlight") |
| 900 | |
| 901 | def _create_mapping(self, func: Callable, switch: str) -> TypeStyleMapping: |
| 902 | """Internal function to create the mapping.""" |