just check equality here. i.e.,

```python
if kind != 'scatter':
    # stuff
```