0.12.7dev15, new features, and help testing

Hi all,

It may not have escaped everyone's notice that I have not been quite as responsive of late. This was partly due to an unexpected family medical situation three weeks ago (everyone is fine now!) But also since then, I have been heads down on a large overhaul that probably should have happened a long time ago. Bokeh's handling of categoricals has been severely lacking for several years. But I am happy to say that the work has been merged and I believe it brings a vast improvement to the user-experience around handling of categorical data. You can see a preview of the work in the latest dev docs:

  Handling categorical data — Bokeh 2.3.3rc1 Documentation

But in brief: things that *should be* simple, like stacked and grouped bar charts, nested hierarchical axes, categorical heat maps and jittered scatters, direct Pandas integrations, finally actually *are simple* in the bokeh.plotting API.

Another really interesting feature from Claire Tang is fiterable and groupable CDS views:

  Filterable and groupable CDS by clairetang6 · Pull Request #5933 · bokeh/bokeh · GitHub

I think eventually this will be one of the most useful foundational features in Bokeh, supporting many other capabilities.

Additionally, Luke Canavan has recently been working on network and graph rendering support, including configurable and extensible hover/selection/highlight polices. This has been an open issue for years, so we are pleased to finally be able to move it forward. We are still working on docs, but you can see an example here:

  bokeh/graphs.py at branch-3.0 · bokeh/bokeh · GitHub

The reason I wanted to mention all this is that this release has a bit more in the way of changes, and we could *really* use a lot of help to test it out. We are planning to try and release 0.12.7 before the end of the month, but that is really contingent on making sure that we haven't broken anything serious in adding these great new features! So please, check out the easy to install dev15 build and give us feedback here or on GitHub (for bugs):

  <no title> — Bokeh 2.4.2 Documentation

Finally, I'd love to add/improve the categorical docs even more, and could use help with that. I am a tinker/tool maker and not much of a user/data scientist. I am sure there are better or more interesting examples, or cases that are missed, that could be added. Input and perspective from the folks who would actually use Bokeh for interesting work would be very welcome! The ReST source for the categorical docs is here:

  bokeh/categorical.rst at branch-3.0 · bokeh/bokeh · GitHub

Please feel free to open issues or PRs to help improve them.

Thanks,

Bryan

Bryan,

The categorical work looks incredible. Thanks for hard and continued effort to the project!

-paul

···

On Mon, Aug 7, 2017 at 4:27 PM, Bryan Van de ven [email protected] wrote:

Hi all,

