Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavaro committed Apr 12, 2018
1 parent 933adf5 commit 2495a1f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

### Raw HTML/JS

Include the colormap script in HTML

<script src="colormap/colormap.js"></script>

Create colormap with specifications in JS

let spec = {
colormap: 'jet',
nshades: 10,
Expand All @@ -20,7 +26,7 @@

### npm

See [this](https://github.com/bpostlethwaite/colormap)
See [this](https://github.com/bpostlethwaite/colormap#usage)

## API

Expand Down

0 comments on commit 2495a1f

Please sign in to comment.