Skip to content

Commit

Permalink
Fixed all flake warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Feb 10, 2016
1 parent d4e59a5 commit 52bfe5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
6 changes: 2 additions & 4 deletions holoviews/plotting/bokeh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
RGB, Histogram, Spread, HeatMap, Contours, Bars,
Box, Bounds, Ellipse, Polygons, BoxWhisker,
ErrorBars, Text, HLine, VLine, Spline, Spikes,
Table, ItemTable, Surface, Scatter3D, Trisurface,
Area, HSV)
Table, ItemTable, Area, HSV)
from ...core.options import Options, Cycle
from ...interface import DFrame
from ..plot import PlotSelector
from ..mpl import SurfacePlot, Scatter3DPlot, TrisurfacePlot

from .annotation import TextPlot, LineAnnotationPlot, SplinePlot
from .callbacks import Callbacks # noqa (API import)
from .element import OverlayPlot, BokehMPLWrapper, BokehMPLRawWrapper
from .element import OverlayPlot, BokehMPLWrapper
from .chart import (PointPlot, CurvePlot, SpreadPlot, ErrorPlot, HistogramPlot,
SideHistogramPlot, BoxPlot, BarPlot, SpikesPlot,
SideSpikesPlot, AreaPlot)
Expand Down
3 changes: 0 additions & 3 deletions holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,6 @@ def _update_plot(self, key, plot, element=None):
Updates plot parameters on every frame
"""
plot.set(**self._plot_properties(key, plot, element))
props = {axis: self._axis_properties(axis, key, plot, element)
for axis in ['x', 'y']}


def update_frame(self, key, ranges=None, plot=None, element=None, empty=False):
self.mplplot.update_frame(key, ranges)
Expand Down
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _plot_figure(self, idx, fig_format='json'):
Returns the figure in html format on the
first call and
"""
state = self.plot.update(idx)
self.plot.update(idx)
if self.embed or fig_format == 'html' or bokeh_lt_011:
return self.renderer.html(self.plot, fig_format)
else:
Expand Down
2 changes: 1 addition & 1 deletion holoviews/plotting/util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import param

from ..core import (HoloMap, DynamicMap, CompositeOverlay, Layout,
GridSpace, NdLayout, Store, NdMapping)
GridSpace, NdLayout, Store)
from ..core.util import (match_spec, is_number, wrap_tuple,
get_overlay_spec, unique_iterator)

Expand Down

0 comments on commit 52bfe5a

Please sign in to comment.