Return the scale instance in the current context for a given dimension. Parameters ---------- dimension: string The dimension along which the current context scale is to be fetched.
(dimension)
| 1074 | |
| 1075 | |
| 1076 | def _get_context_scale(dimension): |
| 1077 | """Return the scale instance in the current context for a given dimension. |
| 1078 | |
| 1079 | Parameters |
| 1080 | ---------- |
| 1081 | |
| 1082 | dimension: string |
| 1083 | The dimension along which the current context scale is to be fetched. |
| 1084 | """ |
| 1085 | return _context['scales'][dimension] |
| 1086 | |
| 1087 | |
| 1088 | def _create_selector(int_type, func, trait, **kwargs): |
no outgoing calls
no test coverage detected
searching dependent graphs…