/bokeh_cutom_ext

Repository with my bokeh custom extensions

Primary LanguageTypeScript

bokeh_cutom_ext

Introduction

Repository with my bokeh custom extensions

It aims to provide an environment to develop bokeh custom extension in Visual Code.

I decided to use TypeScript for custom extension to take advantage of the bokehjs types library. It allows to add autocompletion through tslint.

Environment setup

Node.js must be installed and in the PATH

Once the repository is cloned, install dependencies through the following commands:

npm install -g typescript
npm install -g tslint
npm install -no-save

Recommended Visual Code Plug-In:

  • tslint (TypeScript autocompletion)
  • python (Python development plug-in)

Then you are ready to develop your custom extensions.

Examples

In Extension directory you can find some examples of custom extensions development. Some are direct conversion of bokeh examples:

Tips