categorical axes

Hi all,

just a quick update I have merged basic support for categorical axes, ranges, and mappers to master. There is a js demo under bokehjs/build/demo/categorical.html (after a "grunt build") and a python example under examples/plotting/file/categorical.py. They both show a dot plot and a categorical heat map. I plan to add parallel axes and stacked bars examples soon as well. Please try it out and report any issues, problems, feature requests on the GH tracker!

Bryan

Bryan, I’m still running into grunt errors trying to do the build. This is after doing a “setup.py install” at the top level.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt mindeploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt deploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

Then when I try to view run categorical.py example, I get “Unknown Collection CategoricalAxis”.

···

On Mon, Feb 10, 2014 at 11:01 PM, Bryan Van de Ven [email protected] wrote:

Hi all,

just a quick update I have merged basic support for categorical axes, ranges, and mappers to master. There is a js demo under bokehjs/build/demo/categorical.html (after a “grunt build”) and a python example under examples/plotting/file/categorical.py. They both show a dot plot and a categorical heat map. I plan to add parallel axes and stacked bars examples soon as well. Please try it out and report any issues, problems, feature requests on the GH tracker!

Bryan

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/90B81BD9-AE24-4133-AB47-0FBC479AFFDA%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

Peter,

Have you run grunt build (there where some changes at the coffeescript code, so you need to built it to js) ?

I just did:

grunt build

and then:

grunt deploy

Finally, in the top level directory:

python setup.py devjs

And it is working for me…

···

On Wed, Feb 12, 2014 at 4:04 AM, Peter Wang [email protected] wrote:

Bryan, I’m still running into grunt errors trying to do the build. This is after doing a “setup.py install” at the top level.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt mindeploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt deploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

Then when I try to view run categorical.py example, I get “Unknown Collection CategoricalAxis”.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CABGrp%2B-KYrseOZag7nps4O0gOkXvLKQcy6nM4dOLiy5gL1PQkA%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.


Damián Avila
Scientific Python Developer

Quantitative Finance Analyst

Statistics, Biostatistics and Econometrics Consultant

Biochemist

On Mon, Feb 10, 2014 at 11:01 PM, Bryan Van de Ven [email protected] wrote:

Hi all,

just a quick update I have merged basic support for categorical axes, ranges, and mappers to master. There is a js demo under bokehjs/build/demo/categorical.html (after a “grunt build”) and a python example under examples/plotting/file/categorical.py. They both show a dot plot and a categorical heat map. I plan to add parallel axes and stacked bars examples soon as well. Please try it out and report any issues, problems, feature requests on the GH tracker!

Bryan

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/90B81BD9-AE24-4133-AB47-0FBC479AFFDA%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

I think the problem is that "setup.py install" does not build the js, which might be nice sometimes.

···

On Feb 12, 2014, at 4:22 AM, Damián Avila <[email protected]> wrote:

Peter,

Have you run `grunt build` (there where some changes at the coffeescript code, so you need to built it to js) ?

I just did:

`grunt build`

and then:

`grunt deploy`

Finally, in the top level directory:

`python setup.py devjs`

And it is working for me...

On Wed, Feb 12, 2014 at 4:04 AM, Peter Wang <[email protected]> wrote:
Bryan, I'm still running into grunt errors trying to do the build. This is after doing a "setup.py install" at the top level.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt mindeploy
>> Local Npm module "grunt-contrib-cssmin" not found. Is it installed?
>> Local Npm module "grunt-contrib-concat" not found. Is it installed?
>> Local Npm module "grunt-contrib-connect" not found. Is it installed?
>> Local Npm module "grunt-groc" not found. Is it installed?
Warning: Task "concat:css" not found. Use --force to continue.

