neuralib.dashboard.util.ColorBarView

class neuralib.dashboard.util.ColorBarView[source]

Bases: object

__init__(render, key, palette, **kwargs)[source]

Create color map :param render: GlyphRenderer render :param key: key in the ColumnDataSource, which indicates the value changes :param palette:

Parameters:
  • render (GlyphRenderer)

  • key (str)

  • palette (str)

Methods

__init__(render, key, palette, **kwargs)

Create color map :param render: GlyphRenderer render :param key: key in the ColumnDataSource, which indicates the value changes :param palette:

insert(fig)

__init__(render, key, palette, **kwargs)[source]

Create color map :param render: GlyphRenderer render :param key: key in the ColumnDataSource, which indicates the value changes :param palette:

Parameters:
  • render (GlyphRenderer)

  • key (str)

  • palette (str)

insert(fig)[source]
Parameters:

fig (figure)