It may not have escaped everyone’s notice that I have not been quite as responsive of late. This was partly due to an unexpected family medical situation three weeks ago (everyone is fine now!) But also since then, I have been heads down on a large overhaul that probably should have happened a long time ago. Bokeh’s handling of categoricals has been severely lacking for several years. But I am happy to say that the work has been merged and I believe it brings a vast improvement to the user-experience around handling of categorical data. You can see a preview of the work in the latest dev docs:

    [http://bokeh.pydata.org/en/dev/docs/user_guide/categorical.html](http://bokeh.pydata.org/en/dev/docs/user_guide/categorical.html)

But in brief: things that should be simple, like stacked and grouped bar charts, nested hierarchical axes, categorical heat maps and jittered scatters, direct Pandas integrations, finally actually are simple in the bokeh.plotting API.

Another really interesting feature from Claire Tang is fiterable and groupable CDS views:

    [https://github.com/bokeh/bokeh/pull/5933](https://github.com/bokeh/bokeh/pull/5933)

I think eventually this will be one of the most useful foundational features in Bokeh, supporting many other capabilities.

Additionally, Luke Canavan has recently been working on network and graph rendering support, including configurable and extensible hover/selection/highlight polices. This has been an open issue for years, so we are pleased to finally be able to move it forward. We are still working on docs, but you can see an example here:

    [https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/graphs.py](https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/graphs.py)

The reason I wanted to mention all this is that this release has a bit more in the way of changes, and we could really use a lot of help to test it out. We are planning to try and release 0.12.7 before the end of the month, but that is really contingent on making sure that we haven’t broken anything serious in adding these great new features! So please, check out the easy to install dev15 build and give us feedback here or on GitHub (for bugs):

    [http://bokeh.pydata.org/en/latest/docs/installation.html#developer-builds](http://bokeh.pydata.org/en/latest/docs/installation.html#developer-builds)

Finally, I’d love to add/improve the categorical docs even more, and could use help with that. I am a tinker/tool maker and not much of a user/data scientist. I am sure there are better or more interesting examples, or cases that are missed, that could be added. Input and perspective from the folks who would actually use Bokeh for interesting work would be very welcome! The ReST source for the categorical docs is here:

    [https://github.com/bokeh/bokeh/blob/master/sphinx/source/docs/user_guide/categorical.rst](https://github.com/bokeh/bokeh/blob/master/sphinx/source/docs/user_guide/categorical.rst)

Please feel free to open issues or PRs to help improve them.

Thanks,

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/9346081B-D684-42C5-833D-94C4055B1A4F%40continuum.io.

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

Thanks Bryan, sounds great.

Question on the stacked bar charts. Will they handle a combination of positive and negative values? It may sound obvious but Holoviews for instance does not currently while Plotly does a great job rendering them.

Thanks!

Julien

···

On Mon, Aug 7, 2017 at 4:27 PM, Bryan Van de ven [email protected] wrote:

Hi all,

It may not have escaped everyone’s notice that I have not been quite as responsive of late. This was partly due to an unexpected family medical situation three weeks ago (everyone is fine now!) But also since then, I have been heads down on a large overhaul that probably should have happened a long time ago. Bokeh’s handling of categoricals has been severely lacking for several years. But I am happy to say that the work has been merged and I believe it brings a vast improvement to the user-experience around handling of categorical data. You can see a preview of the work in the latest dev docs:

    [http://bokeh.pydata.org/en/dev/docs/user_guide/categorical.html](http://bokeh.pydata.org/en/dev/docs/user_guide/categorical.html)

But in brief: things that should be simple, like stacked and grouped bar charts, nested hierarchical axes, categorical heat maps and jittered scatters, direct Pandas integrations, finally actually are simple in the bokeh.plotting API.

Another really interesting feature from Claire Tang is fiterable and groupable CDS views:

    [https://github.com/bokeh/bokeh/pull/5933](https://github.com/bokeh/bokeh/pull/5933)

I think eventually this will be one of the most useful foundational features in Bokeh, supporting many other capabilities.

Additionally, Luke Canavan has recently been working on network and graph rendering support, including configurable and extensible hover/selection/highlight polices. This has been an open issue for years, so we are pleased to finally be able to move it forward. We are still working on docs, but you can see an example here:

    [https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/graphs.py](https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/graphs.py)

The reason I wanted to mention all this is that this release has a bit more in the way of changes, and we could really use a lot of help to test it out. We are planning to try and release 0.12.7 before the end of the month, but that is really contingent on making sure that we haven’t broken anything serious in adding these great new features! So please, check out the easy to install dev15 build and give us feedback here or on GitHub (for bugs):

    [http://bokeh.pydata.org/en/latest/docs/installation.html#developer-builds](http://bokeh.pydata.org/en/latest/docs/installation.html#developer-builds)

Finally, I’d love to add/improve the categorical docs even more, and could use help with that. I am a tinker/tool maker and not much of a user/data scientist. I am sure there are better or more interesting examples, or cases that are missed, that could be added. Input and perspective from the folks who would actually use Bokeh for interesting work would be very welcome! The ReST source for the categorical docs is here:

    [https://github.com/bokeh/bokeh/blob/master/sphinx/source/docs/user_guide/categorical.rst](https://github.com/bokeh/bokeh/blob/master/sphinx/source/docs/user_guide/categorical.rst)

Please feel free to open issues or PRs to help improve them.

Thanks,

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/9346081B-D684-42C5-833D-94C4055B1A4F%40continuum.io.

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

Julien,

I am not sure what Plotly looks like (I’ve never used it), but you can do this now:

data = {'fruits' : fruits,

	'p1' : [2, 1, 4, 3, 2, 4],

	'p2' : [5, 3, 4, 2, 4, 6],

	'p3' : [3, 2, 4, 4, 5, 3],

	'n1' : [-2, -1, -4, -3, -2, -4],

	'n2' : [-5, -3, -4, -2, -4, -6],

	'n3' : [-3, -2, -4, -4, -5, -3]}

source = ColumnDataSource(data=data)

p = figure(y_range=fruits, plot_height=250, x_range=(-15, 15),
    toolbar_location=None, title="Fruit Counts by Year")

p.hbar_stack(['p1', 'p2', 'p3'], y='fruits', height=0.9, color=GnBu3, source=source)
p.hbar_stack(['n1', 'n2', 'n3'], y='fruits', height=0.9, color=OrRd3, source=source)

Thanks, Bryan

···

On Aug 8, 2017, at 06:25, Julien Dargent [email protected] wrote:

Thanks Bryan, sounds great.

Question on the stacked bar charts. Will they handle a combination of positive and negative values? It may sound obvious but Holoviews for instance does not currently while Plotly does a great job rendering them.

Thanks!
Julien

On Aug 7, 2017, at 7:46 PM, Paul Hobson [email protected] wrote:

Bryan,

The categorical work looks incredible. Thanks for hard and continued effort to the project!
-paul

On Mon, Aug 7, 2017 at 4:27 PM, Bryan Van de ven [email protected] wrote:
Hi all,

It may not have escaped everyone’s notice that I have not been quite as responsive of late. This was partly due to an unexpected family medical situation three weeks ago (everyone is fine now!) But also since then, I have been heads down on a large overhaul that probably should have happened a long time ago. Bokeh’s handling of categoricals has been severely lacking for several years. But I am happy to say that the work has been merged and I believe it brings a vast improvement to the user-experience around handling of categorical data. You can see a preview of the work in the latest dev docs:

    http://bokeh.pydata.org/en/dev/docs/user_guide/categorical.html

But in brief: things that should be simple, like stacked and grouped bar charts, nested hierarchical axes, categorical heat maps and jittered scatters, direct Pandas integrations, finally actually are simple in the bokeh.plotting API.

Another really interesting feature from Claire Tang is fiterable and groupable CDS views:

    https://github.com/bokeh/bokeh/pull/5933

I think eventually this will be one of the most useful foundational features in Bokeh, supporting many other capabilities.

Additionally, Luke Canavan has recently been working on network and graph rendering support, including configurable and extensible hover/selection/highlight polices. This has been an open issue for years, so we are pleased to finally be able to move it forward. We are still working on docs, but you can see an example here:

    https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/graphs.py

The reason I wanted to mention all this is that this release has a bit more in the way of changes, and we could really use a lot of help to test it out. We are planning to try and release 0.12.7 before the end of the month, but that is really contingent on making sure that we haven’t broken anything serious in adding these great new features! So please, check out the easy to install dev15 build and give us feedback here or on GitHub (for bugs):

    http://bokeh.pydata.org/en/latest/docs/installation.html#developer-builds

Finally, I’d love to add/improve the categorical docs even more, and could use help with that. I am a tinker/tool maker and not much of a user/data scientist. I am sure there are better or more interesting examples, or cases that are missed, that could be added. Input and perspective from the folks who would actually use Bokeh for interesting work would be very welcome! The ReST source for the categorical docs is here:

    https://github.com/bokeh/bokeh/blob/master/sphinx/source/docs/user_guide/categorical.rst

Please feel free to open issues or PRs to help improve them.

Thanks,

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/9346081B-D684-42C5-833D-94C4055B1A4F%40continuum.io.
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/CADT3MEDgBLGP_%2Bbu85ME6frBe7UGi6T8aamnBG7viXxsfdRPVg%40mail.gmail.com.
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/ADDC2749-58BD-4B6B-BDF2-E50F0DE39403%40gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Here’s a possibly more compelling example, I’ll be adding it to the docs

···

On Aug 8, 2017, at 08:29, Bryan Van de ven [email protected] wrote:

Julien,

I am not sure what Plotly looks like (I’ve never used it), but you can do this now:

data = {‘fruits’ : fruits,
‘p1’ : [2, 1, 4, 3, 2, 4],
‘p2’ : [5, 3, 4, 2, 4, 6],
‘p3’ : [3, 2, 4, 4, 5, 3],
‘n1’ : [-2, -1, -4, -3, -2, -4],
‘n2’ : [-5, -3, -4, -2, -4, -6],
‘n3’ : [-3, -2, -4, -4, -5, -3]}

source = ColumnDataSource(data=data)

p = figure(y_range=fruits, plot_height=250, x_range=(-15, 15),
toolbar_location=None, title=“Fruit Counts by Year”)

p.hbar_stack([‘p1’, ‘p2’, ‘p3’], y=‘fruits’, height=0.9, color=GnBu3, source=source)
p.hbar_stack([‘n1’, ‘n2’, ‘n3’], y=‘fruits’, height=0.9, color=OrRd3, source=source)

<Screen Shot 2017-08-08 at 08.28.34.png>

Thanks, Bryan

On Aug 8, 2017, at 06:25, Julien Dargent [email protected] wrote:

Thanks Bryan, sounds great.

Question on the stacked bar charts. Will they handle a combination of positive and negative values? It may sound obvious but Holoviews for instance does not currently while Plotly does a great job rendering them.

Thanks!
Julien

On Aug 7, 2017, at 7:46 PM, Paul Hobson [email protected] wrote:

Bryan,

The categorical work looks incredible. Thanks for hard and continued effort to the project!
-paul

On Mon, Aug 7, 2017 at 4:27 PM, Bryan Van de ven [email protected] wrote:
Hi all,

It may not have escaped everyone’s notice that I have not been quite as responsive of late. This was partly due to an unexpected family medical situation three weeks ago (everyone is fine now!) But also since then, I have been heads down on a large overhaul that probably should have happened a long time ago. Bokeh’s handling of categoricals has been severely lacking for several years. But I am happy to say that the work has been merged and I believe it brings a vast improvement to the user-experience around handling of categorical data. You can see a preview of the work in the latest dev docs:

    http://bokeh.pydata.org/en/dev/docs/user_guide/categorical.html

But in brief: things that should be simple, like stacked and grouped bar charts, nested hierarchical axes, categorical heat maps and jittered scatters, direct Pandas integrations, finally actually are simple in the bokeh.plotting API.

Another really interesting feature from Claire Tang is fiterable and groupable CDS views:

    https://github.com/bokeh/bokeh/pull/5933

I think eventually this will be one of the most useful foundational features in Bokeh, supporting many other capabilities.

Additionally, Luke Canavan has recently been working on network and graph rendering support, including configurable and extensible hover/selection/highlight polices. This has been an open issue for years, so we are pleased to finally be able to move it forward. We are still working on docs, but you can see an example here:

    https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/graphs.py

The reason I wanted to mention all this is that this release has a bit more in the way of changes, and we could really use a lot of help to test it out. We are planning to try and release 0.12.7 before the end of the month, but that is really contingent on making sure that we haven’t broken anything serious in adding these great new features! So please, check out the easy to install dev15 build and give us feedback here or on GitHub (for bugs):

    http://bokeh.pydata.org/en/latest/docs/installation.html#developer-builds

Finally, I’d love to add/improve the categorical docs even more, and could use help with that. I am a tinker/tool maker and not much of a user/data scientist. I am sure there are better or more interesting examples, or cases that are missed, that could be added. Input and perspective from the folks who would actually use Bokeh for interesting work would be very welcome! The ReST source for the categorical docs is here:

    https://github.com/bokeh/bokeh/blob/master/sphinx/source/docs/user_guide/categorical.rst

Please feel free to open issues or PRs to help improve them.

Thanks,

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/9346081B-D684-42C5-833D-94C4055B1A4F%40continuum.io.
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/CADT3MEDgBLGP_%2Bbu85ME6frBe7UGi6T8aamnBG7viXxsfdRPVg%40mail.gmail.com.
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/ADDC2749-58BD-4B6B-BDF2-E50F0DE39403%40gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.