Skip to content
Permalink
Browse files

hist methods no longer pass adjoin=False

  • Loading branch information...
Philipp Rudiger Philipp Rudiger
Philipp Rudiger authored and Philipp Rudiger committed Jan 31, 2017
1 parent c563965 commit 144b7e271e90712940399619dacc6ed5daf5c423
Showing with 3 additions and 5 deletions.
  1. +1 −2 holoviews/core/element.py
  2. +2 −3 holoviews/operation/element.py
@@ -39,8 +39,7 @@ def hist(self, dimension=None, num_bins=20, bin_range=None,
hists = []
for d in dimension[::-1]:
hist = histogram(self, num_bins=num_bins, bin_range=bin_range,
adjoin=False, individually=individually,
dimension=d, **kwargs)
individually=individually, dimension=d, **kwargs)
hists.append(hist)
if adjoin:
layout = self
@@ -692,9 +692,8 @@ def _process(self, p, element, ranges={}):
if d1 == d2:
if p.diagonal_type is Histogram:
bin_range = ranges.get(d1.name, element.range(d1))
el = element.hist(dimension=d1.name,
bin_range=bin_range,
adjoin=False)(norm=dict(axiswise=True, framewise=True))
el = histogram(element, dimension=d1.name, bin_range=bin_range)
el = el(norm=dict(axiswise=True, framewise=True))
else:
values = element.dimension_values(d1)
el = p.diagonal_type(values, vdims=[d1])

0 comments on commit 144b7e2

Please sign in to comment.
You can’t perform that action at this time.