Is it possible to have multi-level category labels?

Hello,

I’m trying to see if it’s possible to have multi-level category labels. Excel seems to be able to do this fine, using PivotTables at least. I can’t seem to find documentation concerning this.

An example might illustrate:

Here, Fruit/Vegetables/Legumes is the higher level category.

Thanks!

Have you tried adding a second CategoricalAxis? I'm not sure it'll do
exactly what you want, but it's what I'd try.

Here's the docs on adding a second axis:
http://bokeh.pydata.org/en/latest/docs/user_guide/plotting.html#twin-axes

···

On 1/20/16 11:42 PM, [email protected] wrote:

Hello,
I'm trying to see if it's possible to have multi-level category labels.
Excel seems to be able to do this fine, using PivotTables at least. I
can't seem to find documentation concerning this.

An example might illustrate:
http://oi67.tinypic.com/jhwlxe.jpg

Here, Fruit/Vegetables/Legumes is the higher level category.

Thanks!

--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/bokeh/10eda5b5-ec46-4065-8cd2-b0a66b7aa539%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/bokeh/10eda5b5-ec46-4065-8cd2-b0a66b7aa539%40continuum.io?utm_medium=email&utm_source=footer&gt;\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Thanks, I did notice that, but it doesn’t help because because a second CategoricalAxis in bokeh would be evenly spaced, unlike the example I showed.

···

On Thursday, January 21, 2016 at 6:44:13 AM UTC-8, Sarah Bird wrote:

Have you tried adding a second CategoricalAxis? I’m not sure it’ll do

exactly what you want, but it’s what I’d try.

Here’s the docs on adding a second axis:

http://bokeh.pydata.org/en/latest/docs/user_guide/plotting.html#twin-axes

On 1/20/16 11:42 PM, [email protected] wrote:

Hello,

I’m trying to see if it’s possible to have multi-level category labels.

Excel seems to be able to do this fine, using PivotTables at least. I

can’t seem to find documentation concerning this.

An example might illustrate:

http://oi67.tinypic.com/jhwlxe.jpg

Here, Fruit/Vegetables/Legumes is the higher level category.

Thanks!


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]

mailto:[email protected].

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

mailto:[email protected].

To view this discussion on the web visit

https://groups.google.com/a/continuum.io/d/msgid/bokeh/10eda5b5-ec46-4065-8cd2-b0a66b7aa539%40continuum.io

<https://groups.google.com/a/continuum.io/d/msgid/bokeh/10eda5b5-ec46-4065-8cd2-b0a66b7aa539%40continuum.io?utm_medium=email&utm_source=footer>.

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

To accomplish that plot linked below requires some work around both canvas layout, as well as supporting nested coordinate systems. I'm going to start working on this soon, but it's not a trivial task, and will take some substantial time.

Bryan

···

On Jan 21, 2016, at 1:37 PM, [email protected] wrote:

Thanks, I did notice that, but it doesn't help because because a second CategoricalAxis in bokeh would be evenly spaced, unlike the example I showed.

On Thursday, January 21, 2016 at 6:44:13 AM UTC-8, Sarah Bird wrote:
Have you tried adding a second CategoricalAxis? I'm not sure it'll do
exactly what you want, but it's what I'd try.

Here's the docs on adding a second axis:
http://bokeh.pydata.org/en/latest/docs/user_guide/plotting.html#twin-axes

On 1/20/16 11:42 PM, redst...@gmail.com wrote:
> Hello,
> I'm trying to see if it's possible to have multi-level category labels.
> Excel seems to be able to do this fine, using PivotTables at least. I
> can't seem to find documentation concerning this.
>
> An example might illustrate:
> http://oi67.tinypic.com/jhwlxe.jpg
>
> Here, Fruit/Vegetables/Legumes is the higher level category.
>
> Thanks!
>
> --
> 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 bokeh+un...@continuum.io
> <mailto:[email protected]>.
> To post to this group, send email to bo...@continuum.io
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/a/continuum.io/d/msgid/bokeh/10eda5b5-ec46-4065-8cd2-b0a66b7aa539%40continuum.io
> <https://groups.google.com/a/continuum.io/d/msgid/bokeh/10eda5b5-ec46-4065-8cd2-b0a66b7aa539%40continuum.io?utm_medium=email&utm_source=footer&gt;\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
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/98d68129-03a4-4900-a8b7-867f80b70048%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Great, that’s good to know.

Also, thanks for Bokeh! It’s been smooth and nice even though I’ve only just happened upon it.

···

On Thursday, January 21, 2016 at 11:40:22 AM UTC-8, Bryan Van de ven wrote:

To accomplish that plot linked below requires some work around both canvas layout, as well as supporting nested coordinate systems. I’m going to start working on this soon, but it’s not a trivial task, and will take some substantial time.

Bryan

On Jan 21, 2016, at 1:37 PM, [email protected] wrote:

Thanks, I did notice that, but it doesn’t help because because a second CategoricalAxis in bokeh would be evenly spaced, unlike the example I showed.

On Thursday, January 21, 2016 at 6:44:13 AM UTC-8, Sarah Bird wrote:

Have you tried adding a second CategoricalAxis? I’m not sure it’ll do
exactly what you want, but it’s what I’d try.

Here’s the docs on adding a second axis:
http://bokeh.pydata.org/en/latest/docs/user_guide/plotting.html#twin-axes

On 1/20/16 11:42 PM, [email protected] wrote:

Hello,
I’m trying to see if it’s possible to have multi-level category labels.
Excel seems to be able to do this fine, using PivotTables at least. I
can’t seem to find documentation concerning this.

An example might illustrate:
http://oi67.tinypic.com/jhwlxe.jpg

Here, Fruit/Vegetables/Legumes is the higher level category.

Thanks!


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]

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

mailto:[email protected].
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/bokeh/10eda5b5-ec46-4065-8cd2-b0a66b7aa539%40continuum.io

<https://groups.google.com/a/continuum.io/d/msgid/bokeh/10eda5b5-ec46-4065-8cd2-b0a66b7aa539%40continuum.io?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.


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/98d68129-03a4-4900-a8b7-867f80b70048%40continuum.io.

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

Thanks for saying that.

We love to see how people are using Bokeh, if you have any public facing
projects don't hesitate to share.

···

On 1/22/16 1:02 AM, [email protected] wrote:

Also, thanks for Bokeh! It's been smooth and nice even though I've only
just happened upon it.