Skip to main content

A plugin to display a layer as a table.

Project description

napari-layer-table

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

A plugin to display a layer as a table.


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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari-layer-table-0.0.7.tar.gz (38.2 kB view hashes)

Uploaded source

Built Distribution

napari_layer_table-0.0.7-py3-none-any.whl (40.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page