Skip to content

Bokeh RC Updates Breaks Dashboard #4534

Closed

Description

@quasiben

In bokeh 2.3.0rc2, there are some issues with Dask dashboard documented here:
bokeh/bokeh#10935

While Bokeh updates to handle nullables for a variety of objects dask could update the null calls within Bokeh

Setting None in x_range:

cpu = figure(
title="CPU Utilization",
tools="",
id="bk-cpu-worker-plot",
width=int(width / 2),
name="cpu_hist",
x_range=(0, None),
**kwargs,

This could be set to 100 which we do in the update:

self.cpu_figure.x_range.end = 100

We also have a None in the Profile plot selector:

self.select = Select(value=self.task_names[-1], options=self.task_names)

I believe the defaults here is `['All', None]

Activity

  1. bryevdv commented on Feb 22, 2021

    @bryevdv
    Contributor

    AFAIK the code above would fail to render initially, but the raised error was not critical, and things "worked" in the sense that a later update to meaningful values later allowed subsequent renders to succeed. We will make some temporary easements to strict nullability now to prevent immediate breakage for Dask users, but it would certainly be good to update these on your end as soon as is practical.

  2. bryevdv commented on Feb 23, 2021

    @bryevdv
    Contributor

    bokeh/bokeh#10935 is merged and part of 2.3.0rc3 which is available via

    conda install -c bokeh/c/dev bokeh=2.3.0rc3
    

    Would be really great if someone on the the dask side could check it out and give a 👍 (we would like to release tomorrow)

    As an aside one reason this was not uncovered earlier is that the downstream test job was replacing the dev package with the latest release by mistake. That has also been resolved (and all unit tests are passing with the dev package)

  3. bryevdv commented on Feb 23, 2021

    @bryevdv
    Contributor

    I followed the steps outlined here: bokeh/bokeh#10935 (comment) and there seems to be one issue, with the task graph, so we will plan to postpone a day until it can be resolved.

  4. changed the title [-]Bokeh RC Updates Break Dashboard[/-] [+]Bokeh RC Updates Breaks Dashboard[/+] on Feb 23, 2021
  5. jakirkham commented on Mar 1, 2021

    @jakirkham
    Member

    This was fixed right?

  6. quasiben commented on Mar 1, 2021

    @quasiben
    MemberAuthor

    Fixed on the bokeh side but I still plan change the xrange and select defaults

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions