0.3.0 • Published 6 years ago

jupyterlab-xyz-extension v0.3.0

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
6 years ago

xyz-extension

A JupyterLab extension for rendering xyz point cloud

Requirements

  • JupyterLab ^0.30.0
  • Node.js >= 5

Install

jupyter labextension install holmantai/xyz-extension

Usage

To render a .xyz file, simply open it.

Contributing

Install

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
git clone https://github.com/jupyterlab/jupyter-renderers.git
cd jupyter-renderers
# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension link packages/fasta-extension
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build

You can watch the jupyter-renderers directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

conda activate  jupyterlab-ext

jupyter labextension link .
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch
# Watch the jupyter-renderers directory in another terminal tab
jlpm watch

Uninstall

jupyter labextension uninstall @jupyterlab/xyz-extension

Change log

version 0.2.0 support rgb