Improve the API of the hvPlotExplorer
See original GitHub issueThere are mostly suggestions that occurred to me while writing the release blog post:
- by providing an easy entry point such as
hvplot.explore(df)
instead of having to instantiate the classhvPlotExplorer
. I wasn’t convinced by the namehvPlotExplorer
either but it’s fine if there’s an easy and short entry point instead. - by providing a way to get a handle on the plot. Should maybe get inspiration from
Interactive
that defines methods to get a handle of the various outputs it offers, such as.widgets()
,.panel()
,.holoviews()
, etc… Here I’d say I expect a.plot()
method at least.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Explorer — hvPlot 0.8.2 documentation
The Explorer has been added to hvPlot in version 0.8.0 , and improved and ... you the possibility to explore both your data...
Read more >Customization — hvPlot 0.8.2 documentation
The hvPlot API is closely modeled on the pandas plot API but also diverges in certain cases, either to improve consistency or to...
Read more >Interactive — hvPlot 0.8.2 documentation
In this user guide we will explore how to use the .interactive API on xarray ... "warn", "ignore"}, default: "raise" What to do...
Read more >interactive — hvPlot 0.8.2 documentation
interactive() is a solution to improve this rather cumbersome workflow, by which you replace the constant parameters in the pipeline by widgets (e.g....
Read more >hvPlot 0.8.2 documentation
hvPlot provides a high-level plotting API built on HoloViews that ... becomes a valid statement while before that it would raise an AttributeError...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes it’s interesting because I think when I read
hvPlotExplorer
I understand that it is to explore data, while in practice I would more likely use that component to edit a plot. In that case I already have an idea of the kind of plot I want to get, it’s just that the.hvplot
API has so many parameters that building a plot from this component makes my life easier.I remember seeing packages that offer a GUI to edit Matplotlib plots. Found one (not sure it’s the one I was looking for) that does that: plt-editor-tool. It has an accompanying user guide in PDF from which I’ve made this screenshot:
The advantage of
Explorer
is that it’s general enough that it can be understood as data explorer and hvPlot’s API explorer. I also quite like, or even prefer,hvPlotEditor
(hvplot.editor(df)
).Yes it will eventually be documented! Here’s how you could start experimenting with it, by running this in a notebook: