hvplot icon indicating copy to clipboard operation
hvplot copied to clipboard

Add New Gallery Examples

Open Azaya89 opened this issue 6 months ago • 1 comments

closes #1602

Azaya89 avatar Jun 20 '25 18:06 Azaya89

Still a WIP but here's the current implementation with two sub-sections added:

image

Azaya89 avatar Jun 20 '25 18:06 Azaya89

I haven't checked but I thought that one nice goal to achieve with the gallery would be to have at least one example per plotting method. I.e. all the plotting methods referenced on this page https://hvplot.holoviz.org/ref/api/index.html (excluding NetworkX method for now).

maximlt avatar Jul 14 '25 08:07 maximlt

I haven't checked but I thought that one nice goal to achieve with the gallery would be to have at least one example per plotting method. I.e. all the plotting methods referenced on this page https://hvplot.holoviz.org/ref/api/index.html (excluding NetworkX method for now).

Sounds like a good idea.

Azaya89 avatar Jul 14 '25 10:07 Azaya89

The idea being that would be a good place for users to find all the types of plots hvPlot can make, and from these examples they can then easily find their reference API for more information.

maximlt avatar Jul 14 '25 12:07 maximlt

The idea being that would be a good place for users to find all the types of plots hvPlot can make, and from these examples they can then easily find their reference API for more information.

Makes sense. I'll try to add a few more as I can.

Azaya89 avatar Jul 14 '25 16:07 Azaya89

@Azaya89 can you add the list of plotting methods that don't have an example?

maximlt avatar Jul 17 '25 08:07 maximlt

List of plotting methods without an example in the Gallery

Method API reference
errorbars https://hvplot.holoviz.org/ref/api/manual/hvplot.hvPlot.errorbars.html
vectorfield https://hvplot.holoviz.org/ref/api/manual/hvplot.hvPlot.vectorfield.html
parralel_coordinates https://hvplot.holoviz.org/ref/api/manual/hvplot.plotting.parallel_coordinates.html
andrews_curves https://hvplot.holoviz.org/ref/api/manual/hvplot.plotting.andrews_curves.html
rgb https://hvplot.holoviz.org/ref/api/manual/hvplot.hvPlot.rgb.html
contour https://hvplot.holoviz.org/ref/api/manual/hvplot.hvPlot.contour.html
contourf https://hvplot.holoviz.org/ref/api/manual/hvplot.hvPlot.contourf.html

Azaya89 avatar Jul 17 '25 08:07 Azaya89

TODO:

  • [x] Make sure redirect links are OK
  • [x] Add missing examples, see https://github.com/holoviz/hvplot/pull/1603#issuecomment-3083184428
  • [x] Integrate https://github.com/holoviz/hvplot/pull/1614
  • [x] Integrate https://github.com/holoviz/hvplot/pull/1620
  • [x] One example downloads a pretty large dataset (earthquakes), I'd like to skip running it when we run the examples test suite normally as it might be long, but I'd like it to run on scheduled runs.
  • [x] Release nbsite with gallery improvements

maximlt avatar Aug 27 '25 21:08 maximlt