Skip to content

Commit

Permalink
Replaced deprecated VBox and HBox imports (#1804)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored and jlstevens committed Aug 10, 2017
1 parent 8b6eeac commit 1f892bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions holoviews/plotting/bokeh/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import param

from bokeh.models import (ColumnDataSource, VBox, HBox, Column, Row, Div)
from bokeh.models import (ColumnDataSource, Column, Row, Div)
from bokeh.models.widgets import Panel, Tabs

from ...core import (OrderedDict, CompositeOverlay, Store, GridMatrix,
Expand Down Expand Up @@ -692,9 +692,9 @@ def initialize_plot(self, plots=None, ranges=None):
plots, width = pad_plots(plots)
layout_plot = gridplot(children=plots, width=width)
elif len(plots) == 1 and not adjoined:
layout_plot = VBox(children=[HBox(children=plots[0])])
layout_plot = Column(children=[Row(children=plots[0])])
elif len(plots[0]) == 1:
layout_plot = VBox(children=[p[0] for p in plots])
layout_plot = Column(children=[p[0] for p in plots])
else:
layout_plot = BokehGridPlot(children=plots)

Expand Down

0 comments on commit 1f892bb

Please sign in to comment.