Skip to content

Commit

Permalink
Merge pull request #1116 from ioam/gridplot_compatibility
Browse files Browse the repository at this point in the history
Wrap deprecated bokeh GridPlot in try/except
  • Loading branch information
jlstevens committed Feb 10, 2017
2 parents d80788d + b51129a commit 173b049
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions holoviews/plotting/bokeh/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@

import param

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

from ...core import (OrderedDict, CompositeOverlay, Store, Layout, GridMatrix,
Expand All @@ -20,6 +19,8 @@

if bokeh_version >= '0.12':
from bokeh.layouts import gridplot
else:
from bokeh.models import GridPlot as BokehGridPlot


class BokehPlot(DimensionedPlot):
Expand Down

0 comments on commit 173b049

Please sign in to comment.