Skip to content

Commit

Permalink
Merge pull request #824 from martindurant/hv_name
Browse files Browse the repository at this point in the history
Don't call out data "x" for hvplot
  • Loading branch information
martindurant committed Jun 18, 2024
2 parents f5b43f6 + 3a39618 commit cdea0c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions intake/readers/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ class ToHvPlot(BaseConverter):
)
func = "hvplot:hvPlot"

def run(self, x, explorer: bool = False, **kw):
def run(self, data, explorer: bool = False, **kw):
"""For tabular data only, pass explorer=True to get an interactive GUI"""
import hvplot

if explorer:
# this is actually a hvplot.ui:hvPlotExplorer and only allows tabular data
return hvplot.explorer(x, **kw)
return hvplot.hvPlot(x, **kw)()
return hvplot.explorer(data, **kw)
return hvplot.hvPlot(data, **kw)()


class RayToPandas(BaseConverter):
Expand Down

0 comments on commit cdea0c9

Please sign in to comment.