holoviews: Bokeh plot with tool instances cannot be redisplayed

This notebook illustrates issues like:

  1. Order of multiple hv.notebook_extension matters
  2. Loosing style, size and other information during switching backends
  3. Replotting the same figure within the notebook causes HoverTool error with failure of the figure display
  4. Cannot export holomap as GIF file.

Point number 2 is expected I guess.

Could you please advise?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments

auto-translate options between backends

If you want you can open a separate issue for this, but we have in the past very deliberately decided this is not feasible.

The gif issue is also separate but the answer is that you need to specify gif as the format.

In your example simply specify the format like this:

hmap=hv.HoloMap({k:show_peaks(data,xs,[k],extents) for k in range(75,86)})
rendererDynamicMpl.save(hmap,'hmapDynamicMpl', 'gif')

In future it would be great if you could separate issues into atomic chunks that can be dealt with separately with a code sample to isolate just the particular issue that is described. Issues that describe a bunch of different issues cannot be appropriately prioritized and I’ll end up closing them.