Skip to content

Commit

Permalink
Add additional heatmap schemas (#5549)
Browse files Browse the repository at this point in the history
* got skeleton started

* added d3-scale-chromatic to package.json

* got hex values instead of calling from a function

* got rid of d3-scale-chromatic - no longer needed

* added schemas to controls

* damn editor broken some line spacing

* commit

* fix style issues

* whyyyyy won't this build

* whyyyyy won't this build

* damn typo

* hahaha got editor to deal with style configs

* no i guess i didn't

* gotta get them all

* again

* trying to get docker build ot work

* updated installation docs with some osx instructions

* restoring yarn.lock not sure why it changed

* trying to fix indent

* trying again

* CODE STYLE CHANGES WORK

* removing some colors that are too close to white

* human readable labels for names

* human readable labels for names
  • Loading branch information
jerowe authored and mistercrunch committed Aug 14, 2018
1 parent 763eeca commit a39dfb9
Show file tree
Hide file tree
Showing 3 changed files with 401 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ initialize development environment: ::
After several minutes for superset initialization to finish, you can open
a browser and view `http://localhost:8088` to start your journey.

If you are attempting to build on a Mac and it exits with 137 you need to increase your docker resources.
OSX instructions: https://docs.docker.com/docker-for-mac/#advanced (Search for memory)

Or if you're curious and want to install superset from bottom up, then go
ahead.

Expand Down
33 changes: 33 additions & 0 deletions superset/assets/src/explore/controls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,39 @@ export const controls = {
['red_yellow_blue', 'red/yellowish/blue'],
['brown_white_green', 'brown/white/green'],
['purple_white_green', 'purple/white/green'],
['schemeBrBG', 'brown/green'],
['schemePRGn', 'purple/green'],
['schemePiYG', 'pink/green'],
['schemePuOr', 'purple/orange'],
['schemeRdBu', 'red/blue'],
['schemeRdGy', 'red/gray/black'],
['schemeRdYlBu', 'red/yellow/blue'],
['schemeRdYlGn', 'red/yellow/green'],
['schemeSpectral', 'rainbow'],
['schemeBlues', 'd3/blues'],
['schemeGreens', 'd3/greens'],
['schemeGrays', 'd3/grays'],
['schemeOranges', 'd3/oranges'],
['schemePurples', 'd3/purples'],
['schemeReds', 'd3/reds'],
['schemeViridis', 'd3/purple/blue/green/yellow'],
['schemeInferno', 'd3/purple/red/orange/yellow'],
['schemeMagma', 'd3/purple/pink/peach'],
['schemeWarm', 'd3/warm/purple/pink/yellow/green'],
['schemeCool', 'd3/cool/blue/green'],
['schemeCubehelixDefault', 'd3/black/green/brown/pink/blue'],
['schemeBuGn', 'd3/blue/green'],
['schemeBuPu', 'd3/blue/purple'],
['schemeGnBu', 'd3/green/blue'],
['schemeOrRd', 'd3/orange/red'],
['schemePuBuGn', 'd3/purple/blue/green'],
['schemePuBu', 'd3/purple/blue'],
['schemePuRd', 'd3/purple/red'],
['schemeRdPu', 'd3/red/purple'],
['schemeYlGnBu', 'd3/yellow/green/blue'],
['schemeYlGn', 'd3/yellow/green'],
['schemeYlOrBr', 'd3/yellow/brown'],
['schemeYlOrRd', 'd3/yellow/orange/red'],
],
default: 'blue_white_yellow',
clearable: false,
Expand Down
Loading

0 comments on commit a39dfb9

Please sign in to comment.