Skip to main content

napari-layer-table

License: GPL v3 PyPI version napari hub Python OS tests codecov

A plugin to display a layer as a table.

This will work well with point layers. We are debugging shapes and labeled layers, come back to check on that!


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Installation

You can install napari-layer-table via pip:

pip install napari-layer-table

To install latest development version :

pip install git+https://github.com/mapmanager/napari-layer-table.git

Using the Plugin

You can use the napari-layer-table plugin to display points layer as a table.

  • Open a napari viewer with a Points layer
  • Add the plugin to the napari viewer from Plugins menu -> Add dock widget -> napari-layer-table: Points Table
  • The selected layer is displayed in the table.
  • The table has columns for:
    • Point symbol with face color
    • Point coordinates (x,y,z)
    • If the layer has properties, they are also shown as columns

Plugin Features

  • Bi-directional selection between layer and table.
  • Bi-directional deletion between layer and table.
  • Points added to the layer are added to the table.
  • Points moved in the layer are updated in the table.
  • Multiple points selected in the layer are also selected in the table
  • Changes to face color and symbol in the layer are updated in the table.
  • Ability to sort individual columns from low to high or high to low
  • Refresh button to manually refresh the table data
  • btf button to manually bring the layer whose table data is being shown to front

Right-click for context menu to:

  • Toggle table columns on/off.
  • Toggle shift+click to add a point to the layer (no need to switch viewer mode)
  • Copy table to clipboard

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the GNU GPL v3.0 license, "napari-layer-table" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for napari-layer-table 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-layer-table 0.0.13
File Size Uploaded
napari_layer_table-0.0.13.tar.gz 57.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-layer-table 0.0.13
File Interpreter ABI Platform
napari_layer_table-0.0.13-py3-none-any.whl Python 3 none any Details

Total release size: 117.9 kB

Release files / napari_layer_table-0.0.13.tar.gz

Download URL napari_layer_table-0.0.13.tar.gz
Size 57.1 kB
Tags Source
SHA-256 checksum
How to use checksums
75c0065133de152118bb761f847895f9354603b4f030a7103fd62767b47fb806
BLAKE2b-256 checksum
How to use checksums
2ee2c5406831b78414d9046be70f1081aba3185bf2abf363f26e4f4d170e8c61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / napari_layer_table-0.0.13-py3-none-any.whl

Download URL napari_layer_table-0.0.13-py3-none-any.whl
Size 60.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
939d1b8fc899bf1f3596eabe96f92d07d48f5b358a09184c3b26dcc62bbed06f
BLAKE2b-256 checksum
How to use checksums
021c1d2a9a08c60e91813db3467bb55ad4f4eec39197d73e99ecbb6450b81f89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.13 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page