Nglui

Latest version: v3.7.1

Safety actively analyzes 688775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

2.13.0

Added

- **StateBuilder** Adding a helper function for basic line annotation states
- **StateBuilder** Helper functions can take `split_position` argument.

2.12.1

Fixed

- **StateBuilder** Handle None data correctly with mapping sets.

2.12.0

Added

- **EasyViewer** At long last, you can set the background color in `set_view_options` with the argument `background_color`. As elsewhere, this uses [webcolors](https://webcolors.readthedocs.io/) to deal with color parsing, so it can take names or rgb or hex.
- **StateBuilder** StateBuilder can now set the background color in in `view_kws` with the key `background_color`.
- **StateBuilder** *Mapping sets* offer a new and simple iapproach to having multiple dataframes with different mapping rules.
- **StateBuilder** Mapping rules can handle dataframes where the point position components are split across different columns, assuming that the suffices are always `_x`, `_y`, and `_z`. Set `split_positions=True` in the mapping rule to use this.

Changed

- **StateBuilder** Mapping rules now default to `set_position = True`.

2.10.0

Added

- **StateBuilder** A number of helper functions to produce common states have been added to statebuilder.
You can use the function `make_neuron_neuroglancer_link` to generate a link with one or more root ids and, optionally, their synapses.
Further, you can use the function `make_synapse_neuroglancer_link` to generate a state from a synapse dataframe.
- **StateBuilder** Linked segmentations and annotation groups now support multiple columns.
For linked segmentations, this adds multiple root ids per annotation.
For groups, each unique combinations of values gets its own group.
- **StateBuilder** and **EasyViewer** Colors for layers or segment ids can now be in RGB tuples with values between 0--1 or CSS3 named colors, not just hex.
- **StateBuilder** When using the `client=` argument, viewer resolution is inferred from the client info and does not need to be passed as an additional argument.

Fixed

- **StateBuilder** For SegmentationLayerConfigs, adding selection maps via `add_selection_map` is more robust.

2.7.2

Fixed

- **StateBuilder** Multipoint now works with `set_position`.

2.7.1

Fixed

- **StateBuilder** Multipoint performance has improved.

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.