entity types for colors should be in uppercase (#3599)

although the text indicates the entity types should be in lowercase, the sample code shows uppercase, which is the correct format.
This commit is contained in:
fizban99 2019-04-17 11:22:56 +02:00 committed by Ines Montani
parent 57d4a8bf3d
commit f2f2df6e78

View File

@ -136,7 +136,7 @@ The entity visualizer lets you customize the following `options`:
| Argument | Type | Description | Default |
| -------- | ---- | ------------------------------------------------------------------------------------- | ------- |
| `ents` | list |  Entity types to highlight (`None` for all types). | `None` |
| `colors` | dict | Color overrides. Entity types in lowercase should be mapped to color names or values. | `{}` |
| `colors` | dict | Color overrides. Entity types in uppercase should be mapped to color names or values. | `{}` |
If you specify a list of `ents`, only those entity types will be rendered for
example, you can choose to display `PERSON` entities. Internally, the visualizer