Skip to content

Commit

Permalink
fix mistake in VectorField angle conversion if invert_axes (#3488)
Browse files Browse the repository at this point in the history
  • Loading branch information
poplarShift authored and philippjfr committed Feb 12, 2019
1 parent cdcb168 commit 62188eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def get_data(self, element, ranges, style):
rads = element.dimension_values(2)
if self.invert_axes:
xidx, yidx = (1, 0)
rads = rads+1.5*np.pi
rads = np.pi/2 - rads
else:
xidx, yidx = (0, 1)
lens = self._get_lengths(element, ranges)/input_scale
Expand Down

0 comments on commit 62188eb

Please sign in to comment.