Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bokeh colorbars #861

Merged
merged 21 commits into from
Sep 14, 2016
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
72ca81b
Implemented ColorbarPlot and LegendPlot baseclasses in bokeh
philippjfr Sep 13, 2016
14048bd
Added client side colormapping for PointPlot
philippjfr Sep 13, 2016
3e383f8
Added client side colormapping for SideHistogramPlot
philippjfr Sep 13, 2016
883e185
Added client side colormapping for PolygonPlot
philippjfr Sep 13, 2016
ac35b2f
Added colorbars for RasterPlot
philippjfr Sep 13, 2016
da511ff
Added client-side colormapping for QuadMeshPlot
philippjfr Sep 13, 2016
59b9473
Added client side colormapping for SpikesPlot
philippjfr Sep 13, 2016
84a0dc4
Moved toolbar on top to avoid clashes with colorbar
philippjfr Sep 13, 2016
dee556f
Added client side colormapping for HeatmapPlot
philippjfr Sep 14, 2016
f2884e1
Handled updating of colormapping ranges
philippjfr Sep 14, 2016
8f00b04
Added colorbar border by default
philippjfr Sep 14, 2016
af0b2dd
Made toolbar position customizable
philippjfr Sep 14, 2016
122a3ba
Cleaned up ColorbarPlot and added docstring
philippjfr Sep 14, 2016
b219c23
Defined default colormap
philippjfr Sep 14, 2016
8a83577
Added colormapping unit tests
philippjfr Sep 14, 2016
65c0d21
Added colormapper to update handles of ColorbarPlot
philippjfr Sep 14, 2016
c211f2a
Fixed setting of colorbar border
philippjfr Sep 14, 2016
f520bff
Allowed updating the colormapper palette
philippjfr Sep 14, 2016
c35d6b2
Made colorbar defaults a class attribute
philippjfr Sep 14, 2016
80899e6
Renamed mapper to cmapper
philippjfr Sep 14, 2016
9e2f1b6
Added comment about colormapper instances
philippjfr Sep 14, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,9 @@ def _draw_colorbar(self, plot, color_mapper):
ticker = LogTicker()
else:
ticker = BasicTicker()
cbar_opts = self.colorbar_specs[self.colorbar_position]
cbar_opts = dict(self.colorbar_specs[self.colorbar_position],
bar_line_color='black', label_standoff=8,
major_tick_line_color='black')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Glad there is an option for this...


# Check if there is a colorbar in the same position
pos = cbar_opts['pos']
Expand Down