Aborted due to warnings.
[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt deploy
>> Local Npm module "grunt-contrib-cssmin" not found. Is it installed?
>> Local Npm module "grunt-contrib-concat" not found. Is it installed?
>> Local Npm module "grunt-contrib-connect" not found. Is it installed?
>> Local Npm module "grunt-groc" not found. Is it installed?
Warning: Task "concat:css" not found. Use --force to continue.

Aborted due to warnings.

Then when I try to view run categorical.py example, I get "Unknown Collection CategoricalAxis".

On Mon, Feb 10, 2014 at 11:01 PM, Bryan Van de Ven <[email protected]> wrote:
Hi all,

just a quick update I have merged basic support for categorical axes, ranges, and mappers to master. There is a js demo under bokehjs/build/demo/categorical.html (after a "grunt build") and a python example under examples/plotting/file/categorical.py. They both show a dot plot and a categorical heat map. I plan to add parallel axes and stacked bars examples soon as well. Please try it out and report any issues, problems, feature requests on the GH tracker!

Bryan

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/90B81BD9-AE24-4133-AB47-0FBC479AFFDA%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CABGrp%2B-KYrseOZag7nps4O0gOkXvLKQcy6nM4dOLiy5gL1PQkA%40mail.gmail.com\.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

--
Damián Avila
Scientific Python Developer
Quantitative Finance Analyst
Statistics, Biostatistics and Econometrics Consultant
Biochemist

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAH%2BmRR29DFXgVTZvyqGF%2BJXC9VYHZ2mgnux%2Bs7VYG0Tf18GVHw%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

OK, I had to manually install the missing grunt-contrib stuff:

npm install grunt-contrib-cssmin

npm install grunt-contrib-concat

npm install grunt-contrib-connect

Then “grunt deploy” works, and then a “python setup.py devjs” in the main bokeh directory, gets everything working.

I wonder why the grunt-contrib-* is not picked up automatically when I do “npm install grunt”?

···

On Wed, Feb 12, 2014 at 2:22 AM, Damián Avila [email protected] wrote:

Peter,

Have you run grunt build (there where some changes at the coffeescript code, so you need to built it to js) ?

I just did:

grunt build

and then:

grunt deploy

Finally, in the top level directory:

python setup.py devjs

And it is working for me…

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAH%2BmRR29DFXgVTZvyqGF%2BJXC9VYHZ2mgnux%2Bs7VYG0Tf18GVHw%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Wed, Feb 12, 2014 at 4:04 AM, Peter Wang [email protected] wrote:

Bryan, I’m still running into grunt errors trying to do the build. This is after doing a “setup.py install” at the top level.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt mindeploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt deploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

Then when I try to view run categorical.py example, I get “Unknown Collection CategoricalAxis”.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CABGrp%2B-KYrseOZag7nps4O0gOkXvLKQcy6nM4dOLiy5gL1PQkA%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.


Damián Avila
Scientific Python Developer

Quantitative Finance Analyst

Statistics, Biostatistics and Econometrics Consultant

Biochemist

On Mon, Feb 10, 2014 at 11:01 PM, Bryan Van de Ven [email protected] wrote:

Hi all,

just a quick update I have merged basic support for categorical axes, ranges, and mappers to master. There is a js demo under bokehjs/build/demo/categorical.html (after a “grunt build”) and a python example under examples/plotting/file/categorical.py. They both show a dot plot and a categorical heat map. I plan to add parallel axes and stacked bars examples soon as well. Please try it out and report any issues, problems, feature requests on the GH tracker!

Bryan

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/90B81BD9-AE24-4133-AB47-0FBC479AFFDA%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

It should be? Are those missing from bokehjs/package.json?

···

On Wed, Feb 12, 2014 at 2:22 AM, Damián Avila [email protected] wrote:

Peter,

Have you run grunt build (there where some changes at the coffeescript code, so you need to built it to js) ?

I just did:

grunt build

and then:

grunt deploy

Finally, in the top level directory:

python setup.py devjs

And it is working for me…

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAH%2BmRR29DFXgVTZvyqGF%2BJXC9VYHZ2mgnux%2Bs7VYG0Tf18GVHw%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Wed, Feb 12, 2014 at 4:04 AM, Peter Wang [email protected] wrote:

Bryan, I’m still running into grunt errors trying to do the build. This is after doing a “setup.py install” at the top level.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt mindeploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt deploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

Then when I try to view run categorical.py example, I get “Unknown Collection CategoricalAxis”.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CABGrp%2B-KYrseOZag7nps4O0gOkXvLKQcy6nM4dOLiy5gL1PQkA%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.


Damián Avila
Scientific Python Developer

Quantitative Finance Analyst

Statistics, Biostatistics and Econometrics Consultant

Biochemist

On Mon, Feb 10, 2014 at 11:01 PM, Bryan Van de Ven [email protected] wrote:

Hi all,

just a quick update I have merged basic support for categorical axes, ranges, and mappers to master. There is a js demo under bokehjs/build/demo/categorical.html (after a “grunt build”) and a python example under examples/plotting/file/categorical.py. They both show a dot plot and a categorical heat map. I plan to add parallel axes and stacked bars examples soon as well. Please try it out and report any issues, problems, feature requests on the GH tracker!

Bryan

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/90B81BD9-AE24-4133-AB47-0FBC479AFFDA%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

No… they are not missing from the packages.json file: https://github.com/ContinuumIO/bokeh/blob/master/bokehjs/package.json#L11

···

On Wed, Feb 12, 2014 at 1:18 PM, Bryan Van de Ven [email protected] wrote:

It should be? Are those missing from bokehjs/package.json?

On Feb 12, 2014, at 9:05, Peter Wang [email protected] wrote:

OK, I had to manually install the missing grunt-contrib stuff:

npm install grunt-contrib-cssmin

npm install grunt-contrib-concat

npm install grunt-contrib-connect

Then “grunt deploy” works, and then a “python setup.py devjs” in the main bokeh directory, gets everything working.

I wonder why the grunt-contrib-* is not picked up automatically when I do “npm install grunt”?

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CABGrp%2B-iz_fnK2Naag1Nu96-a1FenQ6KTfa_ZQbuD5shnTJXGQ%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/5751665A-AE6A-4F26-BC8B-947E9C805880%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Wed, Feb 12, 2014 at 2:22 AM, Damián Avila [email protected] wrote:

Peter,

Have you run grunt build (there where some changes at the coffeescript code, so you need to built it to js) ?

I just did:

grunt build

and then:

grunt deploy

Finally, in the top level directory:

python setup.py devjs

And it is working for me…

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAH%2BmRR29DFXgVTZvyqGF%2BJXC9VYHZ2mgnux%2Bs7VYG0Tf18GVHw%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Wed, Feb 12, 2014 at 4:04 AM, Peter Wang [email protected] wrote:

Bryan, I’m still running into grunt errors trying to do the build. This is after doing a “setup.py install” at the top level.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt mindeploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

[pwang@hyperion ~/src/bokeh/bokehjs/build/js (master)]$ grunt deploy

Local Npm module “grunt-contrib-cssmin” not found. Is it installed?

Local Npm module “grunt-contrib-concat” not found. Is it installed?

Local Npm module “grunt-contrib-connect” not found. Is it installed?

Local Npm module “grunt-groc” not found. Is it installed?

Warning: Task “concat:css” not found. Use --force to continue.

Aborted due to warnings.

Then when I try to view run categorical.py example, I get “Unknown Collection CategoricalAxis”.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CABGrp%2B-KYrseOZag7nps4O0gOkXvLKQcy6nM4dOLiy5gL1PQkA%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.


Damián Avila
Scientific Python Developer

Quantitative Finance Analyst

Statistics, Biostatistics and Econometrics Consultant

Biochemist

On Mon, Feb 10, 2014 at 11:01 PM, Bryan Van de Ven [email protected] wrote:

Hi all,

just a quick update I have merged basic support for categorical axes, ranges, and mappers to master. There is a js demo under bokehjs/build/demo/categorical.html (after a “grunt build”) and a python example under examples/plotting/file/categorical.py. They both show a dot plot and a categorical heat map. I plan to add parallel axes and stacked bars examples soon as well. Please try it out and report any issues, problems, feature requests on the GH tracker!

Bryan

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/90B81BD9-AE24-4133-AB47-0FBC479AFFDA%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.