ENH: Plotting backend options
Open
Nobody has claimed this yet.
enhancement
topic-plotting
- Dominant language
- Python
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 14
Description
Since pandas has implemented entry_points based plotting backends, it seems reasonable that xarray would do the same. This would make it even easier to produce holoviews plots (rendered in bokeh via hvplot), by using the plot method rather than by importing hvplot directly.
Example
import xarray as xr
air = xr.tutorial.open_dataset('air_temperature').load().air
xr.options.plotting.backend = 'holoviews'
air.isel(time=500).plot()
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading xarray's plotting API and pandas' entry-point based plotting backend implementation. Determine how a configurable plotting backend should dispatch the existing plot method to the proposed holoviews backend, then verify the example produces the requested plot through the plot method.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- backend-api-design, data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100