Skip to content

Commit

Permalink
Added absolute_import for py2 compat (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Oct 12, 2019
1 parent 6c32ef1 commit 3bd2b97
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hvplot/dask.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import absolute_import

def patch(name='hvplot', extension='bokeh', logo=False):
from . import hvPlotTabular, post_patch

Expand Down
2 changes: 2 additions & 0 deletions hvplot/pandas.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import absolute_import

def patch(name='hvplot', extension='bokeh', logo=False):
from . import hvPlotTabular, post_patch

Expand Down
2 changes: 2 additions & 0 deletions hvplot/streamz.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import absolute_import

def patch(name='hvplot', extension='bokeh', logo=False):
from . import hvPlotTabular, post_patch

Expand Down
2 changes: 2 additions & 0 deletions hvplot/xarray.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import absolute_import

def patch(name='hvplot', extension='bokeh', logo=False):
from . import hvPlot, post_patch

Expand Down

0 comments on commit 3bd2b97

Please sign in to comment.