Skip to content

Add entrypoint for xarray #392

@andersy005

Description

@andersy005

Xarray is in the process of adding entrypoints for plotting backends in pydata/xarray#3640. I took a look at #319 which added entrypoint support for Pandas, and I noticed that .plot method is for Tabular data only:

@with_hv_extension
def plot(data, kind, **kwargs):
# drop reuse_plot

return hvPlotTabular(data)(kind=kind, **no_none_kwargs)

What's the right path to adding the entrypoint for Xarray in hvplot? Should the .plot method in hvplot/plotting/__init__.py be
extended/generalized in order to return instances of hvPlot class instead of hvPlotTabular?

With some guidance, I am happy to submit a PR that addresses this issue 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions